blob: 7c07222ba7d0c779a65be6dc7524601a6fd44afd (
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
|
# Maintainer: ibrokemypie <ibrokemypie@bastardi.net>
pkgname=python-oead
_name=${pkgname#python-}
pkgver=1.2.4.2
pkgrel=1
pkgdesc="Library for recent Nintendo EAD formats in first-party games"
arch=('any')
url="https://github.com/zeldamods/oead"
license=('GPL2')
depends=('python')
makedepends=('python-wheel' 'python-build' 'python-installer' 'cmake' 'git' 'gcc')
source=("git+https://github.com/zeldamods/oead#tag=v1.2.4-2")
sha256sums=('SKIP')
# python-oead will not build with clang
export CC=gcc
export CXX=g++
prepare() {
cd "${srcdir}/${_name}"
git submodule update --init --recursive
}
build() {
cd "${srcdir}/${_name}"
python -m build --wheel --no-isolation
}
package() {
cd "${srcdir}/${_name}"
python -m installer --destdir="$pkgdir" dist/*.whl
}
|