summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 86162f45a21adbcfcc5cfee7b7163d660316d2a0 (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
32
# Maintainer: N.E. Neal <spam at [part of name before neal without dots] dog com>
pkgname='bonsai.sh-git'
pkgver=r41.e89b8c6
pkgrel=1
pkgdesc="A randomly generated bonsai tree in your terminal!"
arch=('any')
url="https://gitlab.com/jallbrit/bonsai.sh"
license=('GPL')
groups=()
depends=("bash")
makedepends=("git")
optdepends=()
provides=()
conflicts=()
replaces=()
backup=()
options=()
install=
changelog=
source=("${pkgname}::git+https://gitlab.com/jallbrit/bonsai.sh.git")
noextract=()
md5sums=(SKIP)

pkgver() {
	cd $startdir/$pkgname
	printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

package() {
        cd ${srcdir}/${pkgname}
        install -Dm755 bonsai.sh "$pkgdir/usr/bin/bonsai.sh"
}