summaryrefslogtreecommitdiff
path: root/system/skalibs
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/skalibs
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/skalibs')
-rw-r--r--system/skalibs/APKBUILD9
1 files changed, 4 insertions, 5 deletions
diff --git a/system/skalibs/APKBUILD b/system/skalibs/APKBUILD
index 0001ff676..2ec93cd17 100644
--- a/system/skalibs/APKBUILD
+++ b/system/skalibs/APKBUILD
@@ -12,7 +12,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 \
@@ -21,14 +20,13 @@ build() {
}
package() {
- cd "$builddir"
make DESTDIR="$pkgdir" install
}
libs() {
pkgdesc="$pkgdesc (shared libraries)"
- depends=
+ depends=""
mkdir -p "$subpkgdir/lib"
mv "$pkgdir"/lib/*.so.* "$subpkgdir/lib/"
}
@@ -36,7 +34,8 @@ libs() {
dev() {
pkgdesc="$pkgdesc (development files)"
- depends=
+ depends=""
+ install_if="dev $pkgname=$pkgver-r$pkgrel"
mkdir -p "$subpkgdir"
mv "$pkgdir/usr" "$subpkgdir/"
}
@@ -52,7 +51,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"