summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 14b151d165851b44e13c75d79f11b660b492cf8b (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
# Maintainer: Stefan Husmann <stefan-husmann@t-online.de>

pkgname=python2-libemu
_pkgname=pylibemu
pkgver=0.5.8
pkgrel=1
pkgdesc="A Libemu Cython wrapper"
arch=('x86_64')
url="https://github.com/buffer/pylibemu.git"
license=('GPL2')
depends=('python2' 'libemu')
makedepends=('git')
source=("git+$url#commit=d8ee777" "git+https://github.com/buffer/libemu.git#commit=17fd972")
sha256sums=('SKIP' 'SKIP')
makedepends=('python' 'python2' 'python-setuptools')

prepare() {
  cd ${_pkgname}
  git submodule init
  git config submodule.libemu.url "$srcdir"/submudules
  git submodule update
}

package() {
  cd ${_pkgname}
  python2 setup.py install --root="$pkgdir"
}