diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 12 |
1 files changed, 9 insertions, 3 deletions
@@ -3,7 +3,7 @@ pkgname=vcmi pkgver=0.99 -pkgrel=3 +pkgrel=4 pkgdesc="Open-source engine for Heroes of Might and Magic III" arch=('i686' 'x86_64') url="http://vcmi.eu" @@ -16,9 +16,15 @@ optdepends=('innoextract: required by vcmibuilder' 'unzip: required by vcmibuilder') conflicts=('fuzzylite') install="${pkgname}.install" -source=(https://github.com/vcmi/${pkgname}/archive/${pkgver}.tar.gz) -sha256sums=('b7f2459d7e054c8bdcf419cbb80040e751d3dbb06dc1113ac28f7365930f902e') +source=(https://github.com/vcmi/${pkgname}/archive/${pkgver}.tar.gz + 0001-Launcher-add-sanity-checks-for-QDir-removeRecursivel.patch) +sha256sums=('b7f2459d7e054c8bdcf419cbb80040e751d3dbb06dc1113ac28f7365930f902e' + 'fefca8818a11bc753a9dfd828fc1e3f6f64d104713e64fa76088c3ce05f60143') +prepare() { + cd "${srcdir}/${pkgname}-${pkgver}" + patch -p0 "${srcdir}/0001-Launcher-add-sanity-checks-for-QDir-removeRecursivel.patch" +} build() { cd "${srcdir}/${pkgname}-${pkgver}" cmake \ |