summaryrefslogtreecommitdiff
path: root/system/s6-rc
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2019-12-21 01:20:54 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2019-12-21 01:20:54 +0000
commit0bde1639103fa9dab748dc0bfc7d483c652e96a7 (patch)
tree6c069dcce082b1e93d14e12d8c00b835065ee368 /system/s6-rc
parent8dd6cd1e8ed01b08a6328e1c842c645cda9ec532 (diff)
downloadpackages-0bde1639103fa9dab748dc0bfc7d483c652e96a7.tar.gz
packages-0bde1639103fa9dab748dc0bfc7d483c652e96a7.tar.bz2
packages-0bde1639103fa9dab748dc0bfc7d483c652e96a7.tar.xz
packages-0bde1639103fa9dab748dc0bfc7d483c652e96a7.zip
system/s*: modernise, fix metadata
Diffstat (limited to 'system/s6-rc')
-rw-r--r--system/s6-rc/APKBUILD5
1 files changed, 2 insertions, 3 deletions
diff --git a/system/s6-rc/APKBUILD b/system/s6-rc/APKBUILD
index 68a3fd70f..f857861e5 100644
--- a/system/s6-rc/APKBUILD
+++ b/system/s6-rc/APKBUILD
@@ -16,7 +16,6 @@ subpackages="$pkgname-libs $pkgname-dev $pkgname-libs-dev:libsdev $pkgname-doc"
source="https://skarnet.org/software/$pkgname/$pkgname-$pkgver.tar.gz"
build() {
- cd "$builddir"
./configure \
--enable-shared \
--enable-static \
@@ -29,7 +28,6 @@ build() {
}
package() {
- cd "$builddir"
make DESTDIR="$pkgdir" install
}
@@ -45,6 +43,7 @@ libs() {
dev() {
pkgdesc="$pkgdesc (development files)"
depends="skalibs-dev>=$_skalibs_version s6-dev>=$_s6_version"
+ install_if="dev $pkgname=$pkgver-r$pkgrel"
mkdir -p "$subpkgdir/usr/include" "$subpkgdir/usr/lib"
mv "$pkgdir/usr/include" "$subpkgdir/usr/"
mv "$pkgdir"/usr/lib/*.a "$subpkgdir/usr/lib/"
@@ -61,7 +60,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"