[arch-commits] Commit in kdeutils-kfloppy/repos (6 files)
Felix Yan
fyan at archlinux.org
Wed Mar 4 16:48:53 UTC 2015
Date: Wednesday, March 4, 2015 @ 17:48:53
Author: fyan
Revision: 232827
archrelease: copy trunk to testing-i686, testing-x86_64
Added:
kdeutils-kfloppy/repos/testing-i686/
kdeutils-kfloppy/repos/testing-i686/PKGBUILD
(from rev 232826, kdeutils-kfloppy/trunk/PKGBUILD)
kdeutils-kfloppy/repos/testing-i686/kdeutils-kfloppy.install
(from rev 232826, kdeutils-kfloppy/trunk/kdeutils-kfloppy.install)
kdeutils-kfloppy/repos/testing-x86_64/
kdeutils-kfloppy/repos/testing-x86_64/PKGBUILD
(from rev 232826, kdeutils-kfloppy/trunk/PKGBUILD)
kdeutils-kfloppy/repos/testing-x86_64/kdeutils-kfloppy.install
(from rev 232826, kdeutils-kfloppy/trunk/kdeutils-kfloppy.install)
-----------------------------------------+
testing-i686/PKGBUILD | 33 ++++++++++++++++++++++++++++++
testing-i686/kdeutils-kfloppy.install | 12 ++++++++++
testing-x86_64/PKGBUILD | 33 ++++++++++++++++++++++++++++++
testing-x86_64/kdeutils-kfloppy.install | 12 ++++++++++
4 files changed, 90 insertions(+)
Copied: kdeutils-kfloppy/repos/testing-i686/PKGBUILD (from rev 232826, kdeutils-kfloppy/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD (rev 0)
+++ testing-i686/PKGBUILD 2015-03-04 16:48:53 UTC (rev 232827)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kdeutils-kfloppy
+pkgver=14.12.3
+pkgrel=1
+pkgdesc='Floppy Formatter'
+url='http://kde.org/applications/utilities/kfloppy/'
+arch=('i686' 'x86_64')
+license=('GPL' 'LGPL' 'FDL')
+depends=('kdebase-runtime')
+makedepends=('cmake' 'automoc4')
+groups=('kde' 'kdeutils')
+install=${pkgname}.install
+source=("http://download.kde.org/stable/applications/${pkgver}/src/kfloppy-${pkgver}.tar.xz")
+sha1sums=('f3f9c5a6614e25d469c46c307ff9e9d31f571447')
+
+build() {
+ cd "${srcdir}"
+ mkdir build
+ cd build
+ cmake ../kfloppy-${pkgver} \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DKDE4_BUILD_TESTS=OFF \
+ -DCMAKE_INSTALL_PREFIX=/usr
+ make
+}
+
+package() {
+ cd $srcdir/build
+ make DESTDIR=$pkgdir install
+}
Copied: kdeutils-kfloppy/repos/testing-i686/kdeutils-kfloppy.install (from rev 232826, kdeutils-kfloppy/trunk/kdeutils-kfloppy.install)
===================================================================
--- testing-i686/kdeutils-kfloppy.install (rev 0)
+++ testing-i686/kdeutils-kfloppy.install 2015-03-04 16:48:53 UTC (rev 232827)
@@ -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: kdeutils-kfloppy/repos/testing-x86_64/PKGBUILD (from rev 232826, kdeutils-kfloppy/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2015-03-04 16:48:53 UTC (rev 232827)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kdeutils-kfloppy
+pkgver=14.12.3
+pkgrel=1
+pkgdesc='Floppy Formatter'
+url='http://kde.org/applications/utilities/kfloppy/'
+arch=('i686' 'x86_64')
+license=('GPL' 'LGPL' 'FDL')
+depends=('kdebase-runtime')
+makedepends=('cmake' 'automoc4')
+groups=('kde' 'kdeutils')
+install=${pkgname}.install
+source=("http://download.kde.org/stable/applications/${pkgver}/src/kfloppy-${pkgver}.tar.xz")
+sha1sums=('f3f9c5a6614e25d469c46c307ff9e9d31f571447')
+
+build() {
+ cd "${srcdir}"
+ mkdir build
+ cd build
+ cmake ../kfloppy-${pkgver} \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DKDE4_BUILD_TESTS=OFF \
+ -DCMAKE_INSTALL_PREFIX=/usr
+ make
+}
+
+package() {
+ cd $srcdir/build
+ make DESTDIR=$pkgdir install
+}
Copied: kdeutils-kfloppy/repos/testing-x86_64/kdeutils-kfloppy.install (from rev 232826, kdeutils-kfloppy/trunk/kdeutils-kfloppy.install)
===================================================================
--- testing-x86_64/kdeutils-kfloppy.install (rev 0)
+++ testing-x86_64/kdeutils-kfloppy.install 2015-03-04 16:48:53 UTC (rev 232827)
@@ -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