From db78f87a0f47ba0362c30e510c3bc585bacfaf8b Mon Sep 17 00:00:00 2001 From: Zach van Rijn Date: Thu, 28 Apr 2022 20:49:46 +0000 Subject: system/popt: not at revision 8. install pkgconfig file too. --- system/popt/APKBUILD | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'system') 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 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" -- cgit v1.2.3-70-g09d2