[arch-commits] Commit in kdeaccessibility-kmag/repos (6 files)
Felix Yan
fyan at archlinux.org
Mon Dec 7 14:54:04 UTC 2015
Date: Monday, December 7, 2015 @ 15:54:04
Author: fyan
Revision: 253383
archrelease: copy trunk to staging-i686, staging-x86_64
Added:
kdeaccessibility-kmag/repos/staging-i686/
kdeaccessibility-kmag/repos/staging-i686/PKGBUILD
(from rev 253382, kdeaccessibility-kmag/trunk/PKGBUILD)
kdeaccessibility-kmag/repos/staging-i686/kdeaccessibility-kmag.install
(from rev 253382, kdeaccessibility-kmag/trunk/kdeaccessibility-kmag.install)
kdeaccessibility-kmag/repos/staging-x86_64/
kdeaccessibility-kmag/repos/staging-x86_64/PKGBUILD
(from rev 253382, kdeaccessibility-kmag/trunk/PKGBUILD)
kdeaccessibility-kmag/repos/staging-x86_64/kdeaccessibility-kmag.install
(from rev 253382, kdeaccessibility-kmag/trunk/kdeaccessibility-kmag.install)
----------------------------------------------+
staging-i686/PKGBUILD | 35 +++++++++++++++++++++++++
staging-i686/kdeaccessibility-kmag.install | 11 +++++++
staging-x86_64/PKGBUILD | 35 +++++++++++++++++++++++++
staging-x86_64/kdeaccessibility-kmag.install | 11 +++++++
4 files changed, 92 insertions(+)
Copied: kdeaccessibility-kmag/repos/staging-i686/PKGBUILD (from rev 253382, kdeaccessibility-kmag/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD (rev 0)
+++ staging-i686/PKGBUILD 2015-12-07 14:54:04 UTC (rev 253383)
@@ -0,0 +1,35 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kdeaccessibility-kmag
+pkgver=15.08.3
+pkgrel=2
+arch=('i686' 'x86_64')
+pkgdesc='Screen Magnifier'
+url='http://kde.org/applications/utilities/kmag/'
+license=('GPL' 'FDL')
+groups=('kde-applications' 'kdeaccessibility')
+depends=('kdebase-runtime')
+makedepends=('cmake' 'automoc4')
+install=${pkgname}.install
+source=("http://download.kde.org/stable/applications/${pkgver}/src/kmag-${pkgver}.tar.xz")
+sha1sums=('252c255aeb3efca9083801a091664e8e17045ea6')
+
+prepare() {
+ mkdir -p build
+}
+
+build() {
+ cd build
+ cmake ../kmag-${pkgver} \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DKDE4_BUILD_TESTS=OFF \
+ -DCMAKE_INSTALL_PREFIX=/usr
+ make
+}
+
+package() {
+ cd build
+ make DESTDIR="$pkgdir" install
+}
Copied: kdeaccessibility-kmag/repos/staging-i686/kdeaccessibility-kmag.install (from rev 253382, kdeaccessibility-kmag/trunk/kdeaccessibility-kmag.install)
===================================================================
--- staging-i686/kdeaccessibility-kmag.install (rev 0)
+++ staging-i686/kdeaccessibility-kmag.install 2015-12-07 14:54:04 UTC (rev 253383)
@@ -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/staging-x86_64/PKGBUILD (from rev 253382, kdeaccessibility-kmag/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2015-12-07 14:54:04 UTC (rev 253383)
@@ -0,0 +1,35 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kdeaccessibility-kmag
+pkgver=15.08.3
+pkgrel=2
+arch=('i686' 'x86_64')
+pkgdesc='Screen Magnifier'
+url='http://kde.org/applications/utilities/kmag/'
+license=('GPL' 'FDL')
+groups=('kde-applications' 'kdeaccessibility')
+depends=('kdebase-runtime')
+makedepends=('cmake' 'automoc4')
+install=${pkgname}.install
+source=("http://download.kde.org/stable/applications/${pkgver}/src/kmag-${pkgver}.tar.xz")
+sha1sums=('252c255aeb3efca9083801a091664e8e17045ea6')
+
+prepare() {
+ mkdir -p build
+}
+
+build() {
+ cd build
+ cmake ../kmag-${pkgver} \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DKDE4_BUILD_TESTS=OFF \
+ -DCMAKE_INSTALL_PREFIX=/usr
+ make
+}
+
+package() {
+ cd build
+ make DESTDIR="$pkgdir" install
+}
Copied: kdeaccessibility-kmag/repos/staging-x86_64/kdeaccessibility-kmag.install (from rev 253382, kdeaccessibility-kmag/trunk/kdeaccessibility-kmag.install)
===================================================================
--- staging-x86_64/kdeaccessibility-kmag.install (rev 0)
+++ staging-x86_64/kdeaccessibility-kmag.install 2015-12-07 14:54:04 UTC (rev 253383)
@@ -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