summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorMichael Straube2017-04-04 17:40:49 +0200
committerMichael Straube2017-04-04 17:40:49 +0200
commit9b69d4b61c8f0d0b2bd1e51be2e242f609f6bc82 (patch)
treef438942ee4d3df9a21e411925ecadbf5ee725d14 /PKGBUILD
parentb0ed13e4447baf7bf156567b997fb7c8895e47da (diff)
downloadaur-9b69d4b61c8f0d0b2bd1e51be2e242f609f6bc82.tar.gz
Update PKGBUILD
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD30
1 files changed, 16 insertions, 14 deletions
diff --git a/PKGBUILD b/PKGBUILD
index d2488d32c94..8cf125cc303 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,30 +1,32 @@
# Maintainer: Daniel Nagy <danielnagy at gmx de>
pkgname=urbit-git
-_gitname=urbit
-pkgver=71085e0
+pkgver=0.4.r100.g83d0f8871
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' )
+arch=('i686' 'x86_64')
+license=('MIT')
+depends=('libsigsegv' 'libuv' 'curl')
+makedepends=('git' 'cmake' 'python' 'ragel' 're2c')
+conflicts=('urbit')
+provides=('urbit')
+options=('!makeflags')
+source=('git+https://github.com/urbit/urbit.git')
+sha1sums=('SKIP')
pkgver() {
- cd $srcdir/$_gitname
- local ver="$(git describe --always)"
- printf "%s" "${ver//-/.}"
+ cd ${pkgname/-git}
+ git describe --long | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
- cd "$srcdir/$_gitname"
- make || true # first time it fails
+ cd ${pkgname/-git}
make
}
package() {
- cd "$srcdir/$_gitname"
- make debinstall DESTDIR="$pkgdir"
+ cd ${pkgname/-git}
+ install -Dm755 bin/urbit "$pkgdir"/usr/bin/urbit
+ install -Dm644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
}