blob: 615576f72064f65a99b485f3aa6d5c238e4503c9 (
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
|
# Contributor: Ethan Zonca <e@ethanzonca.com>
pkgname=python-pyenet-git
provides=('pyenet')
conflicts=('pyenet')
pkgdesc="pyenet is a python wrapper for the ENet library"
url="https://github.com/aresch/pyenet"
pkgver=24
pkgrel=2
arch=('i686' 'x86_64' 'armv7h')
license=('BSD' 'MIT')
depends=('python' 'cython')
makedepends=('git')
_enetpackage="enet-1.3.13"
source=("git+https://github.com/aresch/pyenet.git" "http://enet.bespin.org/download/${_enetpackage}.tar.gz")
md5sums=('SKIP' 'b83b9a7791417b6b6f5c68231f6e218b')
build() {
mkdir -p pyenet/enet/
mv -T $_enetpackage pyenet/enet/
cd $srcdir/pyenet
python setup.py build
}
package() {
cd "$srcdir/pyenet"
python setup.py install --root="$pkgdir/" --optimize=1
}
|