[arch-commits] Commit in kdeutils-kfloppy/repos (4 files)
Andrea Scarpino
andrea at archlinux.org
Thu Nov 24 16:16:53 UTC 2011
Date: Thursday, November 24, 2011 @ 11:16:53
Author: andrea
Revision: 143433
db-move: moved kdeutils-kfloppy from [staging] to [kde-unstable] (i686)
Added:
kdeutils-kfloppy/repos/kde-unstable-i686/
kdeutils-kfloppy/repos/kde-unstable-i686/PKGBUILD
(from rev 143277, kdeutils-kfloppy/repos/staging-i686/PKGBUILD)
kdeutils-kfloppy/repos/kde-unstable-i686/kdeutils-kfloppy.install
(from rev 143277, kdeutils-kfloppy/repos/staging-i686/kdeutils-kfloppy.install)
Deleted:
kdeutils-kfloppy/repos/staging-i686/
--------------------------+
PKGBUILD | 33 +++++++++++++++++++++++++++++++++
kdeutils-kfloppy.install | 12 ++++++++++++
2 files changed, 45 insertions(+)
Copied: kdeutils-kfloppy/repos/kde-unstable-i686/PKGBUILD (from rev 143277, kdeutils-kfloppy/repos/staging-i686/PKGBUILD)
===================================================================
--- kde-unstable-i686/PKGBUILD (rev 0)
+++ kde-unstable-i686/PKGBUILD 2011-11-24 16:16:53 UTC (rev 143433)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kdeutils-kfloppy
+pkgver=4.7.80
+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/unstable/${pkgver}/src/kfloppy-${pkgver}.tar.bz2")
+sha1sums=('c7669a2c35fff0a403ecf8df23e0da03238dc6ae')
+
+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/kde-unstable-i686/kdeutils-kfloppy.install (from rev 143277, kdeutils-kfloppy/repos/staging-i686/kdeutils-kfloppy.install)
===================================================================
--- kde-unstable-i686/kdeutils-kfloppy.install (rev 0)
+++ kde-unstable-i686/kdeutils-kfloppy.install 2011-11-24 16:16:53 UTC (rev 143433)
@@ -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