blob: 1d940b9fe8a8d5632ee74dcbc20369a7956c442a (
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
|
_gitname=morituri-whatcd
_gituser=RecursiveForest
pkgname=$_gitname-git
pkgver=31.b0a5fd2
pkgrel=1
pkgdesc='morituri logger meant for What.CD submissions'
arch=('any')
url="https://github.com/${_gituser}/${_gitname}"
license=('GPL3')
depends=('morituri' 'python2')
makedepends=('git' 'python2-setuptools')
provides=('morituri-whatcd')
source=("git+https://github.com/${_gituser}/${_gitname}.git")
md5sums=('SKIP')
pkgver() {
cd "$_gitname"
echo $(git rev-list --count HEAD).$(git rev-parse --short HEAD)
}
package() {
cd "$_gitname"
python2 setup.py install --root="$pkgdir/" --optimize=1
}
# vim:set ts=2 sw=2 et:
|