summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorDaniel Nagy2015-06-08 20:36:26 +0200
committerDaniel Nagy2015-06-08 20:36:26 +0200
commitb0ed13e4447baf7bf156567b997fb7c8895e47da (patch)
tree1287f233e58f4edb3396c3655498e13262c0840c /PKGBUILD
downloadaur-b0ed13e4447baf7bf156567b997fb7c8895e47da.tar.gz
import to aur4
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD30
1 files changed, 30 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..d2488d32c94
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,30 @@
+# Maintainer: Daniel Nagy <danielnagy at gmx de>
+
+pkgname=urbit-git
+_gitname=urbit
+pkgver=71085e0
+pkgrel=1
+pkgdesc="An Operating Function"
+url="http://www.urbit.org"
+arch=("i686" "x86_64")
+license=( "public_domain" )
+depends=( "libsigsegv" "termcap" "openssl" )
+source=( $_gitname"::git+https://github.com/urbit/urbit" )
+sha1sums=( 'SKIP' )
+
+pkgver() {
+ cd $srcdir/$_gitname
+ local ver="$(git describe --always)"
+ printf "%s" "${ver//-/.}"
+}
+
+build() {
+ cd "$srcdir/$_gitname"
+ make || true # first time it fails
+ make
+}
+
+package() {
+ cd "$srcdir/$_gitname"
+ make debinstall DESTDIR="$pkgdir"
+}