summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 8ef1853c934504e18829d52ef75593e8fe4e9d03 (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
# Maintainer: Sebastian Gumprich <sebastian.gumprich@38.de>
pkgname=tuxemon-git
pkgver=r34.fcee2e8
pkgrel=2
pkgdesc="A free, open source monster-fighting RPG."
arch=('i686' 'x86_64')
url="http://www.tuxemon.org"
license=('GPL3')
groups=('games')
depends=('python' 'python-pygame-hg' 'python-pytmx' 'python-yapsy' 'python-netifaces' 'python-neteria')
makedepends=('git')
optdepends=('libShake: rumble library for Linux.')
provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}")
install=${pkgname}.install
source=('git://github.com/Tuxemon/Tuxemon.git')
md5sums=('SKIP')

_gitname=Tuxemon

pkgver() {
  cd "${srcdir}/${_gitname}"
  printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

package() {
    install -d ${pkgdir}/usr/share/
    mv ${srcdir}/${_gitname}/tuxemon/ ${pkgdir}/usr/share/tuxemon
}