summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 455c8085cf94024db0c95fab541d0428b94f6a88 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
pkgname=theme.sh-git
_pkgname=theme.sh
provides=("theme.sh")
pkgver=20210108.9156670
pkgrel=1
arch=('any')
source=("git+https://github.com/lemnos/theme.sh.git")
md5sums=("SKIP")

pkgver() {
	cd "${srcdir}/${_pkgname}"
	git log -1 --format='%cd.%h' --date=short | tr -d -
}

package() {
	chmod +x "$srcdir/$_pkgname/theme.sh"
  install -Dm755 "$srcdir/$_pkgname/theme.sh" "$pkgdir/usr/bin/theme.sh"
}