kchmviewer: switched to pacman hooks, as per #73 and #74

This commit is contained in:
Francesco Marinucci 2018-12-02 19:30:25 +01:00
parent 776dc2e396
commit b10608b981
2 changed files with 1 additions and 13 deletions

View File

@ -1,6 +1,6 @@
pkgname=kchmviewer
pkgver=7.7
pkgrel=1
pkgrel=2
pkgdesc="A .chm files (MS HTML help file format) viewer"
arch=('x86_64')
url="http://kchmviewer.sourceforge.net/"
@ -9,7 +9,6 @@ depends=('desktop-file-utils' 'chmlib' 'xdg-utils' 'libzip' 'qt5-webkit')
makedepends=('qt5-tools')
categories=('office')
options=('libtool')
install=${pkgname}.install
source=("$pkgname-$pkgver::http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz"
$pkgname-$pkgver-underlinking.patch
fix-qt5-build.patch)

View File

@ -1,11 +0,0 @@
post_install() {
which xdg-icon-resource 1>/dev/null 2>/dev/null && xdg-icon-resource forceupdate || true
}
post_upgrade() {
post_install $1
}
post_remove() {
post_install $1
}