aboutsummaryrefslogtreecommitdiffstats
path: root/PKGBUILD
blob: 3fcf2206f1e9bfd9ad85311ce3107733c846e66c (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
pkgname=yalc-git
pkgver=0.0.1.rc1.r16.gf096580
pkgrel=1

pkgdesc='Yet Another LolCat'
url='https://github.com/yabok/yalc'
arch=('i686' 'x86_64')
license=('GPL')

makedepends=('git' 'cmake')

source=('git+https://github.com/yabok/yalc')

sha1sums=('SKIP')

pkgver() {
	cd yalc
	git describe --long | sed -r 's/([^-]*-g)/r\1/;s/-/./g'
}

build() {
	cd yalc
	make
}

package() {
	install -Dm755 yalc/yalc "$pkgdir"/usr/bin/yalc
}