diff options
-rw-r--r-- | .SRCINFO | 17 | ||||
-rw-r--r-- | CHANGELOG | 3 | ||||
-rw-r--r-- | PKGBUILD | 44 |
3 files changed, 64 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..0c41585d05bd --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,17 @@ +pkgbase = s6-portable-utils-musl + pkgdesc = Tiny portable generic utilities + pkgver = 1.0.0 + pkgrel = 1 + url = http://www.skarnet.org/software/s6-portable-utils + changelog = CHANGELOG + arch = i686 + arch = x86_64 + license = custom:ISC + makedepends = skalibs + makedepends = musl + provides = s6-portable-utils + source = http://www.skarnet.org/software/s6-portable-utils/s6-portable-utils-1.0.0.tar.gz + md5sums = 64601d936aee7c88ed0e5a8f54e45fd6 + +pkgname = s6-portable-utils-musl + diff --git a/CHANGELOG b/CHANGELOG new file mode 100644 index 000000000000..58b6b816c7a1 --- /dev/null +++ b/CHANGELOG @@ -0,0 +1,3 @@ +2013-03-19 David Arroyo <droyo@aqwari.us> + * 1.0.0-1 : + Initial build diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..814950581a37 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,44 @@ +# Maintainer: David Arroyo <droyo@aqwari.us> +pkgname=s6-portable-utils-musl +pkgver=1.0.0 +pkgrel=1 +pkgdesc="Tiny portable generic utilities" +arch=('i686' 'x86_64') +url="http://www.skarnet.org/software/s6-portable-utils" +license=('custom:ISC') +changelog=CHANGELOG +makedepends=(skalibs musl) +provides=(s6-portable-utils) +source=(${url}/s6-portable-utils-$pkgver.tar.gz) +md5sums=('64601d936aee7c88ed0e5a8f54e45fd6') + +build() { + cd "$srcdir/admin/s6-portable-utils-$pkgver" + echo musl-gcc > conf-compile/conf-cc + echo musl-gcc -static > conf-compile/conf-ld + echo musl-gcc > conf-compile/conf-dynld + echo /usr/bin > conf-compile/conf-install-command + echo /usr/lib/skalibs/sysdeps > conf-compile/import + echo /usr/include/skalibs > conf-compile/path-include + echo /usr/include/execline >>conf-compile/path-include + echo /usr/musl/include >>conf-compile/path-include + echo /usr/lib/skalibs > conf-compile/path-library + echo /usr/lib/execline >>conf-compile/path-library + echo /usr/musl/lib >>conf-compile/path-library + rm -f conf-compile/flag-slashpackage + package/compile +} + +package() { + cd "$srcdir/admin/s6-portable-utils-$pkgver" + for i in package/*.exported + do + case `basename $i` in + command.exported) d=/usr/bin ;; + esac + f=`basename $i|sed 's/.exported//'` + mkdir -p "$pkgdir/$d" + install -D `sed s,^,$f/, $i` "$pkgdir/$d" + done + install -D -m644 package/COPYING "$pkgdir/usr/share/licenses/${pkgname}/LICENSE" +} |