aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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"
+}