updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / ii-esu / PKGBUILD
blob103d93e337e63e559ffe6717dd095da4000a7283
1 # Contributor: Nick B <Shirakawasuna at gmail _dot_com>
2 pkgname=ii-esu
3 pkgver=1.0a
4 pkgrel=3
5 pkgdesc="An inventive shooter game."
6 arch=('i686' 'x86_64')
7 url="http://hizuoka.web.fc2.com/game/ES/index_en.html"
8 license=('custom')
9 depends=('libgl' 'mesa' 'sdl_mixer')
10 makedepends=('gdc-bin')
11 source=(http://hizuoka.web.fc2.com/game/ES/ES_d.zip
12         http://ftp.de.debian.org/debian/pool/main/i/ii-esu/ii-esu_1.0a.dfsg1-1.diff.gz
13         ii-esu_script)
14 md5sums=('f1b45e7386c0a878352afa5c5df112a5'
15          'a55a367f79d375a27d39ea0b3606de36'
16          '84510f4d7019a3b93611ef09b465c1bd')
17 build() {
19 cd $startdir/src/ES_d
20 patch -p1 <../ii-esu*diff
21 while read x;do patch -p1 <debian/patches/"$x";done <debian/patches/series
22 make || return 1
23 sed -i s,\/usr\/games,\/usr\/bin,g $startdir/src/ES_d/debian/ii-esu.desktop
24 #sed -i s,Icon=ii-esu,Icon=ii-esu.xpm,g $startdir/src/ES_d/debian/ii-esu.desktop
25 install -D -m755 $startdir/src/ES_d/ii-esu $startdir/pkg/usr/share/ii-esu/ii-esu
26 install -D -m644 $startdir/src/ES_d/debian/ii-esu.desktop $startdir/pkg/usr/share/applications/ii-esu.desktop
27 install -D -m644 $startdir/src/ES_d/debian/ii-esu.xpm $startdir/pkg/usr/share/pixmaps/ii-esu.xpm
28 install -D -m644 $startdir/src/ES_d/debian/copyright $startdir/pkg/usr/share/licenses/ii-esu/copyright
29 install -D -m755 $startdir/src/ii-esu_script $startdir/pkg/usr/bin/ii-esu