summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorlorenzo2017-08-25 15:30:59 +0200
committerlorenzo2017-08-25 15:30:59 +0200
commit2e62e6161652a88f6d27251a3de895babce84d46 (patch)
treeb906d31a052fba94076782d5e3772f1a54dbed08
parentba31542650937127c57612fef26299f705ca3447 (diff)
parent608a33c4654543cb0d1505511bf67cd50f0698da (diff)
downloadaur-2e62e6161652a88f6d27251a3de895babce84d46.tar.gz
update to 0.7.0. use python 3
-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 000000000000..71a9d16c2b38
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,4 @@
+*~
+*/
+*.tar.*
+*.log
diff --git a/PKGBUILD b/PKGBUILD
index 2534b263f77f..62bcf20024cc 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 000000000000..96195af9b528
--- /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
+}