summaryrefslogtreecommitdiff
path: root/system/s6
diff options
context:
space:
mode:
Diffstat (limited to 'system/s6')
-rw-r--r--system/s6/APKBUILD5
1 files changed, 2 insertions, 3 deletions
diff --git a/system/s6/APKBUILD b/system/s6/APKBUILD
index 4ab995b4b..e4acf50ef 100644
--- a/system/s6/APKBUILD
+++ b/system/s6/APKBUILD
@@ -17,7 +17,6 @@ triggers="$pkgname.trigger=/run/service"
source="https://skarnet.org/software/$pkgname/$pkgname-$pkgver.tar.gz"
build() {
- cd "$builddir"
./configure \
--enable-shared \
--enable-static \
@@ -30,7 +29,6 @@ build() {
}
package() {
- cd "$builddir"
make DESTDIR="$pkgdir" install
mkdir -p -m 0755 "$pkgdir/var/lib/s6/services"
}
@@ -47,6 +45,7 @@ libs() {
dev() {
pkgdesc="$pkgdesc (development files)"
depends="skalibs-dev>=$_skalibs_version"
+ install_if="dev $pkgname=$pkgver-r$pkgrel"
mkdir -p "$subpkgdir/usr"
mv "$pkgdir/usr/lib" "$pkgdir/usr/include" "$subpkgdir/usr/"
}
@@ -62,7 +61,7 @@ libsdev() {
doc() {
pkgdesc="$pkgdesc (documentation)"
- depends=
+ depends=""
install_if="docs $pkgname=$pkgver-r$pkgrel"
mkdir -p "$subpkgdir/usr/share/doc"
cp -a "$builddir/doc" "$subpkgdir/usr/share/doc/$pkgname"