summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: d2488d32c94231aa186c56805a55a5a7b5b56af3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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"
}