summaryrefslogtreecommitdiff
path: root/system/popt/APKBUILD
diff options
context:
space:
mode:
authorZach van Rijn <me@zv.io>2022-04-28 20:49:46 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2022-05-01 17:06:42 -0500
commitdb78f87a0f47ba0362c30e510c3bc585bacfaf8b (patch)
tree11293ffced56c261cf2f0d21677777cffcfd915b /system/popt/APKBUILD
parent2b59d7eb8021637fe3caa8ab416be9d9dd36e76f (diff)
downloadpackages-db78f87a0f47ba0362c30e510c3bc585bacfaf8b.tar.gz
packages-db78f87a0f47ba0362c30e510c3bc585bacfaf8b.tar.bz2
packages-db78f87a0f47ba0362c30e510c3bc585bacfaf8b.tar.xz
packages-db78f87a0f47ba0362c30e510c3bc585bacfaf8b.zip
system/popt: not at revision 8. install pkgconfig file too.
Diffstat (limited to 'system/popt/APKBUILD')
-rw-r--r--system/popt/APKBUILD12
1 files changed, 7 insertions, 5 deletions
diff --git a/system/popt/APKBUILD b/system/popt/APKBUILD
index e24a7913b..80e18f44d 100644
--- a/system/popt/APKBUILD
+++ b/system/popt/APKBUILD
@@ -2,15 +2,13 @@
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=popt
pkgver=1.18
-pkgrel=8
+pkgrel=0
pkgdesc="Command-line option parser"
-url="http://ftp.rpm.org/mirror/popt/README"
+url="https://github.com/rpm-software-management/popt"
arch="all"
license="X11"
-depends=""
-makedepends=""
-source="http://ftp.rpm.org/$pkgname/releases/$pkgname-1.x/$pkgname-$pkgver.tar.gz"
subpackages="$pkgname-doc $pkgname-dev $pkgname-lang"
+source="http://ftp.rpm.org/$pkgname/releases/$pkgname-${pkgver%.*}.x/$pkgname-$pkgver.tar.gz"
build() {
./configure \
@@ -28,6 +26,10 @@ check() {
package() {
make DESTDIR="$pkgdir" install
+ install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
+
+ mkdir -p "$pkgdir"/usr/lib
+ mv "$pkgdir"/lib/pkgconfig "$pkgdir"/usr/lib
}
sha512sums="86422e8762adda3d02d46c20ac74ffe389d4f991d552b6fea729f007345b6426cbeb71160284e2deaa2ce44ce754a9e6cf6ccbd64bff9bc2253df40cdc2f79a5 popt-1.18.tar.gz"