mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
41 lines
1.1 KiB
Bash
41 lines
1.1 KiB
Bash
|
# $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
|
||
|
pkgver=16.04.1
|
||
|
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')
|
||
|
source=("http://download.kde.org/stable/applications/${pkgver}/src/ksirk-${pkgver}.tar.xz"
|
||
|
'ksirk-15.12.1-iris_base64.patch')
|
||
|
sha1sums=('1602813691396a10f08e6ff6da1e2e3e2e0c8ca9'
|
||
|
'78dbd3d4e70d2afb917ba86a6254a775de2bc2dd')
|
||
|
|
||
|
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
|
||
|
}
|