summaryrefslogtreecommitdiff
path: root/system/s6/APKBUILD
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/APKBUILD
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/APKBUILD')
-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"