# Maintainer: Ricardo (XenGi) Band pkgname=c-lolcat pkgver=r27.33ee440 pkgrel=2 pkgdesc="High-performance implementation of lolcat" arch=('i686' 'x86_64') url="https://github.com/jaseg/lolcat" license=('WTFPL') depends=() makedepends=() conflicts=('lolcat') source=("$pkgname"::'git+https://github.com/jaseg/lolcat.git') sha256sums=(SKIP) pkgver() { cd "$srcdir/$pkgname" printf 'r%s.%s' "$(git rev-list --count HEAD)" "$(git describe --always)" } build() { cd "$srcdir/$pkgname" make } package() { cd "$srcdir/$pkgname" mkdir -p "${pkgdir}/usr/bin" make DESTDIR="$pkgdir/usr/bin" install }