quiterss: switch to pacman hooks (#73 and #74)

This commit is contained in:
Francesco Marinucci 2018-12-05 14:47:34 +01:00
parent 7e5b7f6216
commit dc7790cf19
2 changed files with 2 additions and 24 deletions

View File

@ -1,6 +1,6 @@
pkgname=quiterss
_pkgname=QuiteRSS
pkgver=0.18.9
pkgver=0.18.12
pkgrel=1
pkgdesc="QuiteRSS is fast and light rss ,feed reader"
arch=('x86_64')
@ -8,9 +8,8 @@ url='http://quiterss.org/'
license=('GPL3')
depends=('qt5-base' 'qt5-webkit' 'qt5-multimedia' 'phonon-qt5' 'icu' 'sqlite3')
makedepends=('cmake' 'gettext' 'qt5-tools')
install=${pkgname}.install
source=("http://quiterss.org/files/${pkgver}/${_pkgname}-${pkgver}-src.tar.gz")
sha256sums=('73bd119481bef42e480beaac2b860657f816db0dcba8e2d2176833252b6b7366')
sha256sums=('553461bcf266e62fc91aa93f7f6bde2176785dccf9311ded6c651ffe5d68fe6f')
build() {
cd ${srcdir}

View File

@ -1,21 +0,0 @@
post_install() {
update-desktop-database -q
xdg-icon-resource forceupdate --theme hicolor
}
pre_upgrade() {
pre_remove $1
}
post_upgrade() {
post_install $1
}
pre_remove() {
true
}
post_remove() {
update-desktop-database -q
gtk-update-icon-cache usr/share/icons/hicolor
}