Commit b07057ae authored by Francesco Marinucci's avatar Francesco Marinucci

clamz: switched to pacman hooks #74

parent 4f6664fa
Pipeline #2106 passed with stages
in 3 minutes and 24 seconds
# 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() {
......@@ -26,4 +26,4 @@ build() {
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" install
}
\ No newline at end of file
}
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
}
\ No newline at end of file
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment