diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 13 |
1 files changed, 10 insertions, 3 deletions
@@ -9,7 +9,7 @@ pkgname=7kaa pkgver=2.15.2 -pkgrel=1 +pkgrel=2 pkgdesc='Seven Kingdoms: Ancient Adversaries is a real-time strategy (RTS) computer game developed by Trevor Chan' url='https://7kfans.com/' arch=('i686' 'x86_64') @@ -21,12 +21,19 @@ provides=('7kaa-data') source=("https://github.com/the3dfxdude/${pkgname}/releases/download/v${pkgver}/${pkgname}-${pkgver}.tar.xz" "${pkgname}.sh" "${pkgname}.desktop" - "${pkgname}.png") + "${pkgname}.png" + "buffer_overflow.patch") md5sums=('abd3648aec3b8337a16f22de43ce9b19' '78e098c8e8b2467f02da886f8bc431a0' '880d2760bdb02f8f73552e13f3a1a5a9' - 'a44784360325c94b605de06f7154d121') + 'a44784360325c94b605de06f7154d121' + '624e73ece72789f3aeff3b6497cabb77') +prepare() { + cd ${pkgname}-${pkgver} + # Fix https://github.com/the3dfxdude/7kaa/issues/172 + patch -Np1 -i "${srcdir}"/buffer_overflow.patch +} build() { cd "${srcdir}/${pkgname}-${pkgver}" |