[arch-commits] Commit in kdeaccessibility-kmag/repos (6 files)
Felix Yan
fyan at archlinux.org
Wed Feb 4 04:42:27 UTC 2015
Date: Wednesday, February 4, 2015 @ 05:42:26
Author: fyan
Revision: 230474
archrelease: copy trunk to testing-i686, testing-x86_64
Added:
kdeaccessibility-kmag/repos/testing-i686/
kdeaccessibility-kmag/repos/testing-i686/PKGBUILD
(from rev 230473, kdeaccessibility-kmag/trunk/PKGBUILD)
kdeaccessibility-kmag/repos/testing-i686/kdeaccessibility-kmag.install
(from rev 230473, kdeaccessibility-kmag/trunk/kdeaccessibility-kmag.install)
kdeaccessibility-kmag/repos/testing-x86_64/
kdeaccessibility-kmag/repos/testing-x86_64/PKGBUILD
(from rev 230473, kdeaccessibility-kmag/trunk/PKGBUILD)
kdeaccessibility-kmag/repos/testing-x86_64/kdeaccessibility-kmag.install
(from rev 230473, kdeaccessibility-kmag/trunk/kdeaccessibility-kmag.install)
----------------------------------------------+
testing-i686/PKGBUILD | 33 +++++++++++++++++++++++++
testing-i686/kdeaccessibility-kmag.install | 11 ++++++++
testing-x86_64/PKGBUILD | 33 +++++++++++++++++++++++++
testing-x86_64/kdeaccessibility-kmag.install | 11 ++++++++
4 files changed, 88 insertions(+)
Copied: kdeaccessibility-kmag/repos/testing-i686/PKGBUILD (from rev 230473, kdeaccessibility-kmag/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD (rev 0)
+++ testing-i686/PKGBUILD 2015-02-04 04:42:26 UTC (rev 230474)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kdeaccessibility-kmag
+pkgver=14.12.2
+pkgrel=1
+arch=('i686' 'x86_64')
+pkgdesc='Screen Magnifier'
+url='http://kde.org/applications/utilities/kmag/'
+license=('GPL' 'FDL')
+groups=('kde' 'kdeaccessibility')
+depends=('kdebase-runtime')
+makedepends=('cmake' 'automoc4')
+install=${pkgname}.install
+source=("http://download.kde.org/stable/applications/${pkgver}/src/kmag-${pkgver}.tar.xz")
+sha1sums=('ed25dbc8d9d1962536b8f33d5b65ecd7e2299970')
+
+build() {
+ cd "${srcdir}"
+ mkdir build
+ cd build
+ cmake ../kmag-${pkgver} \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DKDE4_BUILD_TESTS=OFF \
+ -DCMAKE_INSTALL_PREFIX=/usr
+ make
+}
+
+package() {
+ cd $srcdir/build
+ make DESTDIR=$pkgdir install
+}
Copied: kdeaccessibility-kmag/repos/testing-i686/kdeaccessibility-kmag.install (from rev 230473, kdeaccessibility-kmag/trunk/kdeaccessibility-kmag.install)
===================================================================
--- testing-i686/kdeaccessibility-kmag.install (rev 0)
+++ testing-i686/kdeaccessibility-kmag.install 2015-02-04 04:42:26 UTC (rev 230474)
@@ -0,0 +1,11 @@
+post_install() {
+ xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}
Copied: kdeaccessibility-kmag/repos/testing-x86_64/PKGBUILD (from rev 230473, kdeaccessibility-kmag/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2015-02-04 04:42:26 UTC (rev 230474)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kdeaccessibility-kmag
+pkgver=14.12.2
+pkgrel=1
+arch=('i686' 'x86_64')
+pkgdesc='Screen Magnifier'
+url='http://kde.org/applications/utilities/kmag/'
+license=('GPL' 'FDL')
+groups=('kde' 'kdeaccessibility')
+depends=('kdebase-runtime')
+makedepends=('cmake' 'automoc4')
+install=${pkgname}.install
+source=("http://download.kde.org/stable/applications/${pkgver}/src/kmag-${pkgver}.tar.xz")
+sha1sums=('ed25dbc8d9d1962536b8f33d5b65ecd7e2299970')
+
+build() {
+ cd "${srcdir}"
+ mkdir build
+ cd build
+ cmake ../kmag-${pkgver} \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DKDE4_BUILD_TESTS=OFF \
+ -DCMAKE_INSTALL_PREFIX=/usr
+ make
+}
+
+package() {
+ cd $srcdir/build
+ make DESTDIR=$pkgdir install
+}
Copied: kdeaccessibility-kmag/repos/testing-x86_64/kdeaccessibility-kmag.install (from rev 230473, kdeaccessibility-kmag/trunk/kdeaccessibility-kmag.install)
===================================================================
--- testing-x86_64/kdeaccessibility-kmag.install (rev 0)
+++ testing-x86_64/kdeaccessibility-kmag.install 2015-02-04 04:42:26 UTC (rev 230474)
@@ -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