diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2019-12-21 00:32:35 +0000 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2019-12-21 00:32:35 +0000 |
commit | 53d65f2558b41eb6e7140565dc30e2dcb44fc017 (patch) | |
tree | a62a317be75fad8b0d0a9a30f1f2605905ede482 /system/execline/APKBUILD | |
parent | d75086acb9d3df6fe2973196e49eef5821dc65cf (diff) | |
download | packages-53d65f2558b41eb6e7140565dc30e2dcb44fc017.tar.gz packages-53d65f2558b41eb6e7140565dc30e2dcb44fc017.tar.bz2 packages-53d65f2558b41eb6e7140565dc30e2dcb44fc017.tar.xz packages-53d65f2558b41eb6e7140565dc30e2dcb44fc017.zip |
system/e*: modernise, fix metadata
Diffstat (limited to 'system/execline/APKBUILD')
-rw-r--r-- | system/execline/APKBUILD | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/system/execline/APKBUILD b/system/execline/APKBUILD index 836b9c392..3e903ee56 100644 --- a/system/execline/APKBUILD +++ b/system/execline/APKBUILD @@ -14,7 +14,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 \ @@ -26,11 +25,9 @@ build() { } package() { - cd "$builddir" make DESTDIR="$pkgdir" install } - libs() { pkgdesc="$pkgdesc (shared libraries)" depends="skalibs-libs>=$_skalibs_version" @@ -42,6 +39,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/" } @@ -57,7 +55,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" |