[arch-commits] Commit in klines/repos (6 files)

Antonio Rojas arojas at archlinux.org
Wed Jul 29 07:47:11 UTC 2015


    Date: Wednesday, July 29, 2015 @ 09:47:11
  Author: arojas
Revision: 242713

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

Added:
  klines/repos/kde-unstable-i686/
  klines/repos/kde-unstable-i686/PKGBUILD
    (from rev 242712, klines/kde-unstable/PKGBUILD)
  klines/repos/kde-unstable-i686/klines.install
    (from rev 242712, klines/kde-unstable/klines.install)
  klines/repos/kde-unstable-x86_64/
  klines/repos/kde-unstable-x86_64/PKGBUILD
    (from rev 242712, klines/kde-unstable/PKGBUILD)
  klines/repos/kde-unstable-x86_64/klines.install
    (from rev 242712, klines/kde-unstable/klines.install)

------------------------------------+
 kde-unstable-i686/PKGBUILD         |   35 +++++++++++++++++++++++++++++++++++
 kde-unstable-i686/klines.install   |   11 +++++++++++
 kde-unstable-x86_64/PKGBUILD       |   35 +++++++++++++++++++++++++++++++++++
 kde-unstable-x86_64/klines.install |   11 +++++++++++
 4 files changed, 92 insertions(+)

Copied: klines/repos/kde-unstable-i686/PKGBUILD (from rev 242712, klines/kde-unstable/PKGBUILD)
===================================================================
--- kde-unstable-i686/PKGBUILD	                        (rev 0)
+++ kde-unstable-i686/PKGBUILD	2015-07-29 07:47:11 UTC (rev 242713)
@@ -0,0 +1,35 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=klines
+pkgver=15.07.80
+pkgrel=1
+pkgdesc="A simple but highly addictive, one player game"
+url="http://kde.org/applications/games/klines/"
+arch=('i686' 'x86_64')
+license=('GPL' 'LGPL' 'FDL')
+groups=('kde-applications' 'kdegames')
+depends=('libkdegames')
+makedepends=('extra-cmake-modules' 'python' 'kdoctools')
+install=${pkgname}.install
+conflicts=('kdegames-klines')
+replaces=('kdegames-klines')
+source=("http://download.kde.org/unstable/applications/${pkgver}/src/klines-${pkgver}.tar.xz")
+sha1sums=('cc36bb20b46a0bec1ada2058abfb897ee892bc74')
+
+build() {
+  mkdir build
+  cd build
+  cmake ../klines-${pkgver} \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DBUILD_TESTING=OFF \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DKDE_INSTALL_USE_QT_SYS_PATHS=ON
+  make
+}
+
+package() {
+  cd build
+  make DESTDIR="${pkgdir}" install
+}

Copied: klines/repos/kde-unstable-i686/klines.install (from rev 242712, klines/kde-unstable/klines.install)
===================================================================
--- kde-unstable-i686/klines.install	                        (rev 0)
+++ kde-unstable-i686/klines.install	2015-07-29 07:47:11 UTC (rev 242713)
@@ -0,0 +1,11 @@
+post_install() {
+	xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+}
+
+post_upgrade() {
+	post_install
+}
+
+post_remove() {
+	post_install
+}

Copied: klines/repos/kde-unstable-x86_64/PKGBUILD (from rev 242712, klines/kde-unstable/PKGBUILD)
===================================================================
--- kde-unstable-x86_64/PKGBUILD	                        (rev 0)
+++ kde-unstable-x86_64/PKGBUILD	2015-07-29 07:47:11 UTC (rev 242713)
@@ -0,0 +1,35 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=klines
+pkgver=15.07.80
+pkgrel=1
+pkgdesc="A simple but highly addictive, one player game"
+url="http://kde.org/applications/games/klines/"
+arch=('i686' 'x86_64')
+license=('GPL' 'LGPL' 'FDL')
+groups=('kde-applications' 'kdegames')
+depends=('libkdegames')
+makedepends=('extra-cmake-modules' 'python' 'kdoctools')
+install=${pkgname}.install
+conflicts=('kdegames-klines')
+replaces=('kdegames-klines')
+source=("http://download.kde.org/unstable/applications/${pkgver}/src/klines-${pkgver}.tar.xz")
+sha1sums=('cc36bb20b46a0bec1ada2058abfb897ee892bc74')
+
+build() {
+  mkdir build
+  cd build
+  cmake ../klines-${pkgver} \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DBUILD_TESTING=OFF \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DKDE_INSTALL_USE_QT_SYS_PATHS=ON
+  make
+}
+
+package() {
+  cd build
+  make DESTDIR="${pkgdir}" install
+}

Copied: klines/repos/kde-unstable-x86_64/klines.install (from rev 242712, klines/kde-unstable/klines.install)
===================================================================
--- kde-unstable-x86_64/klines.install	                        (rev 0)
+++ kde-unstable-x86_64/klines.install	2015-07-29 07:47:11 UTC (rev 242713)
@@ -0,0 +1,11 @@
+post_install() {
+	xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+}
+
+post_upgrade() {
+	post_install
+}
+
+post_remove() {
+	post_install
+}



More information about the arch-commits mailing list