diff options
author | Dmytro Meleshko | 2023-12-13 21:25:45 +0100 |
---|---|---|
committer | Dmytro Meleshko | 2023-12-13 21:25:45 +0100 |
commit | 5e32c0b19f5d26fa9157a5147bdd43bfcf524cd7 (patch) | |
tree | 3ec3ce18462609b75f13d04a5f0386d0f22f07cc | |
parent | 6df9defc9030a2891cb575f250c97e2026470bee (diff) | |
download | aur-5e32c0b19f5d26fa9157a5147bdd43bfcf524cd7.tar.gz |
fix compilation errors due to missing <cstdint> includes
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | PKGBUILD | 13 |
3 files changed, 14 insertions, 4 deletions
@@ -1,7 +1,7 @@ pkgbase = powder-toy pkgdesc = Desktop version of the classic falling sand physics sandbox, simulates air pressure, velocity & heat! pkgver = 97.0.352 - pkgrel = 1 + pkgrel = 2 url = https://powdertoy.co.uk/ install = powder-toy.install arch = x86_64 @@ -20,6 +20,8 @@ pkgbase = powder-toy depends = jsoncpp depends = hicolor-icon-theme source = powder-toy-97.0.352.tar.gz::https://github.com/The-Powder-Toy/The-Powder-Toy/archive/refs/tags/v97.0.352.tar.gz + source = powder-toy-cstdint.patch::https://patch-diff.githubusercontent.com/raw/The-Powder-Toy/The-Powder-Toy/pull/898.diff sha256sums = 3ab27e1b9a84db1da7342e61232ad5be981ca1ddf001c4924fd08b61cc8d287a + sha256sums = 63aa2f2ac935a9efaca563aa5e66c737cdf9cf8093abcc23322412915b8d347e pkgname = powder-toy diff --git a/.gitignore b/.gitignore index 84863c533b73..80f4fc6e3c81 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ /powder-toy-*.pkg.tar.* /powder-toy-*.tar.gz +/powder-toy-*.patch @@ -14,7 +14,7 @@ _appexe="${pkgname}" _appid=uk.co.powdertoy.tpt _appvendor=powdertoy pkgver=97.0.352 -pkgrel=1 +pkgrel=2 pkgdesc="Desktop version of the classic falling sand physics sandbox, simulates air pressure, velocity & heat!" arch=(x86_64 i686) depends=('glibc' 'libx11' 'sdl2' "$_lua" 'fftw' 'zlib' 'libpng' 'curl' 'jsoncpp' 'hicolor-icon-theme') @@ -22,8 +22,15 @@ makedepends=('meson' 'ninja') url="https://powdertoy.co.uk/" license=('GPL3') install="${pkgname}.install" -source=("${pkgname}-${pkgver}.tar.gz::https://github.com/The-Powder-Toy/The-Powder-Toy/archive/refs/tags/v${pkgver}.tar.gz") -sha256sums=('3ab27e1b9a84db1da7342e61232ad5be981ca1ddf001c4924fd08b61cc8d287a') +source=("${pkgname}-${pkgver}.tar.gz::https://github.com/The-Powder-Toy/The-Powder-Toy/archive/refs/tags/v${pkgver}.tar.gz" + "${pkgname}-cstdint.patch::https://patch-diff.githubusercontent.com/raw/The-Powder-Toy/The-Powder-Toy/pull/898.diff") +sha256sums=('3ab27e1b9a84db1da7342e61232ad5be981ca1ddf001c4924fd08b61cc8d287a' + '63aa2f2ac935a9efaca563aa5e66c737cdf9cf8093abcc23322412915b8d347e') + +prepare() { + cd "The-Powder-Toy-${pkgver}" + patch --forward --strip=1 --input="${srcdir}/${pkgname}-cstdint.patch" +} build() { cd "The-Powder-Toy-${pkgver}" |