summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorLucki2019-05-22 18:31:27 +0200
committerLucki2019-05-22 18:31:27 +0200
commit3f67bab81eadb9af40a20ad47b60f2f9b4a3bc32 (patch)
treea6a21af9a40fccd74cadc120b53246675330fb3a
parentd6507e26589345083cdc5a7b1c35ddda7936f70e (diff)
downloadaur-3f67bab81eadb9af40a20ad47b60f2f9b4a3bc32.tar.gz
Build at commit for swig4
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD14
2 files changed, 12 insertions, 8 deletions
diff --git a/.SRCINFO b/.SRCINFO
index a0082f12bb1..78f1beebe1d 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = fife
pkgdesc = Flexible Isometric Free Engine is a cross platform game creation framework
pkgver = 0.4.2
- pkgrel = 1
+ pkgrel = 2
url = http://fifengine.net/
arch = i686
arch = x86_64
@@ -17,8 +17,8 @@ pkgbase = fife
depends = python
depends = tinyxml
depends = glew
- source = https://github.com/fifengine/fifengine/archive/0.4.2.tar.gz
- sha512sums = 2b92e936d3f900532c5dee235a217c338941c44da479dceb3e48b3e8b93a402b31dc5501a6533391a01af53d6dbd51b6793c74e8ac81301ae6f1fa18271761a4
+ source = 0.4.2-d14f232.tar.gz::https://github.com/fifengine/fifengine/archive/d14f232f4cd9a00b05d6872957070e8c020f515d.tar.gz
+ sha512sums = 6fafca8e75b7f8a374b74c9e75cfa63208277f976ef9efcdb1da5c94a1ef46dacd320afe0b9dbd83a1ce8acb078a28d687328b3c4ba8227510f492e5a8df9373
pkgname = fife
diff --git a/PKGBUILD b/PKGBUILD
index dd5a8bdb92a..1455bb7b0df 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,7 +5,7 @@
pkgname=fife
pkgver=0.4.2
-pkgrel=1
+pkgrel=2
_githubname=fifengine
pkgdesc="Flexible Isometric Free Engine is a cross platform game creation framework"
arch=('i686' 'x86_64')
@@ -13,11 +13,14 @@ url="http://fifengine.net/"
license=('LGPL')
depends=('boost' 'fifechan' 'libvorbis' 'sdl2_ttf' 'openal' 'python' 'tinyxml' 'glew')
makedepends=('cmake' 'mesa' 'swig')
-source=("https://github.com/$_githubname/$_githubname/archive/$pkgver.tar.gz")
-sha512sums=('2b92e936d3f900532c5dee235a217c338941c44da479dceb3e48b3e8b93a402b31dc5501a6533391a01af53d6dbd51b6793c74e8ac81301ae6f1fa18271761a4')
+# source=("https://github.com/$_githubname/$_githubname/archive/$pkgver.tar.gz")
+# Needs to build at this commit to be able to build with swig 4, upstream doesn't want to tag:
+source=("$pkgver-d14f232.tar.gz::https://github.com/$_githubname/$_githubname/archive/d14f232f4cd9a00b05d6872957070e8c020f515d.tar.gz")
+sha512sums=('6fafca8e75b7f8a374b74c9e75cfa63208277f976ef9efcdb1da5c94a1ef46dacd320afe0b9dbd83a1ce8acb078a28d687328b3c4ba8227510f492e5a8df9373')
build() {
- cd "$_githubname-$pkgver"
+ # cd "$_githubname-$pkgver"
+ cd "$_githubname-d14f232f4cd9a00b05d6872957070e8c020f515d"
[[ -d "build" ]] && rm -r "build"
mkdir -p "build" && cd "build"
cmake \
@@ -30,7 +33,8 @@ build() {
}
package() {
- cd "$_githubname-$pkgver"
+ # cd "$_githubname-$pkgver"
+ cd "$_githubname-d14f232f4cd9a00b05d6872957070e8c020f515d"
cd "build"
make DESTDIR="$pkgdir" install
}