APKBUILD 563 Bytes
Newer Older
Natanael Copa's avatar
Natanael Copa committed
1
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
Natanael Copa's avatar
Natanael Copa committed
2 3
pkgdesc="Script to build Alpine Packages"
pkgname=abuild
Natanael Copa's avatar
Natanael Copa committed
4
pkgver=2.1
Natanael Copa's avatar
Natanael Copa committed
5
pkgrel=0
Natanael Copa's avatar
Natanael Copa committed
6 7
url=http://git.alpinelinux.org/cgit/abuild/
source="http://git.alpinelinux.org/cgit/abuild/snapshot/abuild-$pkgver.tar.bz2
8
	"
9
depends="fakeroot file sudo pax-utils openssl apk-tools"
Natanael Copa's avatar
Natanael Copa committed
10
makedepends="openssl-dev pkgconfig"
Natanael Copa's avatar
Natanael Copa committed
11 12 13
license=GPL-2

build() {
Natanael Copa's avatar
Natanael Copa committed
14
	cd "$srcdir/$pkgname-$pkgver"
Natanael Copa's avatar
Natanael Copa committed
15

Natanael Copa's avatar
Natanael Copa committed
16
	make
Natanael Copa's avatar
Natanael Copa committed
17
	make install DESTDIR="$pkgdir"
18
	install -m 644 abuild.conf "$pkgdir"/etc/abuild.conf
Natanael Copa's avatar
Natanael Copa committed
19
}
20

Natanael Copa's avatar
Natanael Copa committed
21
md5sums="2268fa6147c8088139ef136184cd2ae0  abuild-2.1.tar.bz2"