[arch-commits] Commit in kruler/repos (6 files)
Antonio Rojas
arojas at archlinux.org
Tue Feb 16 08:36:04 UTC 2016
Date: Tuesday, February 16, 2016 @ 09:36:03
Author: arojas
Revision: 259492
archrelease: copy trunk to testing-i686, testing-x86_64
Added:
kruler/repos/testing-i686/
kruler/repos/testing-i686/PKGBUILD
(from rev 259491, kruler/trunk/PKGBUILD)
kruler/repos/testing-i686/kruler.install
(from rev 259491, kruler/trunk/kruler.install)
kruler/repos/testing-x86_64/
kruler/repos/testing-x86_64/PKGBUILD
(from rev 259491, kruler/trunk/PKGBUILD)
kruler/repos/testing-x86_64/kruler.install
(from rev 259491, kruler/trunk/kruler.install)
-------------------------------+
testing-i686/PKGBUILD | 38 ++++++++++++++++++++++++++++++++++++++
testing-i686/kruler.install | 12 ++++++++++++
testing-x86_64/PKGBUILD | 38 ++++++++++++++++++++++++++++++++++++++
testing-x86_64/kruler.install | 12 ++++++++++++
4 files changed, 100 insertions(+)
Copied: kruler/repos/testing-i686/PKGBUILD (from rev 259491, kruler/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD (rev 0)
+++ testing-i686/PKGBUILD 2016-02-16 08:36:03 UTC (rev 259492)
@@ -0,0 +1,38 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kruler
+pkgver=15.12.2
+pkgrel=1
+pkgdesc="Screen Ruler"
+url="http://kde.org/applications/graphics/kruler/"
+arch=('i686' 'x86_64')
+license=('GPL' 'LGPL' 'FDL')
+groups=('kde-applications' 'kdegraphics')
+depends=('knotifications' 'kxmlgui' 'hicolor-icon-theme')
+makedepends=('extra-cmake-modules' 'python' 'kdoctools')
+install=${pkgname}.install
+conflicts=('kdegraphics-kruler')
+replaces=('kdegraphics-kruler')
+source=("http://download.kde.org/stable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz")
+sha1sums=('aab059bde9d49b5523eda13f590cf1808ec49296')
+
+prepare() {
+ mkdir -p build
+}
+
+build() {
+ cd build
+ cmake ../kruler-${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: kruler/repos/testing-i686/kruler.install (from rev 259491, kruler/trunk/kruler.install)
===================================================================
--- testing-i686/kruler.install (rev 0)
+++ testing-i686/kruler.install 2016-02-16 08:36:03 UTC (rev 259492)
@@ -0,0 +1,12 @@
+post_install() {
+ xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+ update-desktop-database -q
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}
Copied: kruler/repos/testing-x86_64/PKGBUILD (from rev 259491, kruler/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2016-02-16 08:36:03 UTC (rev 259492)
@@ -0,0 +1,38 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kruler
+pkgver=15.12.2
+pkgrel=1
+pkgdesc="Screen Ruler"
+url="http://kde.org/applications/graphics/kruler/"
+arch=('i686' 'x86_64')
+license=('GPL' 'LGPL' 'FDL')
+groups=('kde-applications' 'kdegraphics')
+depends=('knotifications' 'kxmlgui' 'hicolor-icon-theme')
+makedepends=('extra-cmake-modules' 'python' 'kdoctools')
+install=${pkgname}.install
+conflicts=('kdegraphics-kruler')
+replaces=('kdegraphics-kruler')
+source=("http://download.kde.org/stable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz")
+sha1sums=('aab059bde9d49b5523eda13f590cf1808ec49296')
+
+prepare() {
+ mkdir -p build
+}
+
+build() {
+ cd build
+ cmake ../kruler-${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: kruler/repos/testing-x86_64/kruler.install (from rev 259491, kruler/trunk/kruler.install)
===================================================================
--- testing-x86_64/kruler.install (rev 0)
+++ testing-x86_64/kruler.install 2016-02-16 08:36:03 UTC (rev 259492)
@@ -0,0 +1,12 @@
+post_install() {
+ xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+ update-desktop-database -q
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}
More information about the arch-commits
mailing list