summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD7
2 files changed, 6 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 04476ac97733..f621c5f0cdf1 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = singularity-git
pkgdesc = Strategy game - simulation of true AI, git version
- pkgver = r1964.a8510bd
- pkgrel = 2
+ pkgver = r1980.fa07970
+ pkgrel = 1
url = http://emhsoft.com/singularity/index.html
arch = any
license = GPL2
diff --git a/PKGBUILD b/PKGBUILD
index 84bbf0f6712c..e7ff9c0bd3b0 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,8 +4,8 @@
pkgname=singularity-git
_pkgname=singularity
-pkgver=r1964.a8510bd
-pkgrel=2
+pkgver=r1980.fa07970
+pkgrel=1
pkgdesc="Strategy game - simulation of true AI, git version"
arch=('any')
url="http://emhsoft.com/singularity/index.html"
@@ -29,12 +29,13 @@ build() {
}
package() {
+ local site_packages=$(python -c "import site; print(site.getsitepackages()[0])")
cd $_pkgname
python setup.py install --root="$pkgdir" --optimize=1 --skip-build
# music
- cp -R "$srcdir"/singularity-music/music "$pkgdir"/usr/lib/python3.10/site-packages/singularity/music
+ cp -R "$srcdir"/singularity-music/music "$pkgdir"/$site_packages/singularity/music
# desktop file