summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO7
-rw-r--r--PKGBUILD5
-rw-r--r--cheqlist.install13
3 files changed, 20 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 91ec0fbab10..7813f9697db 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,16 +1,17 @@
pkgbase = cheqlist
pkgdesc = A simple Qt checklist.
- pkgver = 0.1.3
+ pkgver = 0.1.4
pkgrel = 1
url = https://github.com/Kwpolska/cheqlist
+ install = cheqlist.install
arch = any
license = BSD
depends = python
depends = python-setuptools
depends = python-pyqt5
options = !emptydirs
- source = https://pypi.python.org/packages/source/c/cheqlist/cheqlist-0.1.3.tar.gz
- md5sums = 710d9865f45de6ab8697149a56426abd
+ source = https://pypi.python.org/packages/source/c/cheqlist/cheqlist-0.1.4.tar.gz
+ md5sums = 90fd14fd33e05629c68ee08d867e5f60
pkgname = cheqlist
diff --git a/PKGBUILD b/PKGBUILD
index cbb8415cd0b..ef5937abf07 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Chris Warrick <aur@chriswarrick.com>
pkgname=cheqlist
_pyname=cheqlist
-pkgver=0.1.3
+pkgver=0.1.4
pkgrel=1
pkgdesc='A simple Qt checklist.'
arch=('any')
@@ -10,7 +10,8 @@ license=('BSD')
depends=('python' 'python-setuptools' 'python-pyqt5')
options=(!emptydirs)
source=("https://pypi.python.org/packages/source/${_pyname:0:1}/${_pyname}/${_pyname}-${pkgver}.tar.gz")
-md5sums=('710d9865f45de6ab8697149a56426abd')
+md5sums=('90fd14fd33e05629c68ee08d867e5f60')
+install=cheqlist.install
package() {
cd "${srcdir}/${_pyname}-${pkgver}"
diff --git a/cheqlist.install b/cheqlist.install
new file mode 100644
index 00000000000..af00906a054
--- /dev/null
+++ b/cheqlist.install
@@ -0,0 +1,13 @@
+post_install() {
+ echo "==> Updating MIME database..."
+ update-mime-database /usr/share/mime
+ echo "Done."
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}