Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Maintainer: Hubert Maraszek <marach5 at gmail dot com>
- # Contributor: Dany Martineau <dany.luc.martineau@gmail.com>
- pkgname=xye
- pkgver=0.12.1
- pkgrel=1
- pkgdesc="Puzzle game in which the objective is to help a character that looks like a green circle to get all the gems in the room."
- url="http://xye.sourceforge.net/"
- license=('GPL')
- arch=('i686' 'x86_64')
- depends=('sdl_image' 'sdl_ttf' 'gcc-libs')
- makedepends=('imagemagick')
- source=(http://downloads.sourceforge.net/${pkgname}/$pkgname-$pkgver.tar.gz
- xye.desktop)
- md5sums=('d6482d7490c11baacab4ca2df436af4f'
- '0bc624b90351f316f2c318957695b7d1')
- build() {
- cd "$srcdir/$pkgname-$pkgver"
- sed -i '24i#include<unistd.h>' src/gen.cpp
- sed -i '619s/i\([^nrt]\)/k\1/g' src/editorsave.cpp
- sed -i '620s/i)/k)/' src/editorsave.cpp
- ./configure --prefix=/usr
- make
- make DESTDIR="$pkgdir" install
- convert xye.svg xye.png
- install -D xye.png "$pkgdir/usr/share/xye/xye.png"
- install -D ../xye.desktop "$pkgdir/usr/share/applications/xye.desktop"
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement