summaryrefslogtreecommitdiffstats
path: root/main/abuild/APKBUILD
blob: 4122b36fd275d838a6736a2edd255cda40d5ce30 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgdesc="Script to build Alpine Packages"
pkgname=abuild
pkgver=1.16
pkgrel=1
url=http://git.alpinelinux.org/cgit/abuild/
source="http://git.alpinelinux.org/cgit/abuild/snapshot/abuild-$pkgver.tar.bz2
	0001-core-abuild-fix-options-order-to-apk-add.patch
	"
depends="fakeroot file sudo pax-utils"
license=GPL-2

build() {
	cd "$srcdir/$pkgname-$pkgver"

	patch -p1 < ../0001-core-abuild-fix-options-order-to-apk-add.patch \
		|| return 1

	make install DESTDIR="$pkgdir"
	install -m 644 abuild.conf "$pkgdir"/etc/abuild.conf
}

md5sums="d6aa9ae0b28491c687f6575a6b219780  abuild-1.16.tar.bz2
13ea88d46143b30d5c4fe261d6e80228  0001-core-abuild-fix-options-order-to-apk-add.patch"