diff options
author | root <root@rshg047.dnsready.net> | 2011-05-04 12:58:32 +0000 |
---|---|---|
committer | root <root@rshg047.dnsready.net> | 2011-05-04 12:58:32 +0000 |
commit | 9780d07c31b22125ad7ecba4e281ff41194f95be (patch) | |
tree | 2336cb3e1bd98fe4b7631eb175c25f90a243815a /community/kde4-kio-rapip | |
parent | ddb2605f6bccbdb398f3937ff21e4688915a450d (diff) |
Wed May 4 12:58:31 UTC 2011
Diffstat (limited to 'community/kde4-kio-rapip')
-rw-r--r-- | community/kde4-kio-rapip/PKGBUILD | 28 | ||||
-rw-r--r-- | community/kde4-kio-rapip/kde4-kio-rapip.install | 14 |
2 files changed, 42 insertions, 0 deletions
diff --git a/community/kde4-kio-rapip/PKGBUILD b/community/kde4-kio-rapip/PKGBUILD new file mode 100644 index 000000000..92377772a --- /dev/null +++ b/community/kde4-kio-rapip/PKGBUILD @@ -0,0 +1,28 @@ +# $Id: PKGBUILD 46077 2011-05-03 10:19:53Z spupykin $ +# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> +# Contributor: ReNoM <renom@list.ru> + +pkgname=kde4-kio-rapip +pkgver=0.2 +pkgrel=1 +pkgdesc="KIOSlave to browse through the PDA file system via the SynCE infrastructure" +arch=(i686 x86_64) +url="http://synce.sourceforge.net/" +license="MIT" +depends=('kdelibs' 'synce-libsynce' 'synce-librapi') +makedepends=('gcc' 'cmake' 'automoc4') +install=kde4-kio-rapip.install +source=(http://downloads.sourceforge.net/synce/$pkgname-$pkgver.tar.gz) +md5sums=('94473e10e1b4dd6040c646a8c7421d0c') + +build() { + cd "$srcdir/$pkgname-$pkgver" + cmake -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` . + make +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + make DESTDIR=$pkgdir install + install -Dm0644 LICENSE $pkgdir/usr/share/licenses/kde4-kio-rapip/LICENSE +} diff --git a/community/kde4-kio-rapip/kde4-kio-rapip.install b/community/kde4-kio-rapip/kde4-kio-rapip.install new file mode 100644 index 000000000..b3ddbc43f --- /dev/null +++ b/community/kde4-kio-rapip/kde4-kio-rapip.install @@ -0,0 +1,14 @@ +post_install() { + which xdg-icon-resource 1>/dev/null 2>/dev/null && xdg-icon-resource forceupdate || true + update-mime-database usr/share/mime 1>/dev/null 2>/dev/null || true +} + +post_upgrade() { + which xdg-icon-resource 1>/dev/null 2>/dev/null && xdg-icon-resource forceupdate || true + update-mime-database usr/share/mime 1>/dev/null 2>/dev/null || true +} + +post_remove() { + which xdg-icon-resource 1>/dev/null 2>/dev/null && xdg-icon-resource forceupdate || true + update-mime-database usr/share/mime 1>/dev/null 2>/dev/null || true +} |