diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 11 |
1 files changed, 8 insertions, 3 deletions
@@ -4,7 +4,7 @@ # Contributor: Klemen Košir <klemen913@gmail.com> pkgname=cataclysm-dda-git -pkgver=0.F.2022.02.22 +pkgver=0.F.2022.05.24 _pkgver=0.F pkgrel=1 pkgdesc="A post-apocalyptic roguelike." @@ -25,8 +25,12 @@ optdepends=('sdl2_image: for tiles' # The git repo is more than a GB # so download a snapshot while waiting for shallow clone support in makepkg # (you may uncomment the alternate source/pkgver() if you would prefer to use that) -source=('https://github.com/CleverRaven/Cataclysm-DDA/archive/master.zip') -md5sums=('SKIP') +source=( + 'https://github.com/CleverRaven/Cataclysm-DDA/archive/master.zip' + "disable_bound_check.patch" +) +sha512sums=('SKIP' + '8f4324dc935d3db98a7d5a12b46f2c58c37b6b4b4f2cbcdacc0462b1efa89f191d9fd7a0c8280c21d0abc0d448f66dad015cde7686f498ed4d5ae3d20a0521b1') pkgver() { cd "Cataclysm-DDA-master" @@ -38,6 +42,7 @@ pkgver() { prepare() { cd "Cataclysm-DDA-master" sed -i 's/ncursesw5-config/ncursesw6-config/' Makefile + patch --strip 1 < "${srcdir}/disable_bound_check.patch" } build() { |