From d83763c892fe347b0784839e5a4d0197ea773f33 Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Fri, 20 Dec 2019 23:47:13 +0000 Subject: system/abuild: support dev and symbols metapackages --- system/abuild/APKBUILD | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) (limited to 'system/abuild/APKBUILD') diff --git a/system/abuild/APKBUILD b/system/abuild/APKBUILD index 30428a27c..cb6cb9ba9 100644 --- a/system/abuild/APKBUILD +++ b/system/abuild/APKBUILD @@ -1,10 +1,11 @@ # Maintainer: A. Wilcox pkgname=abuild pkgver=3.3.1 -pkgrel=2 +pkgrel=3 pkgdesc="Script to build APK packages" url="https://code.foxkit.us/adelie/abuild" arch="all" +options="suid !check" license="GPL-2.0-only" depends="fakeroot sudo pax-utils openssl apk-tools>=2.0.7-r1 libc-utils attr libarchive-tools pkgconf patch lzip" @@ -16,10 +17,10 @@ makedepends_host="openssl-dev zlib-dev" makedepends="$makedepends_host $makedepends_build" install="$pkgname.pre-install $pkgname.pre-upgrade" subpackages="abuild-rootbld:_rootbld:noarch $pkgname-doc" -options="suid !check" pkggroups="abuild" source="https://distfiles.adelielinux.org/source/abuild-$pkgver+adelie.tar.xz keyhole.patch + auto-dev-symbols.patch " builddir="$srcdir/$pkgname-$pkgver+adelie" @@ -30,18 +31,14 @@ builddir="$srcdir/$pkgname-$pkgver+adelie" prepare() { default_prepare - cd "$builddir" sed -i -e "/^CHOST=/s/=.*/=$CHOST/" abuild.conf } build() { - cd "$builddir" make VERSION="$pkgver-r$pkgrel" } package() { - cd "$builddir" - make install VERSION="$pkgver-r$pkgrel" DESTDIR="$pkgdir" install -m 644 abuild.conf "$pkgdir"/etc/abuild.conf @@ -60,4 +57,5 @@ _rootbld() { } sha512sums="c358f84d198527eeeac1a1aacc101174e18f9f34f692b12a4e4deb6b32d5f3ebdc703c90de6a6f81f195a81eebb90a11f9bfea13ef5db531d9b5d5ae6ecd6a66 abuild-3.3.1+adelie.tar.xz -757d750d4b5c88bf00774b64f2b93a9461e03f284d9423dc58c581e1309f276628de3114fcb510afd7c3cd55ceb721c1278e42756977c97ebe2597207805318d keyhole.patch" +757d750d4b5c88bf00774b64f2b93a9461e03f284d9423dc58c581e1309f276628de3114fcb510afd7c3cd55ceb721c1278e42756977c97ebe2597207805318d keyhole.patch +2aa43539fc465f5abdc7c3d994363b80d1f7494c2d659093e5a2c45056e07617506ad8ea98f0e7d4ebe2596802b76605cd7c9f3ffc5a30c488c30bb36248e3d2 auto-dev-symbols.patch" -- cgit v1.2.3-70-g09d2