summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorPete Alexandrou2017-01-07 02:43:54 +0800
committerPete Alexandrou2017-01-07 02:43:54 +0800
commit67c2e7dfd52bad7cbc0f2bf467dafe4da5a00e3f (patch)
tree59205b566608edd0c28770d958c95fac10c487dd
parent1098d8622014acbc244b80857fc74f5fcb2e78a1 (diff)
downloadaur-67c2e7dfd52bad7cbc0f2bf467dafe4da5a00e3f.tar.gz
desktop icon engine refresh post install
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD3
-rw-r--r--vidcutter.install11
3 files changed, 14 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 1170fce132eb..1579949fe373 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -3,6 +3,7 @@ pkgbase = vidcutter
pkgver = 2.0.1
pkgrel = 1
url = http://vidcutter.ozmartians.com
+ install = vidcutter.install
arch = any
license = GPL3
makedepends = git
@@ -11,7 +12,6 @@ pkgbase = vidcutter
depends = python-pyqt5
depends = qt5-multimedia
depends = ffmpeg
- depends = python-qtawesome-git
conflicts = vidcutter-git
source = https://github.com/ozmartian/vidcutter/archive/2.0.1.tar.gz
md5sums = SKIP
diff --git a/PKGBUILD b/PKGBUILD
index afd38bc8a866..3e0ad02ac94d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -7,8 +7,9 @@ arch=('any')
license=('GPL3')
url="http://vidcutter.ozmartians.com"
source=(https://github.com/ozmartian/${pkgname}/archive/${pkgver}.tar.gz)
-depends=('python-pyqt5' 'qt5-multimedia' 'ffmpeg' 'python-qtawesome-git')
+depends=('python-pyqt5' 'qt5-multimedia' 'ffmpeg')
makedepends=('git' 'sed' 'python-setuptools')
+install=${pkgname}.install
provides=()
conflicts=('vidcutter-git')
md5sums=('SKIP')
diff --git a/vidcutter.install b/vidcutter.install
new file mode 100644
index 000000000000..d5e2aee69f1a
--- /dev/null
+++ b/vidcutter.install
@@ -0,0 +1,11 @@
+post_install() {
+ xdg-icon-resource forceupdate &> /dev/null
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}