blob: 3414a610c685d17c17af6a2a97fe1efe86c10f90 (
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
|
# Maintainer: jaseg <arch@jaseg.net>
pkgname=ponysay-jaseg-git
pkgver=0.984.85fffca
pkgrel=1
pkgdesc="Cowsay. With ponies. Improved, faster, 20% cooler fork."
arch=('any')
license=('GPL')
url="https://github.com/jaseg/ponysay"
depends=('python')
makedepends=('git' 'pixelterm')
provides=('ponysay')
source=('git+https://github.com/jaseg/ponysay#branch=master')
md5sums=('SKIP')
_gitname="ponysay"
pkgver() {
cd "$srcdir/$_gitname"
microver="$(git log -1 --pretty=format:%h )"
minorver="$(git rev-list --count HEAD)"
echo "0.$minorver.$microver"
}
build() {
cd "${srcdir}/$_gitname"
make
}
package() {
cd "${srcdir}/$_gitname"
python setup.py install --root="$pkgdir"
}
|