summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: e49a0c651bbc73c8a923be559882f5f0ce561c70 (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
31
# Maintainer: exkc <exxxxkc@getgoogleoff.me>
# Co-Maintainer: Niki <nik@cock.lu>
_pkgname=ib
pkgname=ib-git
pkgver=0.1.r1.g905836f
pkgrel=1
pkgdesc=""
arch=(x86_64 i686 aarch64 armv7)
url="https://socki.moe"
license=('CC0')
source=("${_pkgname}::git+https://github.com/Nik-Nothing/ibranching.git")
conflicts=("${_pkgname}")
provides=("${_pkgname}")
sha256sums=('SKIP')

pkgver() {
  cd "$_pkgname"
  git describe --long | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}

build() {
  cd "$_pkgname"

  make bootstrap PREFIX=/usr 
}

package() {
  cd "$_pkgname"

  make DESTDIR="$pkgdir/" PREFIX=/usr  install
}