Date: Tuesday, December 8, 2015 @ 15:06:57 Author: fyan Revision: 253915
archrelease: copy trunk to staging-i686, staging-x86_64 Added: ksquares/repos/staging-i686/ ksquares/repos/staging-i686/PKGBUILD (from rev 253914, ksquares/trunk/PKGBUILD) ksquares/repos/staging-i686/ksquares.install (from rev 253914, ksquares/trunk/ksquares.install) ksquares/repos/staging-x86_64/ ksquares/repos/staging-x86_64/PKGBUILD (from rev 253914, ksquares/trunk/PKGBUILD) ksquares/repos/staging-x86_64/ksquares.install (from rev 253914, ksquares/trunk/ksquares.install) ---------------------------------+ staging-i686/PKGBUILD | 38 ++++++++++++++++++++++++++++++++++++++ staging-i686/ksquares.install | 11 +++++++++++ staging-x86_64/PKGBUILD | 38 ++++++++++++++++++++++++++++++++++++++ staging-x86_64/ksquares.install | 11 +++++++++++ 4 files changed, 98 insertions(+) Copied: ksquares/repos/staging-i686/PKGBUILD (from rev 253914, ksquares/trunk/PKGBUILD) =================================================================== --- staging-i686/PKGBUILD (rev 0) +++ staging-i686/PKGBUILD 2015-12-08 14:06:57 UTC (rev 253915) @@ -0,0 +1,38 @@ +# $Id$ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Contributor: Andrea Scarpino <and...@archlinux.org> + +pkgname=ksquares +pkgver=15.08.3 +pkgrel=2 +pkgdesc="A modeled after the well known pen and paper based game of Dots and Boxes" +url="http://kde.org/applications/games/ksquares/" +arch=('i686' 'x86_64') +license=('GPL' 'LGPL' 'FDL') +groups=('kde-applications' 'kdegames') +depends=('libkdegames' 'knotifyconfig') +makedepends=('extra-cmake-modules' 'python' 'kdoctools') +install=${pkgname}.install +conflicts=('kdegames-ksquares') +replaces=('kdegames-ksquares') +source=("http://download.kde.org/stable/applications/${pkgver}/src/ksquares-${pkgver}.tar.xz") +sha1sums=('91476534f81b536d5a9c30c006cbf6b93315b3ae') + +prepare() { + mkdir -p build +} + +build() { + cd build + cmake ../ksquares-${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: ksquares/repos/staging-i686/ksquares.install (from rev 253914, ksquares/trunk/ksquares.install) =================================================================== --- staging-i686/ksquares.install (rev 0) +++ staging-i686/ksquares.install 2015-12-08 14:06:57 UTC (rev 253915) @@ -0,0 +1,11 @@ +post_install() { + xdg-icon-resource forceupdate --theme hicolor &> /dev/null +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} Copied: ksquares/repos/staging-x86_64/PKGBUILD (from rev 253914, ksquares/trunk/PKGBUILD) =================================================================== --- staging-x86_64/PKGBUILD (rev 0) +++ staging-x86_64/PKGBUILD 2015-12-08 14:06:57 UTC (rev 253915) @@ -0,0 +1,38 @@ +# $Id$ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Contributor: Andrea Scarpino <and...@archlinux.org> + +pkgname=ksquares +pkgver=15.08.3 +pkgrel=2 +pkgdesc="A modeled after the well known pen and paper based game of Dots and Boxes" +url="http://kde.org/applications/games/ksquares/" +arch=('i686' 'x86_64') +license=('GPL' 'LGPL' 'FDL') +groups=('kde-applications' 'kdegames') +depends=('libkdegames' 'knotifyconfig') +makedepends=('extra-cmake-modules' 'python' 'kdoctools') +install=${pkgname}.install +conflicts=('kdegames-ksquares') +replaces=('kdegames-ksquares') +source=("http://download.kde.org/stable/applications/${pkgver}/src/ksquares-${pkgver}.tar.xz") +sha1sums=('91476534f81b536d5a9c30c006cbf6b93315b3ae') + +prepare() { + mkdir -p build +} + +build() { + cd build + cmake ../ksquares-${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: ksquares/repos/staging-x86_64/ksquares.install (from rev 253914, ksquares/trunk/ksquares.install) =================================================================== --- staging-x86_64/ksquares.install (rev 0) +++ staging-x86_64/ksquares.install 2015-12-08 14:06:57 UTC (rev 253915) @@ -0,0 +1,11 @@ +post_install() { + xdg-icon-resource forceupdate --theme hicolor &> /dev/null +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +}