desktop/alienarena/PKGBUILD

36 lines
1.1 KiB
Bash
Raw Normal View History

#
# Games Packages for Chakra, part of chakra-project.org
#
# Contributor: Giuseppe Calà <jiveaxe@gmail.com>
pkgname=alienarena
2013-10-23 07:18:49 +08:00
pkgver=7.66
pkgrel=1
2013-10-23 07:18:49 +08:00
_verdate=20130827
pkgdesc="Multiplayer retro sci-fi deathmatch game"
2013-10-23 07:18:49 +08:00
arch=('x86_64')
url='http://icculus.org/alienarena/rpa/'
license=('GPL' 'LGPL' 'custom:Non-free data')
depends=('curl' 'freetype2' 'libgl' 'libjpeg' 'libvorbis' 'libxxf86dga' 'libxxf86vm' 'mesa' 'ode' 'sdl' 'openal')
2012-03-07 19:00:46 +08:00
categories=('games')
2013-10-23 07:18:49 +08:00
source=("http://red.planetarena.org/files/${pkgname}-${pkgver}-linux${_verdate}.tar.gz"
2012-09-14 05:41:25 +08:00
'alienarena.desktop')
2013-10-23 07:18:49 +08:00
sha256sums=('29086098eacb18319e6dcc9156355c44db4b1aa8a4f7b0bb63e6856d8128b012'
'139506ee00ccae23748c257ababebb87dd509ad83f87d545d776f62501b6f04a')
2013-10-23 07:18:49 +08:00
build() {
cd ${pkgname}-${pkgver}
2012-09-14 05:41:25 +08:00
./configure --prefix=/usr
make
}
package() {
2013-10-23 07:18:49 +08:00
cd ${pkgname}-${pkgver}
2012-09-14 05:41:25 +08:00
make DESTDIR="${pkgdir}" install
install -d -m755 "${pkgdir}/usr/share/pixmaps"
mv -f "${pkgdir}/usr/share/icons/alienarena.png" "${pkgdir}/usr/share/pixmaps/"
rm -r "${pkgdir}/usr/share/icons"
install -D -m644 "${srcdir}/alienarena.desktop" "${pkgdir}/usr/share/applications/alienarena.desktop"
}