diff options
author | Bartłomiej Piotrowski | 2016-01-25 13:17:38 +0100 |
---|---|---|
committer | Bartłomiej Piotrowski | 2016-01-25 13:17:38 +0100 |
commit | ac78253a06901a68ed8c4d957732d1d337ea911c (patch) | |
tree | 8040b90b768d32615208ba4fd2db24826f0665a9 | |
download | aur-ac78253a06901a68ed8c4d957732d1d337ea911c.tar.gz |
Initial commit
-rw-r--r-- | .SRCINFO | 17 | ||||
-rw-r--r-- | PKGBUILD | 28 |
2 files changed, 45 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..7d78aeab813c --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,17 @@ +# Generated by mksrcinfo v8 +# Mon Jan 25 12:17:31 UTC 2016 +pkgbase = abuild + pkgdesc = Script to build Alpine packages + pkgver = 2.24.0 + pkgrel = 1 + url = http://git.alpinelinux.org/cgit/abuild/ + arch = i686 + arch = x86_64 + license = GPL2 + depends = curl + depends = openssl + source = http://dev.alpinelinux.org/archive/abuild/abuild-2.24.0.tar.xz + md5sums = 7821eea872e86a768d881fecce95e934 + +pkgname = abuild + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..d81148e68042 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,28 @@ +# Maintainer: Bartłomiej Piotrowski <bpiotrowski@archlinux.org> + +pkgname=abuild +pkgver=2.24.0 +pkgrel=1 +pkgdesc='Script to build Alpine packages' +arch=('i686' 'x86_64') +url='http://git.alpinelinux.org/cgit/abuild/' +license=('GPL2') +depends=('curl' 'openssl') +source=(http://dev.alpinelinux.org/archive/abuild/abuild-$pkgver.tar.xz) +md5sums=('7821eea872e86a768d881fecce95e934') + +prepare() { + cd $pkgname-$pkgver + sed -i -e "/^CHOST=/s/=.*/=$CHOST/" abuild.conf +} + +build() { + cd $pkgname-$pkgver + make +} + +package() { + cd $pkgname-$pkgver + make DESTDIR="$pkgdir" install + install -Dm644 abuild.conf "$pkgdir"/etc/abuild.conf +} |