[arch-commits] Commit in kdeaccessibility-kmag/repos (3 files)
Andrea Scarpino
andrea at nymeria.archlinux.org
Wed Jun 5 19:42:00 UTC 2013
Date: Wednesday, June 5, 2013 @ 21:42:00
Author: andrea
Revision: 187378
archrelease: copy trunk to staging-i686
Added:
kdeaccessibility-kmag/repos/staging-i686/
kdeaccessibility-kmag/repos/staging-i686/PKGBUILD
(from rev 187377, kdeaccessibility-kmag/trunk/PKGBUILD)
kdeaccessibility-kmag/repos/staging-i686/kdeaccessibility-kmag.install
(from rev 187377, kdeaccessibility-kmag/trunk/kdeaccessibility-kmag.install)
-------------------------------+
PKGBUILD | 32 ++++++++++++++++++++++++++++++++
kdeaccessibility-kmag.install | 11 +++++++++++
2 files changed, 43 insertions(+)
Copied: kdeaccessibility-kmag/repos/staging-i686/PKGBUILD (from rev 187377, kdeaccessibility-kmag/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD (rev 0)
+++ staging-i686/PKGBUILD 2013-06-05 19:42:00 UTC (rev 187378)
@@ -0,0 +1,32 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kdeaccessibility-kmag
+pkgver=4.10.4
+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/${pkgver}/src/kmag-${pkgver}.tar.xz")
+sha1sums=('68e9ec4b646db7b7711a08ecf62e1011be60024e')
+
+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/staging-i686/kdeaccessibility-kmag.install (from rev 187377, kdeaccessibility-kmag/trunk/kdeaccessibility-kmag.install)
===================================================================
--- staging-i686/kdeaccessibility-kmag.install (rev 0)
+++ staging-i686/kdeaccessibility-kmag.install 2013-06-05 19:42:00 UTC (rev 187378)
@@ -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