clamz: switched to pacman hooks #74

This commit is contained in:
Francesco Marinucci 2018-12-28 10:19:52 +01:00
parent 4f6664fa1d
commit b07057ae8c
2 changed files with 5 additions and 8 deletions

View File

@ -1,15 +1,15 @@
# Contributions from Arch: https://projects.archlinux.org/svntogit/community.git/tree/trunk?h=packages/clamz
# Contributions from Arch: https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=clamz
pkgname=clamz
pkgver=0.5
pkgrel=2
pkgrel=3
pkgdesc="Command-line program to download MP3 files from Amazon.com's music store."
arch=('x86_64')
url='http://code.google.com/p/clamz/'
license=('GPL3')
depends=('libgcrypt' 'curl' 'expat' 'shared-mime-info' 'desktop-file-utils')
install='clamz.install'
source=("http://clamz.googlecode.com/files/clamz-${pkgver}.tar.gz")
source=("https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/clamz/clamz-${pkgver}.tar.gz")
md5sums=('84543c9346b285bdc218879e241941a8')
build() {

View File

@ -1,14 +1,11 @@
post_install() {
update-mime-database /usr/share/mime
update-desktop-database -q
}
post_upgrade() {
update-mime-database /usr/share/mime
update-desktop-database -q
}
post_remove() {
update-mime-database /usr/share/mime
update-desktop-database -q
}