summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: c8972e84847b455f43531cce36ce79012ca2a7d5 (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
29
30
31
32
33
34
35
36
37
# Maintainer: Brad Kennedy <bk@co60.ca>
pkgname=bunnysay-git 
pkgver=v1.1.r0.248f58e
pkgrel=1
pkgdesc='Fullwidth bunny signs for terminal and Twitter/webforms'
arch=('i686' 'x86_64')
url='https://github.com/co60ca/bunnysay'
license=('GPL3')
groups=()
depends=()
makedepends=('git') 
provides=()
conflicts=()
replaces=()
backup=()
options=()
install=
source=('git+https://github.com/co60ca/bunnysay.git')
noextract=()
md5sums=('SKIP')

pkgver() {
	cd "bunnysay"
	printf "%s" "$(git describe --long --tags | sed 's/\([^-]*-\)g/r\1/;s/-/./g')"
}

build() {
	cd "bunnysay"
	make
}

package() {
	cd "bunnysay"
	mkdir -p "$pkgdir/usr/bin"
	make prefix="$pkgdir/usr" install
	install -Dm644 LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
}