summaryrefslogtreecommitdiffstats
path: root/main/abuild/APKBUILD
blob: fdbe5d42b9ba89f65b95e039313810f485779f49 (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=2.0
pkgrel=1
url=http://git.alpinelinux.org/cgit/abuild/
source="http://git.alpinelinux.org/cgit/abuild/snapshot/abuild-$pkgver.tar.bz2
	0001-Revert-abuild-minor-cleanup.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-Revert-abuild-minor-cleanup.patch || return 1 

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

md5sums="8c915c2d87e12731a8dbee8241653a32  abuild-2.0.tar.bz2
478fa174e76501b2b37c47f2bc491559  0001-Revert-abuild-minor-cleanup.patch"