mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 18:42:12 +08:00
29 lines
880 B
Bash
29 lines
880 B
Bash
|
# Contributions from Arch: https://projects.archlinux.org/svntogit/community.git/tree/trunk?h=packages/clamz
|
||
|
|
||
|
pkgname=clamz
|
||
|
pkgver=0.5
|
||
|
pkgrel=2
|
||
|
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")
|
||
|
md5sums=('84543c9346b285bdc218879e241941a8')
|
||
|
|
||
|
build() {
|
||
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
||
|
|
||
|
# Fix issue with update-mime-database
|
||
|
sed -i 's|$(UPDATE_DESKTOP_DATABASE)\ $(DESTDIR)$(applications_dir)||' Makefile.in
|
||
|
sed -i 's|$(UPDATE_MIME_DATABASE)\ $(DESTDIR)$(mime_dir)||' Makefile.in
|
||
|
|
||
|
./configure --prefix=/usr/
|
||
|
make
|
||
|
}
|
||
|
|
||
|
package() {
|
||
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
||
|
make DESTDIR="${pkgdir}" install
|
||
|
}
|