[arch-commits] Commit in rapid-photo-downloader/trunk (2 files)
Jaroslav Lichtblau
jlichtblau at nymeria.archlinux.org
Wed Jan 29 22:15:23 UTC 2014
Date: Wednesday, January 29, 2014 @ 23:15:23
Author: jlichtblau
Revision: 105003
upgpkg: rapid-photo-downloader 0.4.9-1
Added:
rapid-photo-downloader/trunk/rapid-photo-downloader.install
Modified:
rapid-photo-downloader/trunk/PKGBUILD
--------------------------------+
PKGBUILD | 1 +
rapid-photo-downloader.install | 12 ++++++++++++
2 files changed, 13 insertions(+)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2014-01-29 22:07:22 UTC (rev 105002)
+++ PKGBUILD 2014-01-29 22:15:23 UTC (rev 105003)
@@ -14,6 +14,7 @@
optdepends=('kaa-metadata: Enable video downloading'
'ffmpegthumbnailer: Enable video thumbnails'
'hachoir-metadata: Enable video downloading')
+install=$pkgname.install
changelog=$pkgname.changelog
source=(http://launchpad.net/rapid/trunk/${pkgver}/+download/${pkgname}-${pkgver}.tar.gz)
sha256sums=('fde91a89c11a614ba110b1509b5ef4fee2380b13a2114d0e142addad75fd4d3b')
Added: rapid-photo-downloader.install
===================================================================
--- rapid-photo-downloader.install (rev 0)
+++ rapid-photo-downloader.install 2014-01-29 22:15:23 UTC (rev 105003)
@@ -0,0 +1,12 @@
+post_install() {
+ which xdg-icon-resource 1>/dev/null 2>/dev/null && xdg-icon-resource forceupdate
+ update-desktop-database -q
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+post_remove() {
+ post_install $1
+}
More information about the arch-commits
mailing list