2016-07-04 01:28:21 -07:00
|
|
|
# Maintainer: Frederic Bezies < fredbezies at gmail dot com >
|
|
|
|
|
|
|
|
pkgname=quakespasm
|
|
|
|
pkgver=0.92.0
|
2016-08-15 05:20:37 -07:00
|
|
|
pkgrel=5
|
|
|
|
pkgdesc="A modern Quake 1 engine. Forked from Fitzquake. Stable version with optional Mission pack desktop files."
|
2016-07-04 01:28:21 -07:00
|
|
|
arch=('i686' 'x86_64')
|
|
|
|
url="http://quakespasm.sourceforge.net"
|
|
|
|
license=('GPL2')
|
|
|
|
depends=('libvorbis' 'libmad' 'sdl2')
|
2016-07-04 01:30:13 -07:00
|
|
|
conflicts=('quakespasm-svn')
|
2016-07-04 01:28:21 -07:00
|
|
|
install=$pkgname.install
|
2016-07-25 07:29:39 -07:00
|
|
|
source=(https://sourceforge.net/projects/quakespasm/files/Source/$pkgname-$pkgver.tgz
|
|
|
|
$pkgname.desktop
|
|
|
|
$pkgname-mp1.desktop
|
|
|
|
$pkgname-mp2.desktop
|
|
|
|
$pkgname-impel.desktop)
|
|
|
|
md5sums=('d7ba2b9eaca198f32f60eeabc1f02db1'
|
|
|
|
'090c3c8f74dd649187bfe0ad7ac3cd76'
|
|
|
|
'1d86f05cbe4254402e4c00a62f680e7f'
|
|
|
|
'cdf7daadefaa1c44b1e3da574e5268d4'
|
|
|
|
'96a70a5e74d56284149cc33019a9f8ad')
|
2016-07-04 01:28:21 -07:00
|
|
|
|
|
|
|
build() {
|
|
|
|
cd "$srcdir/$pkgname-$pkgver/Quake/"
|
|
|
|
msg "Starting make..."
|
|
|
|
make DO_USERDIRS=1 USE_SDL2=1
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd "$srcdir/$pkgname-$pkgver/Quake/"
|
|
|
|
install -Dm755 quakespasm "$pkgdir"/usr/bin/$pkgname
|
2016-07-25 07:29:39 -07:00
|
|
|
|
|
|
|
for i in 16 24 32 48 64 72; do
|
|
|
|
install -Dm644 $srcdir/$pkgname-$pkgver/Misc/QuakeSpasm_512.png $pkgdir/usr/share/icons/hicolor/${i}x${i}/apps/quakespasm.png
|
|
|
|
done
|
|
|
|
|
|
|
|
install -Dm644 $srcdir/$pkgname.desktop $pkgdir/usr/share/applications/$pkgname.desktop
|
2016-08-15 05:20:37 -07:00
|
|
|
#
|
|
|
|
# Uncomment lines depending on the mission pack(s)
|
|
|
|
# or extension you have.
|
|
|
|
#
|
|
|
|
# install -Dm644 $srcdir/$pkgname-mp1.desktop $pkgdir/usr/share/applications/$pkgname-mp1.desktop
|
|
|
|
# install -Dm644 $srcdir/$pkgname-mp2.desktop $pkgdir/usr/share/applications/$pkgname-mp2.desktop
|
|
|
|
# install -Dm644 $srcdir/$pkgname-impel.desktop $pkgdir/usr/share/applications/$pkgname-impel.desktop
|
|
|
|
|
2016-07-04 01:28:21 -07:00
|
|
|
}
|