2014-03-29 22:02:43 +01:00
|
|
|
# Template file for 'yquake2'
|
|
|
|
pkgname=yquake2
|
2014-11-03 19:48:50 +01:00
|
|
|
version=5.23
|
|
|
|
revision=1
|
2014-03-29 22:02:43 +01:00
|
|
|
wrksrc="quake2-${version}"
|
|
|
|
hostmakedepends="pkg-config"
|
|
|
|
makedepends="zlib-devel libopenal-devel alsa-lib-devel libjpeg-turbo-devel
|
2014-09-15 16:31:02 +02:00
|
|
|
SDL2-devel libvorbis-devel"
|
2014-03-29 22:02:43 +01:00
|
|
|
depends="desktop-file-utils hicolor-icon-theme"
|
|
|
|
short_desc="An enhanced client for id Software's Quake II (Yamagi Quake II)"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
|
|
license="GPL-2"
|
|
|
|
homepage="http://www.yamagi.org/quake2/"
|
2014-11-03 19:39:50 +01:00
|
|
|
update_pkgname=quake2
|
2014-03-29 22:02:43 +01:00
|
|
|
distfiles="http://deponie.yamagi.org/quake2/quake2-${version}.tar.xz"
|
2014-11-03 19:48:50 +01:00
|
|
|
checksum=335f1d8b104453147d74f712b934d71a622fcd304c64afad5550ec85913f446a
|
2014-08-27 18:40:15 +02:00
|
|
|
only_for_archs="i686 x86_64"
|
2014-03-29 22:02:43 +01:00
|
|
|
|
|
|
|
do_build() {
|
|
|
|
make ${makejobs} WITH_SYSTEMWIDE=yes WITH_SYSTEMDIR=/usr/share/${pkgname}
|
|
|
|
}
|
|
|
|
|
|
|
|
do_install() {
|
|
|
|
vinstall release/quake2 755 usr/bin ${pkgname}
|
|
|
|
vinstall release/q2ded 755 usr/bin ${pkgname}-q2ded
|
|
|
|
vinstall release/baseq2/game.so 644 usr/share/${pkgname}/baseq2
|
|
|
|
|
|
|
|
vinstall README 644 usr/share/doc/${pkgname}
|
|
|
|
vinstall stuff/yq2.cfg 644 usr/share/doc/${pkgname}
|
|
|
|
|
|
|
|
vinstall ${FILESDIR}/${pkgname}.desktop 644 usr/share/applications
|
|
|
|
vinstall stuff/icon/Quake2.png 644 usr/share/pixmaps ${pkgname}.png
|
|
|
|
}
|