diff options
author | Lucki | 2020-08-17 01:51:19 +0200 |
---|---|---|
committer | Lucki | 2020-08-17 01:51:19 +0200 |
commit | 6462ba81c7e26b9e08b28b87e630105b1f189c9e (patch) | |
tree | 8518013e017bf70447b4721df9523c8b6e13d1bc | |
parent | 61a4d2a3cc302928e7c60f887f184faa3ae0ccd6 (diff) | |
parent | 33d9cda8ee034a1f0abef5865f4f645e67177642 (diff) | |
download | aur-6462ba81c7e26b9e08b28b87e630105b1f189c9e.tar.gz |
Merge subtree 'fife'
-rw-r--r-- | .SRCINFO | 22 | ||||
-rw-r--r-- | PKGBUILD | 19 |
2 files changed, 26 insertions, 15 deletions
@@ -6,19 +6,29 @@ pkgbase = fife arch = i686 arch = x86_64 license = LGPL + makedepends = boost makedepends = cmake - makedepends = mesa makedepends = swig - depends = boost + depends = boost-libs depends = fifechan + depends = glew + depends = libgl + depends = libpng + depends = libstdc++5 depends = libvorbis - depends = sdl2_ttf depends = openal depends = python + depends = sdl2 + depends = sdl2_image + depends = sdl2_ttf depends = tinyxml - depends = glew - source = 0.4.2-d14f232.tar.gz::https://github.com/fifengine/fifengine/archive/d14f232f4cd9a00b05d6872957070e8c020f515d.tar.gz - sha512sums = 6fafca8e75b7f8a374b74c9e75cfa63208277f976ef9efcdb1da5c94a1ef46dacd320afe0b9dbd83a1ce8acb078a28d687328b3c4ba8227510f492e5a8df9373 + depends = zlib + source = fife-0.4.2.src.tar.gz::https://github.com/fifengine/fifengine/archive/0.4.2.tar.gz + source = fife-[PATCH]-removed-flags-that-are-not-supported-with-swig-4.0.patch::https://github.com/fifengine/fifengine/commit/d14f232f4cd9a00b05d6872957070e8c020f515d.patch + source = fife-[PATCH]-SyntaxWarning:-"is"-with-a-literal.patch::https://github.com/fifengine/fifengine/commit/454a981a777f141db999809944abbc64ed15c41f.patch + sha512sums = 2b92e936d3f900532c5dee235a217c338941c44da479dceb3e48b3e8b93a402b31dc5501a6533391a01af53d6dbd51b6793c74e8ac81301ae6f1fa18271761a4 + sha512sums = d5894f7708030ac6f8cc7612b4a29c1fb68aa2d545362017232874579661097ed1257b7de297489a10951716033d522d4ee6c17033009e2a4eaf3cfbdc26091d + sha512sums = 59b47dabc2b02a807c978837ab47498dca140f156159ada2c2cdbcf7a912bd95fcaf622bb92bcd585b1c722d4023f50330c4320d59a76e4ba12bb344da43996c pkgname = fife @@ -18,11 +18,11 @@ source=("$pkgname-$pkgver.src.tar.gz::https://github.com/$_githubname/$_githubna "$pkgname-[PATCH]-removed-flags-that-are-not-supported-with-swig-4.0.patch::https://github.com/$_githubname/$_githubname/commit/d14f232f4cd9a00b05d6872957070e8c020f515d.patch" "$pkgname-[PATCH]-SyntaxWarning:-\"is\"-with-a-literal.patch::https://github.com/$_githubname/$_githubname/commit/454a981a777f141db999809944abbc64ed15c41f.patch") sha512sums=('2b92e936d3f900532c5dee235a217c338941c44da479dceb3e48b3e8b93a402b31dc5501a6533391a01af53d6dbd51b6793c74e8ac81301ae6f1fa18271761a4' - 'd5894f7708030ac6f8cc7612b4a29c1fb68aa2d545362017232874579661097ed1257b7de297489a10951716033d522d4ee6c17033009e2a4eaf3cfbdc26091d' - '59b47dabc2b02a807c978837ab47498dca140f156159ada2c2cdbcf7a912bd95fcaf622bb92bcd585b1c722d4023f50330c4320d59a76e4ba12bb344da43996c') + 'd5894f7708030ac6f8cc7612b4a29c1fb68aa2d545362017232874579661097ed1257b7de297489a10951716033d522d4ee6c17033009e2a4eaf3cfbdc26091d' + '59b47dabc2b02a807c978837ab47498dca140f156159ada2c2cdbcf7a912bd95fcaf622bb92bcd585b1c722d4023f50330c4320d59a76e4ba12bb344da43996c') prepare() { - cd "$_githubname-$pkgver" || exit + cd "$_githubname-$pkgver" patch --forward --strip=1 \ --input="$srcdir/$pkgname-[PATCH]-removed-flags-that-are-not-supported-with-swig-4.0.patch" patch --forward --strip=1 \ @@ -30,14 +30,14 @@ prepare() { } build() { - cd "$_githubname-$pkgver" || exit + cd "$_githubname-$pkgver" [[ -d "build" ]] && rm -r "build" - mkdir -p "build" && cd "build" || exit + mkdir -p "build" && cd "build" cmake \ - -DCMAKE_INSTALL_PREFIX:PATH=/usr \ - -Wno-dev \ - .. + -DCMAKE_INSTALL_PREFIX:PATH=/usr \ + -Wno-dev \ + .. make # If compilation seems to stall at 99% for ages, do not abort! @@ -46,6 +46,7 @@ build() { } package() { - cd "$_githubname-$pkgver/build" || exit + cd "$_githubname-$pkgver" + cd "build" make DESTDIR="$pkgdir" install } |