2016-07-04 01:28:21 -07:00
|
|
|
pkgname=quakespasm
|
2018-06-09 00:45:25 -07:00
|
|
|
pkgver=0.93.1
|
2016-08-25 00:19:40 -07:00
|
|
|
pkgrel=1
|
2016-08-15 05:20:37 -07:00
|
|
|
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')
|
2019-09-17 13:46:47 -07:00
|
|
|
depends=('libvorbis' 'libmad' 'flac' 'opusfile' 'libmikmod' '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
|
2019-09-16 15:11:30 -07:00
|
|
|
$pkgname.desktop)
|
2018-06-09 00:45:25 -07:00
|
|
|
sha1sums=('aca08d7bea6085bc7b755fad1e83ef976b542c1e'
|
2019-09-17 13:53:44 -07:00
|
|
|
'ce21ed7299b5732953bde6e1d9ed073cb21e5d47')
|
2016-07-04 01:28:21 -07:00
|
|
|
|
|
|
|
build() {
|
2019-09-16 15:11:30 -07:00
|
|
|
cd "$srcdir/$pkgname-$pkgver/Quake/"
|
|
|
|
make \
|
|
|
|
DO_USERDIRS=1 \
|
|
|
|
USE_SDL2=1 \
|
|
|
|
USE_CODEC_FLAC=1 \
|
|
|
|
USE_CODEC_OPUS=1 \
|
|
|
|
USE_CODEC_MIKMOD=1 \
|
|
|
|
USE_CODEC_UMX=1
|
2016-07-04 01:28:21 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
2019-09-16 15:11:30 -07:00
|
|
|
cd "$srcdir/$pkgname-$pkgver/Quake/"
|
|
|
|
install -Dm755 quakespasm "$pkgdir"/usr/bin/$pkgname
|
2016-07-25 07:29:39 -07:00
|
|
|
|
2019-09-16 15:11:30 -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
|
2016-08-15 05:20:37 -07:00
|
|
|
|
2019-09-16 15:11:30 -07:00
|
|
|
install -Dm644 $srcdir/$pkgname.desktop $pkgdir/usr/share/applications/$pkgname.desktop
|
2016-07-04 01:28:21 -07:00
|
|
|
}
|
2016-08-25 00:19:40 -07:00
|
|
|
|
|
|
|
|