PKGBUILDs/extra/kdegames-ksirk/PKGBUILD

44 lines
1.3 KiB
Bash
Raw Normal View History

2016-05-11 00:32:32 +00:00
# $Id$
# Maintainer: Felix Yan <felixonmars@archlinux.org>
# Contributor: Andrea Scarpino <andrea@archlinux.org>
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
# - patch from Fedora to fix FTBFS on ARM
pkgname=kdegames-ksirk
2017-10-12 16:18:22 +00:00
pkgver=17.08.2
2016-05-11 00:32:32 +00:00
pkgrel=1
pkgdesc="A computerized version of a well known strategy game"
2017-03-10 00:34:49 +00:00
url="https://kde.org/applications/games/ksirk/"
2016-05-11 00:32:32 +00:00
arch=('i686' 'x86_64')
license=('GPL' 'LGPL' 'FDL')
groups=('kde-applications' 'kdegames')
2017-04-23 15:03:50 +00:00
depends=('kdebase-runtime' 'libkdegames4' 'qca-qt4')
2016-05-11 00:32:32 +00:00
makedepends=('cmake' 'automoc4')
2017-10-12 16:18:22 +00:00
source=("https://download.kde.org/stable/applications/$pkgver/src/ksirk-$pkgver.tar.xz"{,.sig}
2016-05-11 00:32:32 +00:00
'ksirk-15.12.1-iris_base64.patch')
2017-10-12 16:18:22 +00:00
sha256sums=('206ed74a021b0636b618dcae26607150918a7b1e0c27fde46dcf990bdff62960'
2017-04-23 15:03:50 +00:00
'SKIP'
'04a8cc75458bf55f40073cbffabd8fada59d65eea9d389e62f029e3e868b1e6c')
2017-07-13 18:25:04 +00:00
validpgpkeys=(CA262C6C83DE4D2FB28A332A3A6A4DB839EAA6D7 # Albert Astals Cid <aacid@kde.org>
F23275E4BF10AFC1DF6914A6DBD2CE893E2D1C87) # Christoph Feck <cfeck@kde.org>
2016-05-11 00:32:32 +00:00
prepare() {
patch -d ksirk-${pkgver} -p1 -i ../ksirk-15.12.1-iris_base64.patch
}
build() {
mkdir -p build
cd build
2017-10-12 16:18:22 +00:00
cmake ../ksirk-$pkgver \
2016-05-11 00:32:32 +00:00
-DCMAKE_BUILD_TYPE=Release \
-DKDE4_BUILD_TESTS=OFF \
-DCMAKE_INSTALL_PREFIX=/usr
make
}
package() {
cd build
make DESTDIR="${pkgdir}" install
}