47 lines
1.1 KiB
Bash
47 lines
1.1 KiB
Bash
# Maintainer: Eric Vidal <eric@obarun.org>
|
|
|
|
pkgname=s6-portable-utils
|
|
pkgver=2.2.3.3
|
|
pkgrel=1
|
|
pkgdesc="A set of tiny general Unix utilities"
|
|
arch=(x86_64)
|
|
url="http://skarnet.org/software/${pkgname}/"
|
|
license=('ISC')
|
|
depends=('git' 'skalibs>=2.11.0.0')
|
|
depends=('skalibs>=2.11.0.0')
|
|
groups=(s6-suite)
|
|
#_commit=8e32ad68593aeb3c9ffd664aabc421d2eddc0467 # tag 2.2.1.1
|
|
#source=("$pkgname::git+git://git.skarnet.org/s6-portable-utils#commit=$_commit")
|
|
source=("$pkgname::git+git://git.skarnet.org/s6-portable-utils#tag=v${pkgver}")
|
|
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
|
|
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:
|