diff options
Diffstat (limited to 'devilutionx-git/PKGBUILD')
-rw-r--r-- | devilutionx-git/PKGBUILD | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/devilutionx-git/PKGBUILD b/devilutionx-git/PKGBUILD index f303daa..05b103f 100644 --- a/devilutionx-git/PKGBUILD +++ b/devilutionx-git/PKGBUILD @@ -4,8 +4,8 @@ _pkgname=devilutionx pkgname=devilutionx-git -pkgver=0.4.0.r127.ge6f4e216 -pkgrel=3 +pkgver=0.5.0.r84.g1df595c1 +pkgrel=1 pkgdesc="Diablo devolved for linux (git version)" arch=('i686' 'x86_64') url="https://github.com/diasurgical/devilutionX" @@ -19,11 +19,13 @@ source=( LICENSE::https://raw.githubusercontent.com/diasurgical/devilutionX/master/LICENSE diablo.desktop diablo_1_icon_by_mulek169.png + devilutionx-linkfix.patch ) sha256sums=('SKIP' '88d9b4eb60579c191ec391ca04c16130572d7eedc4a86daa58bf28c6e14c9bcd' '1f0b591e2b5d14e69864967c056458a2d845da989b3c4ba251c7a89d49cd9c81' - 'f569210a4217a5e7aa29366376554ffaeae84bdbe278b5335fd3cb37e1d0f82d') + 'f569210a4217a5e7aa29366376554ffaeae84bdbe278b5335fd3cb37e1d0f82d' + 'edc7b17425739f4117bc159b9f071968122025674039c153463696aba73e0c5c') pkgver() { cd "${_pkgname}" @@ -33,6 +35,13 @@ pkgver() { ) } +prepare() { + cd "${_pkgname}" + + # Fix linking to libsodium + patch -p1 -i "${srcdir}/${_pkgname}-linkfix.patch" +} + build() { cd "${_pkgname}" rm -rf build64 |