diff options
author | Angelo Theodorou | 2019-10-20 15:34:17 +0200 |
---|---|---|
committer | Angelo Theodorou | 2019-10-20 15:34:17 +0200 |
commit | cc176cbccb507af4e04706b79550e9704061c4b9 (patch) | |
tree | 9d168659ee93ec124604d824ed7f00ef4959908b /PKGBUILD | |
parent | d68c045b05bad1aba600b305940c2b13f4beaace (diff) | |
download | aur-cc176cbccb507af4e04706b79550e9704061c4b9.tar.gz |
Add patch to fix SDL GL_GLEXT_VERSION redefinition
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 14 |
1 files changed, 10 insertions, 4 deletions
@@ -1,7 +1,7 @@ -# Contributor: Angelo Theodorou <encelo@users.sourceforge.net> +# Maintainer: Angelo Theodorou <encelo at users dot sourceforge dot net> pkgname=stratagus pkgver=2.4.2 -pkgrel=1 +pkgrel=2 pkgdesc="A free cross-platform real-time strategy gaming engine" arch=('i686' 'x86_64') url="https://github.com/Wargus/stratagus" @@ -9,8 +9,14 @@ license=('GPL') depends=('libgl' 'sdl' 'libpng' 'libmng' 'libtheora' 'libmikmod' 'sqlite' 'tolua++') makedepends=('cmake') changelog=stratagus.changelog -source=("stratagus::git://github.com/Wargus/stratagus.git#tag=v2.4.2") -md5sums=('SKIP') +source=("stratagus::git://github.com/Wargus/stratagus.git#tag=v2.4.2" glext.patch) +md5sums=('SKIP' '1c4a52e50e0e959c5b8b58bf42930be7') + +prepare() { + cd $pkgname + patch --forward --strip=1 --input="${srcdir}/glext.patch" +} + build() { cd $srcdir |