#Packager: Frédéric Galusik pkgname=zsdx pkgver=1.3 pkgrel=1fg #arch=noarch source=("http://www.zelda-solarus.com/downloads/$pkgname/$pkgname-$pkgver.tar.gz" "zsdx.desktop" "zsdx.png") sourcetemplate=http://people.salixos.org/fredg/packages/$pkgname/$pkgver docs=("readme.txt" "changelog") url=http://www.solarus-engine.org/games/zelda-mystery-of-solarus-dx/ slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "zsdx (Zelda: Mystery of Solarus DX)" "This package contains the data files of the quest Zelda: Mystery of" "Solarus DX." "This quest is a free, open-source game that works with Solarus," "an open-source Zelda-like 2D game engine." "To play this game, you need Solarus." ) build() { cd $startdir/src/$pkgname-$pkgver cmake -D CMAKE_INSTALL_PREFIX=/usr \ -D CMAKE_BUILD_TYPE=Release . make make install DESTDIR=$startdir/pkg PREFIX=/usr # Desktop integration # The icon come from http://oclero.deviantart.com/art/Zelda-Solarus-Solarus-Amulet-159367341 install -Dm 644 $startdir/src/zsdx.png \ $startdir/pkg/usr/share/icons/hicolor/48x48/apps/zsdx.png install -Dm 644 $startdir/src/zsdx.desktop \ $startdir/pkg/usr/share/applications/zsdx.desktop }