diff options
author | Emmanuel Gil Peyrot | 2023-08-02 22:23:10 +0200 |
---|---|---|
committer | Emmanuel Gil Peyrot | 2023-08-02 22:23:10 +0200 |
commit | ddb874d68e417f8ce342868b8ff13293f1b91d34 (patch) | |
tree | 935ab84c2001ce6a8ccc661f82359e6a13efe8da /PKGBUILD | |
parent | fb44c93e16cfdb4f218881c171115e049c49e8f8 (diff) | |
download | aur-ddb874d68e417f8ce342868b8ff13293f1b91d34.tar.gz |
Also build the Rust libtouhou.so
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -2,7 +2,7 @@ _pkgbase=pytouhou pkgname="$_pkgbase-hg" -pkgver=636 +pkgver=772 pkgrel=1 pkgdesc='Libre reimplementation of the Touhou 6 engine.' arch=('i686' 'x86_64' 'armv7h') @@ -25,11 +25,13 @@ pkgver() { build() { cd "$srcdir/$_pkgbase" + cargo build --release python setup.py build } package() { cd "$srcdir/$_pkgbase" + install -Dm755 target/release/libtouhou.so "$pkgdir"/usr/lib/python3.11/site-packages/libtouhou.so python setup.py install --root="$pkgdir/" --optimize=1 } |