1 # Contributor: Christoph Zeiler <archNOSPAM_at_moonblade.dot.org>
6 pkgdesc="A captivating tile-clearing puzzle game"
8 url="http://$pkgname.sourceforge.net/"
10 depends=('sdl' 'libgl' 'mesa')
11 source=(http://downloads.sourceforge.net/$pkgname/Primrose_v${pkgver}_UnixSource.tar.gz \
14 md5sums=('3bef20e73e060482ef6602b890751abb'
15 '70919b0e425609f5987a353420fbbcb6'
16 '5e6620f6ab6a456f5fc648013fe878c2')
19 cd Primrose_v${pkgver}_UnixSource/tilePlacementGames/game1
25 sed 's|"graphics"|"/usr/share/primrose/graphics"|g' -i common.cpp
28 OPTIMIZE_OFF_FLAG="${CXXFLAGS}" \
31 install -Dm755 Primrose "$pkgdir"/usr/bin/$pkgname
32 mkdir -p "$pkgdir"/usr/share/{doc/,}$pkgname
33 cp -rf graphics/ "$pkgdir"/usr/share/$pkgname/
34 install -m644 ../documentation/*.txt "$pkgdir"/usr/share/doc/$pkgname/
36 install -Dm644 "$srcdir"/$pkgname.png "$pkgdir"/usr/share/pixmaps/$pkgname.png
37 install -Dm644 "$srcdir"/$pkgname.desktop "$pkgdir"/usr/share/applications/$pkgname.desktop
40 # vim:set ts=2 sw=2 et: