1 # Maintainer: Jesse Jaara <gmail.com: jesse.jaara>
6 pkgdesc="Swap one gem with an adjacent gem to form a chain of three or more gems."
8 url="http://www.linuxmotors.com/gljewel/"
11 source=(http://www.linuxmotors.com/gljewel/downloads/SDL_jewels-${pkgver}.tgz)
14 cd "$srcdir/SDL_jewels-$pkgver"
16 #Patch the source to use data files in /usr/share/gljewel/data
17 #instead of trying to open thme from the same directory where
19 sed -e "s|data/bigfont.ppm|/usr/share/gljewel/data/bigfont.ppm|g" -i gljewel.c
20 sed -e "s|=\"data\"|=\"/usr/share/gljewel/data\"|g" -i sound.c
25 cd "$srcdir/SDL_jewels-$pkgver"
27 mkdir -p "${pkgdir}/usr/bin"
28 mkdir -p "${pkgdir}/usr/share/gljewel"
29 cp gljewel "${pkgdir}/usr/bin/"
30 cp -r data "${pkgdir}/usr/share/gljewel/"
33 # vim:set ts=2 sw=2 et:
34 md5sums=('a80d36d1b2647df8d292029bd2c7d594')