summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 037a9cdba2bda05494c97342a80e090549c1e923 (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

# Maintainer : mdevlamynck <matthias.devlamynck@mailoo.org>

pkgname=fortune-mod-mlp
_gitname=ponysay
_gitrepo=https://github.com/erkin/ponysay.git
pkgver=3.0.3.5.g87a0d79b
pkgrel=1
pkgdesc="Fortune quotes from My Little Pony Friendship is Magic. Quotes come from ponysay."
arch=('any')
license=('GPL3')
url='http://erkin.github.com/ponysay/'
depends=('fortune-mod')
source=("git+${_gitrepo}")
md5sums=('SKIP')

pkgver() {
	cd ${srcdir}/${_gitname}
	git describe|sed "s/-/./g"
}

build()
{
	cd "${srcdir}/${_gitname}"
	cd extras/fortune-mod-mlp
	chmod u+x name-pony.sh
	make
}

package()
{
    cd "${srcdir}/${_gitname}/extras/fortune-mod-mlp"
	install -dm755 ${pkgdir}/usr/share/fortune
	install -m755 pony* ${pkgdir}/usr/share/fortune
}