desktop/clamz/PKGBUILD

30 lines
912 B
Bash
Raw Normal View History

2018-12-28 17:19:52 +08:00
# Contributions from Arch: https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=clamz
2016-01-28 01:27:11 +08:00
pkgname=clamz
pkgver=0.5
2018-12-28 17:19:52 +08:00
pkgrel=3
2016-01-28 01:27:11 +08:00
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'
2018-12-28 17:19:52 +08:00
source=("https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/clamz/clamz-${pkgver}.tar.gz")
2016-01-28 01:27:11 +08:00
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
2018-12-28 17:19:52 +08:00
}