blob: 78113849bd749bc1d446cdf99725af6b8279e27e (
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=20220109.69d9d2b
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/bin/theme.sh"
install -Dm755 "$srcdir/$_pkgname/bin/theme.sh" "$pkgdir/usr/bin/theme.sh"
}
|