Package Details: singularity-git r1980.fa07970-1

Git Clone URL: https://aur.archlinux.org/singularity-git.git (read-only, click to copy)
Package Base: singularity-git
Description: Strategy game - simulation of true AI, git version
Upstream URL: http://emhsoft.com/singularity/index.html
Licenses: GPL2, custom
Conflicts: singularity
Submitter: Lone_Wolf
Maintainer: Lone_Wolf
Last Packager: Lone_Wolf
Votes: 1
Popularity: 0.000000
First Submitted: 2016-01-25 15:45 (UTC)
Last Updated: 2023-08-16 08:37 (UTC)

Latest Comments

Lone_Wolf commented on 2023-08-15 09:43 (UTC)

Good idea, mind if I use the code at https://wiki.archlinux.org/title/Python_package_guidelines#Using_python_version instead ?

perfect commented on 2023-08-15 08:45 (UTC) (edited on 2023-08-15 08:46 (UTC) by perfect)

To not deal with changes constantly in major.minors, do something like this people.

diff --git a/PKGBUILD b/PKGBUILD index 84bbf0f..99838fa 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" @@ -16,7 +16,12 @@ conflicts=('singularity')  source=(  "git+https://github.com/singularity/singularity"                  "git+https://github.com/singularity/singularity-music.git"  ) -md5sums=('SKIP' 'SKIP') +b2sums=('SKIP' 'SKIP') + +# for packaging, put music in right python version folder. +# maybe a bash sub is preferred. but I don't have time for crap like this +# so if sed -r isn't posix, kill my parents, k thx bai. +pver=$(python -V | sed -r 's/.(.*n) ([0-9]+.[0-9]+).*/p\1\2/')   pkgver() {    cd $_pkgname @@ -34,7 +39,7 @@ package() {    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 -a "$srcdir"/singularity-music/music  "$pkgdir/usr/lib/${pver}/site-packages/singularity/music"      # desktop file  

Lone_Wolf commented on 2021-10-04 11:38 (UTC)

updated to work with python 3.9

Lone_Wolf commented on 2020-06-05 23:11 (UTC)

Updated to build latest trunk version. Now uses python3 , python-setuptools, puthon-pygame etc.

Note that there's one aur dependency now, python-polib .

Lone_Wolf commented on 2020-06-02 14:02 (UTC)

Upstream made lots of changes, looking into updating this.