aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Merritt <[email protected]>2013-08-11 11:57:46 -0700
committerEric Merritt <[email protected]>2013-08-11 11:57:46 -0700
commiteb6a468640f8e417ab97f05400ee25b78b9480f1 (patch)
tree74cad047ee95392c5b10f102764c2e08becc06ff
parent94fb72eff6ea7a6fe267be8ec1541219b6b854b0 (diff)
parent2b14e9aac96856d1bb3221b10a3865a0c729a314 (diff)
downloadrelx-eb6a468640f8e417ab97f05400ee25b78b9480f1.tar.gz
relx-eb6a468640f8e417ab97f05400ee25b78b9480f1.tar.bz2
relx-eb6a468640f8e417ab97f05400ee25b78b9480f1.zip
Merge pull request #20 from jwilberding/pkgbuild
Add ArchLinux package build file issue #6
-rw-r--r--PKGBUILD26
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"
+}