summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 28d208a6b4d2f0fb6c365271bc8333374be252bb (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
pkgname=m64py-git
_gitname=mupen64plus-ui-python
pkgver=0.2.5.r37.90093ce
pkgrel=1
pkgdesc='A frontend for Mupen64Plus'
arch=('any')
url='http://m64py.sourceforge.net/'
license=('GPL')
depends=(mupen64plus python-pyqt5 python-pysdl2)
makedepends=(git python-setuptools qt5-tools)
conflicts=(m64py)
provides=(m64py)
source=("git+https://github.com/mupen64plus/$_gitname.git")
md5sums=('SKIP')

pkgver() {
  cd "$srcdir/$_gitname"
  printf "%s" "$(git describe --long --tags | sed 's/\([^-]*-\)g/r\1/;s/-/./g')"
}

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