summaryrefslogtreecommitdiff
path: root/community/mpdscribble/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/mpdscribble/PKGBUILD')
-rw-r--r--community/mpdscribble/PKGBUILD16
1 files changed, 8 insertions, 8 deletions
diff --git a/community/mpdscribble/PKGBUILD b/community/mpdscribble/PKGBUILD
index 9ddf68717..182670fbd 100644
--- a/community/mpdscribble/PKGBUILD
+++ b/community/mpdscribble/PKGBUILD
@@ -3,21 +3,21 @@
# Contributor: Luiz Ribeiro <luizribeiro@gmail.com>
pkgname=mpdscribble
-pkgver=0.21
-pkgrel=4
+pkgver=0.22
+pkgrel=2
pkgdesc='An mpd client which submits track info to last.fm'
url='http://mpd.wikia.com/wiki/Client:Mpdscribble'
arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
depends=('libsoup' 'glib2' 'libmpdclient')
-install="${pkgname}.install"
+install='mpdscribble.install'
source=("http://downloads.sourceforge.net/musicpd/mpdscribble-${pkgver}.tar.bz2"
'mpdscribble')
-md5sums=('3dc96f9179b8d7efd02cbbceb345e529'
+md5sums=('652ee927b797e9a4cef45494e77047db'
'f54c937c7b3ab8e4d39e4b903c2993fc')
build() {
- cd ${pkgname}-${pkgver}
+ cd mpdscribble-${pkgver}
./configure \
--prefix=/usr \
@@ -28,7 +28,7 @@ build() {
}
package() {
- cd ${pkgname}-${pkgver}
+ cd mpdscribble-${pkgver}
make DESTDIR=${pkgdir} install
@@ -36,8 +36,8 @@ package() {
${pkgdir}/etc/rc.d/mpdscribble
# default config is really an example
- install -m644 ${pkgdir}/etc/mpdscribble.conf \
- ${pkgdir}/etc/mpdscribble.conf.example
+ install -D -m644 ${pkgdir}/etc/mpdscribble.conf \
+ ${pkgdir}/usr/share/mpdscribble/mpdscribble.conf.example
rm -f ${pkgdir}/etc/mpdscribble.conf
install -d ${pkgdir}/var/cache/mpdscribble