diff options
author | Jose Riha | 2020-07-17 20:29:24 +0200 |
---|---|---|
committer | Jose Riha | 2020-07-17 20:29:24 +0200 |
commit | 5c6ac11d44929c61099dfb5b47dae0aa63695349 (patch) | |
tree | 855567c88504d3120e3cfe3ede69dc34a1fdb1eb | |
parent | 0e36b54e2cd153d772441d2c52bf6d1756576aec (diff) | |
download | aur-fotbal.tar.gz |
Update
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 28 |
2 files changed, 16 insertions, 16 deletions
@@ -1,12 +1,12 @@ pkgbase = fotbal pkgdesc = a simple 2d soccer game pkgver = 1 - pkgrel = 4 + pkgrel = 5 url = http://hippo.nipax.cz/download.cz.php?id=41 arch = i686 arch = x86_64 license = GPL-2 - depends = allegro + depends = allegro4 source = http://hippo.nipax.cz/src/fotbal-src.tar.gz source = fotbal.desktop md5sums = ed4146b05c3a074cd63c483bb685b1ed @@ -2,31 +2,31 @@ pkgname=fotbal pkgver=1 -pkgrel=4 +pkgrel=5 pkgdesc="a simple 2d soccer game" -url=('http://hippo.nipax.cz/download.cz.php?id=41') +url='http://hippo.nipax.cz/download.cz.php?id=41' arch=('i686' 'x86_64') license=("GPL-2") -depends=('allegro') +depends=('allegro4') source=("http://hippo.nipax.cz/src/${pkgname}-src.tar.gz" "fotbal.desktop") md5sums=('ed4146b05c3a074cd63c483bb685b1ed' '3a8909900f3778dbed46a5008dd9eda9') build() { -cd $srcdir/${pkgname}-src -# some patching needed here -sed -i -e 's/<fstream.h>/<fstream>/' -e 's/ifstream/std::ifstream/' football.cxx -make + cd $srcdir/${pkgname}-src + # some patching needed here + sed -i -e 's/<fstream.h>/<fstream>/' -e 's/ifstream/std::ifstream/' football.cxx + make } package() { -cd $srcdir/${pkgname}-src -mkdir -p $pkgdir/usr/{share/fotbal,bin} -install -D -m755 football $pkgdir/usr/share/fotbal/football -install -D -m644 *.pcx *.txt fotbal.dat $pkgdir/usr/share/fotbal -( echo "#!/bin/bash + cd $srcdir/${pkgname}-src + mkdir -p $pkgdir/usr/{share/fotbal,bin} + install -D -m755 football $pkgdir/usr/share/fotbal/football + install -D -m644 *.pcx *.txt fotbal.dat $pkgdir/usr/share/fotbal + ( echo "#!/bin/bash cd /usr/share/fotbal ./football" ) > $pkgdir/usr/bin/fotbal -chmod 755 $pkgdir/usr/bin/fotbal -install -D -m644 $srcdir/fotbal.desktop $pkgdir/usr/share/applications/fotbal.desktop + chmod 755 $pkgdir/usr/bin/fotbal + install -D -m644 $srcdir/fotbal.desktop $pkgdir/usr/share/applications/fotbal.desktop } |