Date: Wednesday, February 3, 2016 @ 02:09:35 Author: svenstaro Revision: 160040
archrelease: copy trunk to community-any Added: singularity/repos/community-any/PKGBUILD (from rev 160039, singularity/trunk/PKGBUILD) singularity/repos/community-any/singularity (from rev 160039, singularity/trunk/singularity) singularity/repos/community-any/singularity.desktop (from rev 160039, singularity/trunk/singularity.desktop) Deleted: singularity/repos/community-any/PKGBUILD singularity/repos/community-any/singularity singularity/repos/community-any/singularity.desktop ---------------------+ PKGBUILD | 107 +++++++++++++++++++++++++------------------------- singularity | 6 +- singularity.desktop | 22 +++++----- 3 files changed, 68 insertions(+), 67 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2016-02-03 01:09:25 UTC (rev 160039) +++ PKGBUILD 2016-02-03 01:09:35 UTC (rev 160040) @@ -1,53 +0,0 @@ -# $Id$ -# Maintainer: Sven-Hendrik Haase <s...@lutzhaase.com> -# Contributor: Lone_Wolf <lonew...@xs4all.nl> -# Contributor: sausageandeggs <s_stoakley at hotmail.co.uk> - -pkgname=singularity -pkgver=0.30c -pkgrel=7 -pkgdesc="Strategy game - simulation of true AI" -arch=('any') -url="http://emhsoft.com/singularity/index.html" -license=('GPL2' 'custom') -depends=('python2' 'python2-pygame' 'sdl_image' 'sdl_mixer' 'python2-numpy') -source=("http://endgame-singularity.googlecode.com/files/$pkgname-$pkgver-src.tar.gz" \ - "http://endgame-singularity.googlecode.com/files/endgame-$pkgname-music-006.zip" \ - "singularity" - "singularity.desktop") -md5sums=('ea4e7d28dd19c33585691ee608672a63' - 'f16d550add4df9c41d4fd68d8ebff40c' - 'fe74e41d2d35dd1907342dea8b078651' - 'c0f49fb6d31a2cf4c0b80393df2aad16') - -prepare() { - cd "$srcdir/$pkgname-$pkgver" - - sed -i 's|/usr/bin/env python|/usr/bin/env python2|g' "code/singularity.py" - - find . -name \*.pyc -delete -} - -package() { - cd "$srcdir/$pkgname-$pkgver" - - # install game - install -Dm644 singularity.py $pkgdir/usr/share/singularity/singularity.py - cp -R code data "$srcdir/endgame-$pkgname-music-006/music" "$pkgdir/usr/share/$pkgname" - - # install shell script - install -Dm755 "$srcdir/singularity" "$pkgdir/usr/bin/singularity" - - # desktop file - install -Dm644 "$srcdir/singularity.desktop" "$pkgdir/usr/share/applications/singularity.desktop" - - # license: code is GPL2, but data & music fall under other licenses - install -Dm644 README.txt "$pkgdir/usr/share/doc/$pkgname/README.txt" - install -d "$pkgdir/usr/share/licenses/$pkgname/" - cd "$pkgdir/usr/share/licenses/$pkgname/" - ln -s ../../doc/$pkgname/README.txt . - - python2 -m compileall "$pkgdir/usr/share/$pkgname" - python2 -O -m compileall "$pkgdir/usr/share/$pkgname" -} -# vim: sw=2:ts=2 et: Copied: singularity/repos/community-any/PKGBUILD (from rev 160039, singularity/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2016-02-03 01:09:35 UTC (rev 160040) @@ -0,0 +1,54 @@ +# $Id$ +# Maintainer: Sven-Hendrik Haase <s...@lutzhaase.com> +# Contributor: Lone_Wolf <lonew...@xs4all.nl> +# Contributor: sausageandeggs <s_stoakley at hotmail.co.uk> + +pkgname=singularity +pkgver=0.30c +pkgrel=8 +pkgdesc="Strategy game - simulation of true AI" +arch=('any') +url="http://emhsoft.com/singularity/index.html" +license=('GPL2' 'custom') +depends=('python2' 'python2-pygame' 'sdl_image' 'sdl_mixer' 'python2-numpy') +source=("http://www.emhsoft.com/singularity/singularity-${pkgver}-src.tar.gz" + "http://www.emhsoft.com/singularity/endgame-singularity-music-007.zip" + "singularity" + "singularity.desktop") +md5sums=('ea4e7d28dd19c33585691ee608672a63' + '36ab600d1f6df24e3550b37289cc7710' + 'fe74e41d2d35dd1907342dea8b078651' + 'c0f49fb6d31a2cf4c0b80393df2aad16') + +prepare() { + cd "$srcdir/$pkgname-$pkgver" + + sed -i 's|/usr/bin/env python|/usr/bin/env python2|g' "code/singularity.py" + + find . -name \*.pyc -delete +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + + # install game + install -Dm644 singularity.py $pkgdir/usr/share/singularity/singularity.py + cp -R code data "$pkgdir/usr/share/$pkgname" + cp -R "$srcdir/endgame-$pkgname-music-007" "$pkgdir/usr/share/$pkgname/music" + + # install shell script + install -Dm755 "$srcdir/singularity" "$pkgdir/usr/bin/singularity" + + # desktop file + install -Dm644 "$srcdir/singularity.desktop" "$pkgdir/usr/share/applications/singularity.desktop" + + # license: code is GPL2, but data & music fall under other licenses + install -Dm644 README.txt "$pkgdir/usr/share/doc/$pkgname/README.txt" + install -d "$pkgdir/usr/share/licenses/$pkgname/" + cd "$pkgdir/usr/share/licenses/$pkgname/" + ln -s ../../doc/$pkgname/README.txt . + + python2 -m compileall "$pkgdir/usr/share/$pkgname" + python2 -O -m compileall "$pkgdir/usr/share/$pkgname" +} +# vim: sw=2:ts=2 et: Deleted: singularity =================================================================== --- singularity 2016-02-03 01:09:25 UTC (rev 160039) +++ singularity 2016-02-03 01:09:35 UTC (rev 160040) @@ -1,3 +0,0 @@ -#!/bin/sh -cd /usr/share/singularity -exec python2 singularity.py "$@" Copied: singularity/repos/community-any/singularity (from rev 160039, singularity/trunk/singularity) =================================================================== --- singularity (rev 0) +++ singularity 2016-02-03 01:09:35 UTC (rev 160040) @@ -0,0 +1,3 @@ +#!/bin/sh +cd /usr/share/singularity +exec python2 singularity.py "$@" Deleted: singularity.desktop =================================================================== --- singularity.desktop 2016-02-03 01:09:25 UTC (rev 160039) +++ singularity.desktop 2016-02-03 01:09:35 UTC (rev 160040) @@ -1,11 +0,0 @@ -[Desktop Entry] -Version=1.0 -Type=Application -Name=Endgame: Singularity -Comment=Simulation of true AI -Icon=/usr/share/singularity/data/images/icon.png -Exec=/usr/bin/singularity -Path= -Terminal=false -StartupNotify=false -Categories=Game;Simulation; Copied: singularity/repos/community-any/singularity.desktop (from rev 160039, singularity/trunk/singularity.desktop) =================================================================== --- singularity.desktop (rev 0) +++ singularity.desktop 2016-02-03 01:09:35 UTC (rev 160040) @@ -0,0 +1,11 @@ +[Desktop Entry] +Version=1.0 +Type=Application +Name=Endgame: Singularity +Comment=Simulation of true AI +Icon=/usr/share/singularity/data/images/icon.png +Exec=/usr/bin/singularity +Path= +Terminal=false +StartupNotify=false +Categories=Game;Simulation;