diff options
author | Jordan Wilberding <[email protected]> | 2013-08-08 07:29:27 -0400 |
---|---|---|
committer | Jordan Wilberding <[email protected]> | 2013-08-08 07:31:26 -0400 |
commit | 2b14e9aac96856d1bb3221b10a3865a0c729a314 (patch) | |
tree | 78c6400641aefbd0d7504f2f07256a3befaea894 | |
parent | 552ce1d5e76a9064881595353cf51460917323fb (diff) | |
download | relx-2b14e9aac96856d1bb3221b10a3865a0c729a314.tar.gz relx-2b14e9aac96856d1bb3221b10a3865a0c729a314.tar.bz2 relx-2b14e9aac96856d1bb3221b10a3865a0c729a314.zip |
Add ArchLinux package build file issue #6
-rw-r--r-- | PKGBUILD | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000..ad622e8 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,26 @@ +# Maintainer: Aaron France <[email protected] + +pkgname=relx +pkgrel=1 +pkgver=1 +pkgdesc="Sane, simple release creation for Erlang" +arch=(i686 x86_64) +license=('Apache') +url="https://github.com/erlware/relx" +depends=('erlang' 'rebar-git') +provides=("relx") +source=('git://github.com/erlware/relx.git') +makedepdends=('git') +md5sums=('SKIP') + +_gitname='relx' + +build() { + cd "${srcdir}/${_gitname}" + make +} + +package() { + cd "${srcdir}/${_gitname}" + install -Dm755 relx "$pkgdir/usr/bin/relx" +} |