summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: ceb372d775200b51b0fb06694d340eb0c6f0dcb5 (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: Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>

_pkgbase=pytouhou
pkgname="$_pkgbase-hg"
pkgver=633
pkgrel=1
pkgdesc='Libre reimplementation of the Touhou 6 engine.'
arch=('i686' 'x86_64' 'armv7h')
url='http://pytouhou.linkmauve.fr/'
license=('GPL3')
depends=('python' 'sdl2' 'sdl2_image' 'sdl2_mixer' 'sdl2_ttf' 'libepoxy' 'libgl')
makedepends=('mercurial' 'cython')
provides=("pytouhou=$pkgver")
conflicts=('pytouhou')
optdepends=('gtk3: for a graphical main menu'
            'th06-demo-pytouhou: the freeware demo of EoSD.')

source=("$_pkgbase::hg+http://hg.linkmauve.fr/touhou")
md5sums=('SKIP')

pkgver() {
  cd "$srcdir/$_pkgbase"
  hg identify -n
}

build() {
  cd "$srcdir/$_pkgbase"
  python setup.py build
}

package() {
  cd "$srcdir/$_pkgbase"
  python setup.py install --root="$pkgdir/" --optimize=1
}

# vim:set ts=2 sts=2 sw=2 et: