Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=4a07781d1ae25a32b9c3f46ab1542671f3fafdd3
commit 4a07781d1ae25a32b9c3f46ab1542671f3fafdd3 Author: kikadf <[email protected]> Date: Tue Jun 10 12:18:59 2014 +0200 openra-20140608-1-x86_64 * Version bump diff --git a/source/games-extra/openra/FrugalBuild b/source/games-extra/openra/FrugalBuild index 1f4299d..692e85c 100644 --- a/source/games-extra/openra/FrugalBuild +++ b/source/games-extra/openra/FrugalBuild @@ -5,11 +5,11 @@ options+=('asneeded') pkgname=openra -pkgver=20131223 +pkgver=20140608 pkgrel=1 pkgdesc="An open-source implementation of the Red Alert engine using .NET/mono and OpenGL" url="http://openra.res0l.net/" -depends=('mono' 'openal' 'mesa' 'freetype2' 'sdl' 'libgdiplus' 'freefont-ttf' 'geoip') +depends=('mono' 'openal' 'mesa' 'freetype2' 'sdl2' 'libgdiplus' 'freefont-ttf' 'geoip') makedepends=('unzip') _F_github_author="OpenRA" _F_github_name="OpenRA" @@ -20,24 +20,22 @@ options=('nostrip') groups=('games-extra') archs=('i686' 'x86_64') up2date="$up2date | sed 's/release_//'" -sha1sums=('1344c6aba7381012a654d2af8347c31cd48fb508') +sha1sums=('1d484dc94aa1c524d513384d731090eabed9cd7a') build() { Funpack_github - for i in `ls -d */`; do - _F_cd_path="$i" - done + Fcd OpenRA-release-$pkgver Fsed "prefix ?= /usr/local" "prefix ?= /usr" Makefile - Fsed "(prefix)/lib" "(prefix)/share" Makefile + Fsed 'gameinstalldir ?= $(libdir)/openra' 'gameinstalldir ?= $(datadir)/openra' Makefile Fsed "{VERSION}" "$pkgver" packaging/linux/openra.desktop - Fsed "{DEV_VERSION}" "release-$pkgver" mods/{ra,cnc,d2k}/mod.yaml + Fsed "{DEV_VERSION}" "release-$pkgver" mods/{ra,cnc,d2k,modchooser}/mod.yaml - Fbuild - - Ficon $_F_cd_path/packaging/linux/hicolor/128x128/apps/openra.png - Fmkdir usr/share/applications - Ffilerel packaging/linux/openra.desktop usr/share/applications/ + Fconf + make all || Fdie + + make prefix=/usr DESTDIR="$Fdestdir" install-all || Fdie + make prefix=/usr DESTDIR="$Fdestdir" install-linux-shortcuts || Fdie } _______________________________________________ Frugalware-git mailing list [email protected] http://frugalware.org/mailman/listinfo/frugalware-git
