60 lines
1.7 KiB
Bash
60 lines
1.7 KiB
Bash
#!/usr/bin/bash
|
|
# JOBoRun : Jwm OpenBox Obarun RUNit
|
|
# Maintainer : Joe Bo Run <joborun@disroot.org>
|
|
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobcore/sharnet/$pkgname"
|
|
# Website : https://pozol.eu
|
|
#-----------------------------------------| DESCRIPTION |---------------------------------------
|
|
|
|
pkgname=s6-portable-utils
|
|
_pkgver=v2.3.0.2
|
|
pkgver=2.3.0.2
|
|
pkgrel=01
|
|
pkgdesc="A set of tiny general Unix utilities"
|
|
url="http://skarnet.org/software/${pkgname}/"
|
|
depends=('git' 'skalibs>=2.13.1.1')
|
|
depends=('skalibs>=2.13.1.1')
|
|
groups=(s6-suite)
|
|
#_commit=cfb15f58292c012090b12c2a73a6454ec88ec915 refs/tags/v2.2.5.1
|
|
#source=("$pkgname::git+git://git.skarnet.org/s6-portable-utils#commit=$_commit")
|
|
source=("$pkgname::git+git://git.skarnet.org/s6-portable-utils#tag=${_pkgver}")
|
|
|
|
_pkgver() {
|
|
cd $pkgname
|
|
git describe --tags | sed 's/-/+/g'
|
|
}
|
|
|
|
build() {
|
|
cd ${srcdir}/${pkgname}
|
|
./configure --prefix=/usr \
|
|
--bindir=/usr/bin \
|
|
--sbindir=/usr/bin \
|
|
--datadir=/etc \
|
|
--disable-shared \
|
|
--with-lib=/usr/lib/skalibs
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd ${srcdir}/${pkgname}
|
|
|
|
DESTDIR=${pkgdir} make install
|
|
|
|
# add doc
|
|
install -dm 0755 $pkgdir/usr/share/doc/$pkgname/
|
|
cp -R doc/* $pkgdir/usr/share/doc/$pkgname/
|
|
|
|
install -D -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
|
|
ln -sf /usr/bin/eltest $pkgdir/usr/bin/s6-test
|
|
}
|
|
|
|
#---- arch license gpg-key & sha256sums ----
|
|
|
|
arch=(x86_64)
|
|
|
|
license=(ISC)
|
|
|
|
sha256sums=(SKIP)
|
|
|
|
#sudo sed -i 's/s6-test/test/' /usr/lib/66/module/boot@/service/system/system-fsck
|
|
|
|
## 0e221af16be962eb9e55863bd6b4d5d6fa4740b970231cca74b27f54e85381b1 s6-portable-utils-2.3.0.2-01-x86_64.pkg.tar.lz
|