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

This commit is contained in:
Francesco Marinucci 2018-12-04 18:55:35 +01:00
parent c01d8ed98e
commit 3168a1dcd1
2 changed files with 1 additions and 14 deletions

View File

@ -2,7 +2,7 @@
pkgname=qmmp
pkgver=1.2.4
pkgrel=1
pkgrel=2
pkgdesc="Qt based audio-player"
arch=('x86_64')
url="http://qmmp.ylsoftware.com/"
@ -29,7 +29,6 @@ optdepends=('flac: native FLAC support'
'ffmpeg' 'libsamplerate' 'wavpack')
categories=('multimedia')
screenshot=('http://qmmp.ylsoftware.com/images/qmmp-0.3.0_full_1.png')
install=$pkgname.install
source=("$pkgname-$pkgver::http://qmmp.ylsoftware.com/files/$pkgname-$pkgver.tar.bz2")
sha256sums=('224904f073e3921a080dca008e6c99e3d606f5442d1df08835cba000a069ae66')

View File

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