summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 0e9ce5ce2d2c79d20dd1987a83dd96cc58f01962 (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=636
pkgrel=1
pkgdesc='Libre reimplementation of the Touhou 6 engine.'
arch=('i686' 'x86_64' 'armv7h')
url='https://pytouhou.linkmauve.fr/'
license=('GPL3')
depends=('python' 'glfw' '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+https://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: