summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: ec790e27946363af63126300da1d051d8c7ba25f (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
pkgname=treeleaves-git
pkgver=0.3.1
pkgrel=1
arch=('any')
pkgdesc='' 
url='https://github.com/jmdaemon/treeleaves'
license=('AGPL3')
options=(!strip) # Mandatory as stripping the binary removes the sbcl runtime
depends=('sbcl')
optdepends=()
makedepends=('git' 'make')
source=("$pkgname::git+https://github.com/jmdaemon/treeleaves#branch=master")
provides=(treeleaves)
conflicts=(treeleaves)
sha512sums=("SKIP")

build() {
  cd "$pkgname"
  make build
}

package-bin() {
    BIN_DIR="$pkgdir"/usr/bin
    mkdir -p $BIN_DIR
    install bin/treeleaves "$BIN_DIR/treeleaves"
}

package() {
  cd "$pkgname"
  package-bin
}