aboutsummaryrefslogtreecommitdiffstats
path: root/main/abuild/APKBUILD
blob: 108bab1ddfe9612294b5e589c9e373d132a3ada4 (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_rc8
pkgrel=1
url=http://git.alpinelinux.org/cgit/abuild/
source="http://git.alpinelinux.org/cgit/abuild/snapshot/abuild-$pkgver.tar.bz2
	0001-abuild-strip-versions-from-dependencies-when-buildin.patch
	"
depends="fakeroot file sudo pax-utils openssl apk-tools"
makedepends="openssl-dev pkgconfig"
license=GPL-2

build() {
	cd "$srcdir/$pkgname-$pkgver"
	patch -p1 -i ../0001-abuild-strip-versions-from-dependencies-when-buildin.patch || return 1

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

md5sums="869b37120781d7295a5fdea783086d8b  abuild-2.0_rc8.tar.bz2
60d2a6c0b7b3a33ed4adf3c7154e5c01  0001-abuild-strip-versions-from-dependencies-when-buildin.patch"