PKGBUILDs/extra/kdegames-ksirk/PKGBUILD

43 lines
1.2 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-02-09 14:38:19 +00:00
pkgver=16.12.2
2016-05-11 00:32:32 +00:00
pkgrel=1
pkgdesc="A computerized version of a well known strategy game"
url="http://kde.org/applications/games/ksirk/"
arch=('i686' 'x86_64')
license=('GPL' 'LGPL' 'FDL')
groups=('kde-applications' 'kdegames')
depends=('kdebase-runtime' 'libkdegames4')
makedepends=('cmake' 'automoc4')
2016-12-17 15:50:41 +00:00
source=("http://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-02-09 14:38:19 +00:00
sha1sums=('5df2b0dd9c97cb96a4e41589926a2b5c7c8c8e56'
2016-12-17 15:50:41 +00:00
'SKIP'
2016-05-11 00:32:32 +00:00
'78dbd3d4e70d2afb917ba86a6254a775de2bc2dd')
2016-12-17 15:50:41 +00:00
validpgpkeys=(CA262C6C83DE4D2FB28A332A3A6A4DB839EAA6D7) # Albert Astals Cid <aacid@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
cmake ../ksirk-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \
-DKDE4_BUILD_TESTS=OFF \
-DCMAKE_INSTALL_PREFIX=/usr
make
}
package() {
cd build
make DESTDIR="${pkgdir}" install
}