summaryrefslogtreecommitdiff
path: root/user/kanagram/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'user/kanagram/APKBUILD')
-rw-r--r--user/kanagram/APKBUILD11
1 files changed, 4 insertions, 7 deletions
diff --git a/user/kanagram/APKBUILD b/user/kanagram/APKBUILD
index cd45ba733..7ebf320a1 100644
--- a/user/kanagram/APKBUILD
+++ b/user/kanagram/APKBUILD
@@ -1,7 +1,7 @@
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=kanagram
-pkgver=19.08.2
+pkgver=19.12.0
pkgrel=0
pkgdesc="Letter order (anagram) game"
url="https://www.kde.org/applications/education/kanagram/"
@@ -13,10 +13,9 @@ makedepends="cmake extra-cmake-modules qt5-qtbase-dev qt5-qtdeclarative-dev
kcoreaddons-dev kdeclarative-dev kdoctools-dev knewstuff-dev
libkeduvocdocument-dev"
subpackages="$pkgname-doc $pkgname-lang"
-source="https://download.kde.org/stable/applications/$pkgver/src/kanagram-$pkgver.tar.xz"
+source="https://download.kde.org/stable/release-service/$pkgver/src/kanagram-$pkgver.tar.xz"
build() {
- cd "$builddir"
if [ "$CBUILD" != "$CHOST" ]; then
CMAKE_CROSSOPTS="-DCMAKE_SYSTEM_NAME=Linux -DCMAKE_HOST_SYSTEM_NAME=Linux"
fi
@@ -27,18 +26,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="963f15391452bd78c16360f3f8616143a83e9c3123fa6b74449724bcaaca7bbd2ea113f9a6b17c88904de1b95963571bb6baec39646838e1024f7b3f3e972a09 kanagram-19.08.2.tar.xz"
+sha512sums="4ffaf3723a745af61c55d71d991c0892e27066264ebf887422d9e6772e4e817aa465cf120efd188cecc095fe67eb7250ef6d390a6a07f01df3ded613a8cf61d3 kanagram-19.12.0.tar.xz"