summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Straube2017-04-04 17:40:49 +0200
committerMichael Straube2017-04-04 17:40:49 +0200
commit9b69d4b61c8f0d0b2bd1e51be2e242f609f6bc82 (patch)
treef438942ee4d3df9a21e411925ecadbf5ee725d14
parentb0ed13e4447baf7bf156567b997fb7c8895e47da (diff)
downloadaur-9b69d4b61c8f0d0b2bd1e51be2e242f609f6bc82.tar.gz
Update PKGBUILD
-rw-r--r--.SRCINFO18
-rw-r--r--PKGBUILD30
2 files changed, 29 insertions, 19 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 6cf6b9eba39..d174dc5c1de 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,15 +1,23 @@
pkgbase = urbit-git
pkgdesc = An Operating Function
- pkgver = 71085e0
+ pkgver = 0.4.r100.g83d0f8871
pkgrel = 1
url = http://www.urbit.org
arch = i686
arch = x86_64
- license = public_domain
+ license = MIT
+ makedepends = git
+ makedepends = cmake
+ makedepends = python
+ makedepends = ragel
+ makedepends = re2c
depends = libsigsegv
- depends = termcap
- depends = openssl
- source = urbit::git+https://github.com/urbit/urbit
+ depends = libuv
+ depends = curl
+ provides = urbit
+ conflicts = urbit
+ options = !makeflags
+ source = git+https://github.com/urbit/urbit.git
sha1sums = SKIP
pkgname = urbit-git
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
}