summaryrefslogtreecommitdiff
path: root/user/knavalbattle/APKBUILD
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2019-12-31 18:51:55 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2019-12-31 18:51:55 +0000
commit26f7c605a6e0d82dd20111c6da9a6f3270e9b0ce (patch)
treecf354b8455ac23203e1af2f92855d1dfd75fab30 /user/knavalbattle/APKBUILD
parented5c897462a687dc046b4cdcda69f8d108e1b28c (diff)
downloadpackages-26f7c605a6e0d82dd20111c6da9a6f3270e9b0ce.tar.gz
packages-26f7c605a6e0d82dd20111c6da9a6f3270e9b0ce.tar.bz2
packages-26f7c605a6e0d82dd20111c6da9a6f3270e9b0ce.tar.xz
packages-26f7c605a6e0d82dd20111c6da9a6f3270e9b0ce.zip
user/[KDE Games]: Bump to 19.12.0
Excludes user/kpat, which requires a bunch of Perl packages.
Diffstat (limited to 'user/knavalbattle/APKBUILD')
-rw-r--r--user/knavalbattle/APKBUILD11
1 files changed, 4 insertions, 7 deletions
diff --git a/user/knavalbattle/APKBUILD b/user/knavalbattle/APKBUILD
index e8a63c611..81236a798 100644
--- a/user/knavalbattle/APKBUILD
+++ b/user/knavalbattle/APKBUILD
@@ -1,7 +1,7 @@
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=knavalbattle
-pkgver=19.08.2
+pkgver=19.12.0
pkgrel=0
pkgdesc="Ship sinking game from KDE"
url="https://www.kde.org/applications/games/knavalbattle/"
@@ -12,10 +12,9 @@ makedepends="cmake extra-cmake-modules qt5-qtbase-dev kconfig-dev kcrash-dev
kdbusaddons-dev kdnssd-dev kdoctools-dev ki18n-dev ktextwidgets-dev
kxmlgui-dev libkdegames-dev"
subpackages="$pkgname-doc $pkgname-lang"
-source="https://download.kde.org/stable/applications/$pkgver/src/knavalbattle-$pkgver.tar.xz"
+source="https://download.kde.org/stable/release-service/$pkgver/src/knavalbattle-$pkgver.tar.xz"
build() {
- cd "$builddir"
if [ "$CBUILD" != "$CHOST" ]; then
CMAKE_CROSSOPTS="-DCMAKE_SYSTEM_NAME=Linux -DCMAKE_HOST_SYSTEM_NAME=Linux"
fi
@@ -26,18 +25,16 @@ build() {
-DCMAKE_BUILD_TYPE=RelWithDebugInfo \
-DCMAKE_CXX_FLAGS="$CXXFLAGS" \
-DCMAKE_C_FLAGS="$CFLAGS" \
- ${CMAKE_CROSSOPTS}
+ ${CMAKE_CROSSOPTS} .
make
}
check() {
- cd "$builddir"
CTEST_OUTPUT_ON_FAILURE=TRUE ctest
}
package() {
- cd "$builddir"
make DESTDIR="$pkgdir" install
}
-sha512sums="9f438467e138594b2d45e426d7a0295c07dc20508e21f0753b51de5394122dad9832bd47c1faa93b13f2d9d88909e7f46f16a9752fd9c4b8d39d9b9b8e6a754a knavalbattle-19.08.2.tar.xz"
+sha512sums="639a459776b2cb79abf50f15ad27b9b9cb34f8e96c325faf2e6679a0b2a1a57707b0ff2c2767878abfec376b0b9456fe79a85feeb66263293dfbe43fc20ef98c knavalbattle-19.12.0.tar.xz"