From 0bde1639103fa9dab748dc0bfc7d483c652e96a7 Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Sat, 21 Dec 2019 01:20:54 +0000 Subject: system/s*: modernise, fix metadata --- system/s6-linux-init/APKBUILD | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'system/s6-linux-init/APKBUILD') diff --git a/system/s6-linux-init/APKBUILD b/system/s6-linux-init/APKBUILD index 93b63a981..58415752b 100644 --- a/system/s6-linux-init/APKBUILD +++ b/system/s6-linux-init/APKBUILD @@ -17,7 +17,6 @@ install="$pkgname.post-install $pkgname.post-upgrade $pkgname.pre-deinstall" provides="/sbin/init=0" build() { - cd "$builddir" ./configure \ --enable-shared \ --enable-static \ @@ -31,7 +30,6 @@ build() { } package() { - cd "$builddir" make DESTDIR="$pkgdir" install for i in rc.init runlevel rc.shutdown ; do @@ -99,6 +97,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/" } @@ -114,7 +113,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" -- cgit v1.2.3-70-g09d2