[arch-commits] Commit in kdeutils-kfloppy/repos (6 files)
Andrea Scarpino
andrea at archlinux.org
Tue Sep 4 16:32:33 UTC 2012
Date: Tuesday, September 4, 2012 @ 12:32:32
Author: andrea
Revision: 166121
archrelease: copy trunk to testing-i686, testing-x86_64
Added:
kdeutils-kfloppy/repos/testing-i686/
kdeutils-kfloppy/repos/testing-i686/PKGBUILD
(from rev 166120, kdeutils-kfloppy/trunk/PKGBUILD)
kdeutils-kfloppy/repos/testing-i686/kdeutils-kfloppy.install
(from rev 166120, kdeutils-kfloppy/trunk/kdeutils-kfloppy.install)
kdeutils-kfloppy/repos/testing-x86_64/
kdeutils-kfloppy/repos/testing-x86_64/PKGBUILD
(from rev 166120, kdeutils-kfloppy/trunk/PKGBUILD)
kdeutils-kfloppy/repos/testing-x86_64/kdeutils-kfloppy.install
(from rev 166120, 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 166120, kdeutils-kfloppy/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD (rev 0)
+++ testing-i686/PKGBUILD 2012-09-04 16:32:32 UTC (rev 166121)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kdeutils-kfloppy
+pkgver=4.9.1
+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/${pkgver}/src/kfloppy-${pkgver}.tar.xz")
+sha1sums=('9559d03483aaab1774dbf26fa7171f6b697774b0')
+
+build() {
+ cd "${srcdir}"
+ mkdir build
+ cd build
+ cmake ../kfloppy-${pkgver} \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_INSTALL_PREFIX=/usr
+ make
+}
+
+package() {
+ cd $srcdir/build
+ make DESTDIR=$pkgdir install
+ cd $srcdir/build/doc
+ make DESTDIR=$pkgdir install
+}
Copied: kdeutils-kfloppy/repos/testing-i686/kdeutils-kfloppy.install (from rev 166120, kdeutils-kfloppy/trunk/kdeutils-kfloppy.install)
===================================================================
--- testing-i686/kdeutils-kfloppy.install (rev 0)
+++ testing-i686/kdeutils-kfloppy.install 2012-09-04 16:32:32 UTC (rev 166121)
@@ -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 166120, kdeutils-kfloppy/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2012-09-04 16:32:32 UTC (rev 166121)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kdeutils-kfloppy
+pkgver=4.9.1
+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/${pkgver}/src/kfloppy-${pkgver}.tar.xz")
+sha1sums=('9559d03483aaab1774dbf26fa7171f6b697774b0')
+
+build() {
+ cd "${srcdir}"
+ mkdir build
+ cd build
+ cmake ../kfloppy-${pkgver} \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_INSTALL_PREFIX=/usr
+ make
+}
+
+package() {
+ cd $srcdir/build
+ make DESTDIR=$pkgdir install
+ cd $srcdir/build/doc
+ make DESTDIR=$pkgdir install
+}
Copied: kdeutils-kfloppy/repos/testing-x86_64/kdeutils-kfloppy.install (from rev 166120, kdeutils-kfloppy/trunk/kdeutils-kfloppy.install)
===================================================================
--- testing-x86_64/kdeutils-kfloppy.install (rev 0)
+++ testing-x86_64/kdeutils-kfloppy.install 2012-09-04 16:32:32 UTC (rev 166121)
@@ -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