Date: Tuesday, February 16, 2016 @ 09:28:00
  Author: arojas
Revision: 259467

archrelease: copy trunk to testing-i686, testing-x86_64

Added:
  klines/repos/testing-i686/
  klines/repos/testing-i686/PKGBUILD
    (from rev 259466, klines/trunk/PKGBUILD)
  klines/repos/testing-i686/klines.install
    (from rev 259466, klines/trunk/klines.install)
  klines/repos/testing-x86_64/
  klines/repos/testing-x86_64/PKGBUILD
    (from rev 259466, klines/trunk/PKGBUILD)
  klines/repos/testing-x86_64/klines.install
    (from rev 259466, klines/trunk/klines.install)

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

Copied: klines/repos/testing-i686/PKGBUILD (from rev 259466, 
klines/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD                               (rev 0)
+++ testing-i686/PKGBUILD       2016-02-16 08:28:00 UTC (rev 259467)
@@ -0,0 +1,35 @@
+# $Id$
+# Maintainer: Felix Yan <[email protected]>
+# Contributor: Andrea Scarpino <[email protected]>
+
+pkgname=klines
+pkgver=15.12.2
+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' 'hicolor-icon-theme')
+makedepends=('extra-cmake-modules' 'python' 'kdoctools')
+install=${pkgname}.install
+conflicts=('kdegames-klines')
+replaces=('kdegames-klines')
+source=("http://download.kde.org/stable/applications/${pkgver}/src/klines-${pkgver}.tar.xz";)
+sha1sums=('35c5e2cfaefc79bca76f2c0d23d3688e71fc9b50')
+
+build() {
+  mkdir -p 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/testing-i686/klines.install (from rev 259466, 
klines/trunk/klines.install)
===================================================================
--- testing-i686/klines.install                         (rev 0)
+++ testing-i686/klines.install 2016-02-16 08:28:00 UTC (rev 259467)
@@ -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/testing-x86_64/PKGBUILD (from rev 259466, 
klines/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD                             (rev 0)
+++ testing-x86_64/PKGBUILD     2016-02-16 08:28:00 UTC (rev 259467)
@@ -0,0 +1,35 @@
+# $Id$
+# Maintainer: Felix Yan <[email protected]>
+# Contributor: Andrea Scarpino <[email protected]>
+
+pkgname=klines
+pkgver=15.12.2
+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' 'hicolor-icon-theme')
+makedepends=('extra-cmake-modules' 'python' 'kdoctools')
+install=${pkgname}.install
+conflicts=('kdegames-klines')
+replaces=('kdegames-klines')
+source=("http://download.kde.org/stable/applications/${pkgver}/src/klines-${pkgver}.tar.xz";)
+sha1sums=('35c5e2cfaefc79bca76f2c0d23d3688e71fc9b50')
+
+build() {
+  mkdir -p 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/testing-x86_64/klines.install (from rev 259466, 
klines/trunk/klines.install)
===================================================================
--- testing-x86_64/klines.install                               (rev 0)
+++ testing-x86_64/klines.install       2016-02-16 08:28:00 UTC (rev 259467)
@@ -0,0 +1,11 @@
+post_install() {
+       xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+}
+
+post_upgrade() {
+       post_install
+}
+
+post_remove() {
+       post_install
+}

Reply via email to