mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-02-03 03:17:15 +08:00
clamz: switched to pacman hooks #74
This commit is contained in:
parent
4f6664fa1d
commit
b07057ae8c
@ -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
|
pkgname=clamz
|
||||||
pkgver=0.5
|
pkgver=0.5
|
||||||
pkgrel=2
|
pkgrel=3
|
||||||
pkgdesc="Command-line program to download MP3 files from Amazon.com's music store."
|
pkgdesc="Command-line program to download MP3 files from Amazon.com's music store."
|
||||||
arch=('x86_64')
|
arch=('x86_64')
|
||||||
url='http://code.google.com/p/clamz/'
|
url='http://code.google.com/p/clamz/'
|
||||||
license=('GPL3')
|
license=('GPL3')
|
||||||
depends=('libgcrypt' 'curl' 'expat' 'shared-mime-info' 'desktop-file-utils')
|
depends=('libgcrypt' 'curl' 'expat' 'shared-mime-info' 'desktop-file-utils')
|
||||||
install='clamz.install'
|
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')
|
md5sums=('84543c9346b285bdc218879e241941a8')
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
@ -26,4 +26,4 @@ build() {
|
|||||||
package() {
|
package() {
|
||||||
cd "${srcdir}/${pkgname}-${pkgver}"
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
||||||
make DESTDIR="${pkgdir}" install
|
make DESTDIR="${pkgdir}" install
|
||||||
}
|
}
|
||||||
|
@ -1,14 +1,11 @@
|
|||||||
post_install() {
|
post_install() {
|
||||||
update-mime-database /usr/share/mime
|
update-mime-database /usr/share/mime
|
||||||
update-desktop-database -q
|
|
||||||
}
|
}
|
||||||
|
|
||||||
post_upgrade() {
|
post_upgrade() {
|
||||||
update-mime-database /usr/share/mime
|
update-mime-database /usr/share/mime
|
||||||
update-desktop-database -q
|
|
||||||
}
|
}
|
||||||
|
|
||||||
post_remove() {
|
post_remove() {
|
||||||
update-mime-database /usr/share/mime
|
update-mime-database /usr/share/mime
|
||||||
update-desktop-database -q
|
}
|
||||||
}
|
|
||||||
|
Loading…
Reference in New Issue
Block a user