49 lines
1.3 KiB
Bash
49 lines
1.3 KiB
Bash
# Maintainer: Eric Vidal <eric@obarun.org>
|
|
|
|
pkgname=s6-rc
|
|
pkgver=0.5.2.3
|
|
pkgrel=1
|
|
pkgdesc="A dependency-based init script management system"
|
|
arch=(x86_64)
|
|
url="http://skarnet.org/software/${pkgname}/"
|
|
license=('ISC')
|
|
#install=s6-rc.install
|
|
depends=('git' 'skalibs>=2.11.0.0' 'execline>=2.8.1.0' 's6>=2.11.0.0')
|
|
depends=('skalibs>=2.11.0.0' 'execline>=2.8.1.0' 's6>=2.11.0.0')
|
|
groups=('base' 's6-suite')
|
|
source=("$pkgname::git+git://git.skarnet.org/s6-rc#tag=v${pkgver}")
|
|
#_commit=f01bb649f33d9005e30ec2e82fef05f25b9a8dff # tag 0.3.0.1
|
|
#source=("$pkgname::git+git://git.skarnet.org/s6-rc#commit=$_commit")
|
|
sha256sums=('SKIP')
|
|
|
|
#pkgver() {
|
|
# cd $pkgbase
|
|
# 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 \
|
|
--with-lib=/usr/lib/execline \
|
|
--with-lib=/usr/lib/s6
|
|
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"
|
|
}
|
|
|
|
# vim:ft=sh ts=2 sw=2 et:
|