[arch-commits] Commit in kdiamond/repos (2 files)
Antonio Rojas
arojas at archlinux.org
Sat Mar 25 00:57:49 UTC 2017
Date: Saturday, March 25, 2017 @ 00:57:48
Author: arojas
Revision: 291368
archrelease: copy kde-unstable to kde-unstable-x86_64
Added:
kdiamond/repos/kde-unstable-x86_64/
kdiamond/repos/kde-unstable-x86_64/PKGBUILD
(from rev 291367, kdiamond/kde-unstable/PKGBUILD)
----------+
PKGBUILD | 39 +++++++++++++++++++++++++++++++++++++++
1 file changed, 39 insertions(+)
Copied: kdiamond/repos/kde-unstable-x86_64/PKGBUILD (from rev 291367, kdiamond/kde-unstable/PKGBUILD)
===================================================================
--- kde-unstable-x86_64/PKGBUILD (rev 0)
+++ kde-unstable-x86_64/PKGBUILD 2017-03-25 00:57:48 UTC (rev 291368)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kdiamond
+pkgver=17.03.80
+pkgrel=1
+pkgdesc="A single player puzzle game"
+url="https://kde.org/applications/games/kdiamond/"
+arch=('i686' 'x86_64')
+license=('GPL' 'LGPL' 'FDL')
+groups=('kde-applications' 'kdegames')
+depends=('libkdegames' 'knotifyconfig' 'hicolor-icon-theme')
+makedepends=('extra-cmake-modules' 'python' 'kdoctools')
+conflicts=('kdegames-kdiamond')
+replaces=('kdegames-kdiamond')
+source=("https://download.kde.org/stable/applications/${pkgver}/src/kdiamond-${pkgver}.tar.xz"{,.sig})
+sha256sums=('83d876ea1c34e2ee3b36021b8beeacaf3b9771a985d3a57adb0af03359a56388'
+ 'SKIP')
+validpgpkeys=(CA262C6C83DE4D2FB28A332A3A6A4DB839EAA6D7) # Albert Astals Cid <aacid at kde.org>
+
+prepare() {
+ mkdir -p build
+}
+
+build() {
+ cd build
+ cmake ../$pkgname-$pkgver \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DBUILD_TESTING=OFF \
+ -DCMAKE_INSTALL_PREFIX=/usr
+ make
+}
+
+package() {
+ cd build
+ make DESTDIR="${pkgdir}" install
+}
More information about the arch-commits
mailing list