summaryrefslogtreecommitdiffstats
path: root/main/abuild/APKBUILD
blob: 49de04f2acdc0d483e80c66fadc29c4d10bd10d1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgdesc="Script to build Alpine Packages"
pkgname=abuild
pkgver=2.0_rc3
pkgrel=1
url=http://git.alpinelinux.org/cgit/abuild/
source="http://git.alpinelinux.org/cgit/abuild/snapshot/abuild-$pkgver.tar.bz2
	dynamic-deps-fix.patch
	"
depends="fakeroot file sudo pax-utils openssl apk-tools"
makedepends="openssl-dev pkgconfig"
license=GPL-2

build() {
	cd "$srcdir/$pkgname-$pkgver"
	patch -p1 < ../dynamic-deps-fix.patch || return 1

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

md5sums="e9ff5f028c69b1cb1e3a6c2fbd6e43a9  abuild-2.0_rc3.tar.bz2
3ab5ff884b5a52a4870df9604e3adef8  dynamic-deps-fix.patch"