summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 5594c6bad6575251ece04166a78939818c94fefd (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
# Maintainer: ararouge <ararouge at protonmail dot ch>

pkgname="bootique-git"
pkgver="r23.f6bb"
pkgrel=1
pkgdesc="A templated theming system built in POSIX sh"
arch=("any")
url="https://github.com/BanchouBoo/bootique"
license=("MIT")
makedepends=("git")
provides=("bootique")
conflicts=("bootique")
source=("git+https://github.com/BanchouBoo/bootique.git")
md5sums=("SKIP")

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

package() {
  cd "$srcdir/bootique"
  install -D -m644 LICENSE "$pkgdir/usr/share/licenses/bootique-git/LICENSE"
  install -D -m755 bootique "$pkgdir/usr/bin/bootique"
}