summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 358d7f358ec0f502937da7319d38128df9676881 (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=23.97dfae8
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: