summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 09500a31de30972bdcc448426412ec57c459f4cf (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='Directory based file tag generator and search tool' 
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
}