summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 50d032f462e64da591e60d27ab26da668ba694d9 (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
_gitname=morituri-whatcd
pkgname=$_gitname-git
pkgver=23.97dfae8
pkgrel=1
pkgdesc='morituri logger meant for What.CD submissions'
arch=('any')
url='https://github.com/supermanvelo/morituri-whatcd'
license=('GPL3')
depends=('morituri' 'python2')
makedepends=('git' 'python2-setuptools')
provides=('morituri-whatcd')
source=('git+https://github.com/supermanvelo/morituri-whatcd.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: