diff options
author | Danilo Bargen | 2015-10-20 09:19:07 +0200 |
---|---|---|
committer | Danilo Bargen | 2015-10-20 09:19:07 +0200 |
commit | 6300a01a163fe111ab06ad329dc9acaa1defc748 (patch) | |
tree | e22e08d5b9c3f63b9aa7b0116e8252a617fb8087 | |
parent | 26a4e292be70d1c039a5e537ac0dbe8e58b95626 (diff) | |
download | aur-6300a01a163fe111ab06ad329dc9acaa1defc748.tar.gz |
Added librepcb-git.install file
-rw-r--r-- | PKGBUILD | 3 | ||||
-rw-r--r-- | librepcb-git.install | 16 |
2 files changed, 18 insertions, 1 deletions
@@ -2,7 +2,7 @@ pkgname=librepcb-git _fullname=LibrePCB pkgver=r549.95b8d1a -pkgrel=1 +pkgrel=3 pkgdesc="LibrePCB is a free EDA software to develop printed circuit boards." arch=('x86_64' 'i686') url="http://librepcb.org/" @@ -11,6 +11,7 @@ depends=('qt5-base' 'qt5-webkit' 'glu') makedepends=('git' 'qconf') provides=('librepcb') conflicts=('librepcb') +install=${pkgname}.install source=('git+https://github.com/LibrePCB/LibrePCB') md5sums=('SKIP') diff --git a/librepcb-git.install b/librepcb-git.install new file mode 100644 index 000000000000..423fbf48c248 --- /dev/null +++ b/librepcb-git.install @@ -0,0 +1,16 @@ +post_install() { + echo "Update icon cache..." + xdg-icon-resource forceupdate --theme hicolor &>/dev/null + echo "Update mime database..." + update-mime-database usr/share/mime &> /dev/null + echo "Update desktop database..." + update-desktop-database -q +} + +post_upgrade() { + post_install "$1" +} + +post_remove() { + post_install "$1" +} |