57 lines
1.5 KiB
Bash
57 lines
1.5 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/jobextra/$pkgname"
|
|
# Website : https://pozol.eu
|
|
#-----------------------------------------| DESCRIPTION |---------------------------------------
|
|
|
|
pkgname=s6-linux-utils
|
|
pkgdesc="A set of tiny Linux-specific utilities"
|
|
_pkgver=v2.6.1.2
|
|
pkgver=2.6.1.2
|
|
pkgrel=01
|
|
url="http://skarnet.org/software/${pkgname}/"
|
|
depends=('skalibs>=2.13.1.1')
|
|
makedepends=(git 'skalibs>=2.13.1.1')
|
|
groups=('s6-suite')
|
|
# commit=2d46f7275ca14573f018d4951de595c3188de48d # refs/tags/v2.6.0.1
|
|
source=("$pkgname::git+git://git.skarnet.org/s6-linux-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"
|
|
|
|
}
|
|
|
|
#---- arch license gpg-key & sha256sums ----
|
|
|
|
arch=(x86_64)
|
|
|
|
license=(ISC)
|
|
|
|
sha256sums=(SKIP)
|
|
|
|
## ded98ac99e70563cf28ea5c4b3a9a8df58c1fa17ba39cf3dd122edf0b75e9226 s6-linux-utils-2.6.1.2-01-x86_64.pkg.tar.lz
|