summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD17
1 files changed, 9 insertions, 8 deletions
diff --git a/PKGBUILD b/PKGBUILD
index cd46207c9d0..804062ea026 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,23 +1,24 @@
# Maintainer: carstene1ns <arch carsten-teibes de> - http://git.io/ctPKG
pkgname=freeablo
-pkgver=0.2
+pkgver=0.3
pkgrel=1
+_stormlibhash=5da7bbb379e99014fbb9a2de5a43daf1483bb201
pkgdesc='Modern, FLOSS reimplementation of the Diablo 1 game engine'
arch=('i686' 'x86_64')
url="http://freeablo.org/"
license=('GPL3')
-depends=('sdl2_image' 'sdl2_mixer' 'boost-libs' 'librocket')
-makedepends=('cmake')
+depends=('sdl2_image' 'sdl2_mixer' 'boost-libs' 'librocket' 'libgl' 'qt5-base')
+makedepends=('cmake' 'boost')
install=$pkgname.install
source=(freeablo-$pkgver.tar.gz::"https://github.com/wheybags/freeablo/archive/v$pkgver.tar.gz"
- stormlib-for-$pkgver.tar.gz::"https://github.com/wheybags/StormLib/archive/5da7bbb379e99014fbb9a2de5a43daf1483bb201.zip")
-sha256sums=('0a5315a68403a5931e970cb6eae9ba07f004c1050a22579c20653835e55ebeb4'
- '59154b9748071802eb2e19ab6f694c8841f7681843a7b648dfc3d024729d048c')
+ stormlib-for-$pkgver.tar.gz::"https://github.com/wheybags/StormLib/archive/$_stormlibhash.zip")
+sha256sums=('c1b47e0944004e8cd7d76a323b03ef38e466ad697be34d2030eba3bc63b38533'
+ '5580a5e1ffc7ce43040895c3c295a9e186e438139042d2c6425743d52dfea0d2')
prepare() {
# copy submodule to right location
- cp -rup StormLib-5da7bbb379e99014fbb9a2de5a43daf1483bb201/* $pkgname-$pkgver/extern/StormLib
+ cp -rup StormLib-$_stormlibhash/* $pkgname-$pkgver/extern/StormLib
# reset build folder
rm -rf build
@@ -34,7 +35,7 @@ build() {
package() {
# binaries
install -Dm755 build/freeablo "$pkgdir"/usr/bin/freeablo
- for _f in celview exedump mpqtool; do
+ for _f in celview exedump mpqtool launcher; do
install -Dm755 build/$_f "$pkgdir"/usr/bin/freeablo-$_f
done
# data