[arch-commits] Commit in khangman/repos (2 files)

Antonio Rojas arojas at archlinux.org
Sat Mar 25 00:51:52 UTC 2017


    Date: Saturday, March 25, 2017 @ 00:51:52
  Author: arojas
Revision: 291345

archrelease: copy kde-unstable to kde-unstable-x86_64

Added:
  khangman/repos/kde-unstable-x86_64/
  khangman/repos/kde-unstable-x86_64/PKGBUILD
    (from rev 291344, khangman/kde-unstable/PKGBUILD)

----------+
 PKGBUILD |   40 ++++++++++++++++++++++++++++++++++++++++
 1 file changed, 40 insertions(+)

Copied: khangman/repos/kde-unstable-x86_64/PKGBUILD (from rev 291344, khangman/kde-unstable/PKGBUILD)
===================================================================
--- kde-unstable-x86_64/PKGBUILD	                        (rev 0)
+++ kde-unstable-x86_64/PKGBUILD	2017-03-25 00:51:52 UTC (rev 291345)
@@ -0,0 +1,40 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=khangman
+pkgver=17.03.80
+pkgrel=1
+pkgdesc="Hangman Game"
+url="https://kde.org/applications/education/khangman/"
+arch=('i686' 'x86_64')
+license=('GPL' 'LGPL' 'FDL')
+groups=('kde-applications' 'kdeedu')
+depends=('libkeduvocdocument' 'knewstuff' 'kdeclarative')
+makedepends=('extra-cmake-modules' 'kdoctools' 'python')
+replaces=('kdeedu-khangman')
+conflicts=('kdeedu-khangman')
+source=("https://download.kde.org/stable/applications/${pkgver}/src/khangman-${pkgver}.tar.xz"{,.sig})
+sha256sums=('54756996929d7cbdffbaf3030eacbb5d740d8adee45b77a66a0c631036c9274d'
+            'SKIP')
+validpgpkeys=(CA262C6C83DE4D2FB28A332A3A6A4DB839EAA6D7) # Albert Astals Cid <aacid at kde.org>
+
+prepare() {
+  mkdir -p build
+}
+
+build() {
+  cd build
+  cmake ../khangman-${pkgver} \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DBUILD_TESTING=OFF \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DKDE_INSTALL_LIBDIR=lib \
+    -DSYSCONF_INSTALL_DIR=/etc
+  make
+}
+
+package() {
+  cd "${srcdir}"/build
+  make DESTDIR="${pkgdir}" install
+}


More information about the arch-commits mailing list