summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.gitignore4
-rw-r--r--PKGBUILD5
-rw-r--r--epour.install12
3 files changed, 18 insertions, 3 deletions
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..71a9d16c2b3
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,4 @@
+*~
+*/
+*.tar.*
+*.log
diff --git a/PKGBUILD b/PKGBUILD
index 2534b263f77..62bcf20024c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,5 +1,5 @@
-
-# Maintainer: Doug Newgard <scimmia at archlinux dot info>
+# Contributor: Doug Newgard <scimmia at archlinux dot info>
+# Mantainer: Lorenzo Ferrillo <lorenzofer at live dot it>
pkgname=epour
pkgver=0.7.0
@@ -20,7 +20,6 @@ build() {
package() {
cd "$srcdir/$pkgname-$pkgver"
-
python setup.py install --root="${pkgdir}" #--optimize=1 if this active epour doesn't show icons
# install text files
diff --git a/epour.install b/epour.install
new file mode 100644
index 00000000000..96195af9b52
--- /dev/null
+++ b/epour.install
@@ -0,0 +1,12 @@
+post_install() {
+ [[ -x /usr/bin/update-desktop-database ]] && update-desktop-database -q
+ [[ -x /usr/bin/gtk-update-icon-cache ]] && gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}