diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2019-12-21 01:20:54 +0000 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2019-12-21 01:20:54 +0000 |
commit | 0bde1639103fa9dab748dc0bfc7d483c652e96a7 (patch) | |
tree | 6c069dcce082b1e93d14e12d8c00b835065ee368 /system/s6-linux-init/APKBUILD | |
parent | 8dd6cd1e8ed01b08a6328e1c842c645cda9ec532 (diff) | |
download | packages-0bde1639103fa9dab748dc0bfc7d483c652e96a7.tar.gz packages-0bde1639103fa9dab748dc0bfc7d483c652e96a7.tar.bz2 packages-0bde1639103fa9dab748dc0bfc7d483c652e96a7.tar.xz packages-0bde1639103fa9dab748dc0bfc7d483c652e96a7.zip |
system/s*: modernise, fix metadata
Diffstat (limited to 'system/s6-linux-init/APKBUILD')
-rw-r--r-- | system/s6-linux-init/APKBUILD | 5 |
1 files changed, 2 insertions, 3 deletions
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" |