add xbps
This commit is contained in:
parent
7928c420ce
commit
167cf0dcb8
|
@ -0,0 +1,54 @@
|
||||||
|
#!/usr/bin/bash
|
||||||
|
# JOBoRun : Jwm OpenBox Obarun RUNit
|
||||||
|
# Maintainer : Joe Bo Run <joborun@disroot.org>
|
||||||
|
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobextra/$pkgname"
|
||||||
|
# Website : https://pozol.eu
|
||||||
|
#-----------------------------------------| DESCRIPTION |---------------------------------------
|
||||||
|
|
||||||
|
pkgname=xbps
|
||||||
|
_pkgname=xbps-git
|
||||||
|
# pkgver=0.59.1.r191.ga1a0167d
|
||||||
|
pkgver=0.59.1
|
||||||
|
pkgrel=02
|
||||||
|
pkgdesc="(Void Linux's) The X Binary Package System - install void from Joborun or Obarun or Arch"
|
||||||
|
## https://docs.voidlinux.org/installation/guides/chroot.html ##
|
||||||
|
## very much like installing arch based systems with pacman ##
|
||||||
|
arch=('i686' 'x86_64')
|
||||||
|
url="https://github.com/void-linux/xbps"
|
||||||
|
depends=('ca-certificates' 'libarchive')
|
||||||
|
makedepends=('zlib' 'openssl' 'git')
|
||||||
|
replaces=(xbps-git)
|
||||||
|
_commit=a1a0167d8027d0360d8988d69616d0c8e1b2be9e # refs/heads/master
|
||||||
|
#source=("$_pkgname::git+https://github.com/void-linux/xbps.git")
|
||||||
|
source=("$_pkgname::git+https://github.com/void-linux/xbps.git#commit=$_commit")
|
||||||
|
|
||||||
|
#pkgver() {
|
||||||
|
# cd "$srcdir/$_pkgname"
|
||||||
|
# git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
|
||||||
|
#}
|
||||||
|
|
||||||
|
prepare() {
|
||||||
|
cd "$srcdir/$_pkgname"
|
||||||
|
export PKG_CONFIG_PATH=/usr/lib/openssl-1.0/pkgconfig
|
||||||
|
./configure --prefix=/usr --sysconfdir=/etc
|
||||||
|
sed -i '/-Werror/d' config.mk
|
||||||
|
}
|
||||||
|
|
||||||
|
build() {
|
||||||
|
cd "$srcdir/$_pkgname"
|
||||||
|
make
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
cd "$srcdir/$_pkgname"
|
||||||
|
make DESTDIR="$pkgdir/" install
|
||||||
|
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
|
||||||
|
install -Dm644 LICENSE.3RDPARTY "$pkgdir/usr/share/licenses/$pkgname/LICENSE.3RDPARTY"
|
||||||
|
}
|
||||||
|
|
||||||
|
#---- license gpg-key sha256sums ----
|
||||||
|
|
||||||
|
license=('custom:2-clause-BSD')
|
||||||
|
|
||||||
|
sha256sums=(SKIP)
|
||||||
|
|
|
@ -0,0 +1,38 @@
|
||||||
|
# Contributor: thomas berryhill (oats) thomasberryhill@protonmail.ch
|
||||||
|
# Maintainer: aksr <aksr at t-com dot me>
|
||||||
|
pkgname=xbps-git
|
||||||
|
pkgver=0.51.r379.g59dffd76
|
||||||
|
pkgrel=1
|
||||||
|
pkgdesc="(Void Linux's) The X Binary Package System"
|
||||||
|
arch=('i686' 'x86_64')
|
||||||
|
url="https://github.com/void-linux/xbps"
|
||||||
|
license=('custom:2-clause-BSD')
|
||||||
|
depends=('ca-certificates' 'libarchive')
|
||||||
|
makedepends=('zlib' 'openssl' 'git')
|
||||||
|
source=("$pkgname::git+https://github.com/void-linux/xbps.git")
|
||||||
|
md5sums=('SKIP')
|
||||||
|
|
||||||
|
pkgver() {
|
||||||
|
cd "$srcdir/$pkgname"
|
||||||
|
git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
|
||||||
|
}
|
||||||
|
|
||||||
|
prepare() {
|
||||||
|
cd "$srcdir/$pkgname"
|
||||||
|
export PKG_CONFIG_PATH=/usr/lib/openssl-1.0/pkgconfig
|
||||||
|
./configure --prefix=/usr --sysconfdir=/etc
|
||||||
|
sed -i '/-Werror/d' config.mk
|
||||||
|
}
|
||||||
|
|
||||||
|
build() {
|
||||||
|
cd "$srcdir/$pkgname"
|
||||||
|
make
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
cd "$srcdir/$pkgname"
|
||||||
|
make DESTDIR="$pkgdir/" install
|
||||||
|
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
|
||||||
|
install -Dm644 LICENSE.3RDPARTY "$pkgdir/usr/share/licenses/$pkgname/LICENSE.3RDPARTY"
|
||||||
|
}
|
||||||
|
|
|
@ -0,0 +1,33 @@
|
||||||
|
# Maintainer: Eli Schwartz <eschwartz@archlinux.org>
|
||||||
|
|
||||||
|
# All my PKGBUILDs are managed at https://github.com/eli-schwartz/pkgbuilds
|
||||||
|
|
||||||
|
pkgname=xbps
|
||||||
|
pkgver=0.59.1
|
||||||
|
pkgrel=1
|
||||||
|
pkgdesc="The X Binary Package System from Void Linux. Don't use it instead of Arch's 'pacman'."
|
||||||
|
arch=('i686' 'x86_64')
|
||||||
|
url="https://github.com/void-linux/xbps"
|
||||||
|
license=('BSD')
|
||||||
|
depends=('ca-certificates' 'libarchive' 'openssl')
|
||||||
|
source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/${pkgver}.tar.gz")
|
||||||
|
sha256sums=('0cbd8d5f23a62047c75974bca21da9f004a94efffd7f37c68562a8dbc869fb2a')
|
||||||
|
|
||||||
|
build() {
|
||||||
|
cd "${srcdir}"/${pkgname}-${pkgver}
|
||||||
|
|
||||||
|
./configure \
|
||||||
|
--prefix=/usr \
|
||||||
|
--sysconfdir=/etc
|
||||||
|
|
||||||
|
sed -i '/-Werror/d' config.mk
|
||||||
|
make
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
cd "${srcdir}"/${pkgname}-${pkgver}
|
||||||
|
|
||||||
|
make DESTDIR="${pkgdir}" install
|
||||||
|
install -Dm644 LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
|
||||||
|
install -Dm644 LICENSE.3RDPARTY "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE.3RDPARTY
|
||||||
|
}
|
|
@ -0,0 +1 @@
|
||||||
|
rm -rf {src,pkg,xbps-git}
|
Loading…
Reference in New Issue