pkgname=meandmyshadow pkgver=0.4.1 pkgrel=1 pkgdesc="Puzzle/platform game with an interesting concept and rather unique gameplay" arch=('x86_64') url="http://meandmyshadow.sourceforge.net/" license=('GPL3') depends=('sdl_gfx' 'sdl_image' 'curl' 'libarchive' 'sdl_ttf' 'sdl_mixer' 'hicolor-icon-theme' 'libgl' 'mesa' 'glu') makedepends=('cmake') categories=('games') screenshot=('http://meandmyshadow.sourceforge.net/public/images/screenshot_thumbnail.png') source=("http://sourceforge.net/projects/$pkgname/files/$pkgver/$pkgname-${pkgver}-src.tar.gz/download" "XFree.patch") md5sums=('724cb4a1822572dbe04131b5db658d19' '571408e6efdf82358570e9f89db115e4') prepare() { cd "$pkgname-$pkgver" patch --binary < "$startdir/XFree.patch" } build() { cd "$srcdir/$pkgname-$pkgver" cmake -DCMAKE_INSTALL_PREFIX=/usr . make } package() { cd "$srcdir/$pkgname-$pkgver" make install DESTDIR="$pkgdir" }