From cb33decb284fa3b08652b04f7290d9d4140a927f Mon Sep 17 00:00:00 2001 From: root Date: Thu, 24 Jan 2013 00:06:07 -0800 Subject: Thu Jan 24 00:06:07 PST 2013 --- community/mpdscribble/PKGBUILD | 22 +++++++++------------- community/mpdscribble/service | 5 +---- 2 files changed, 10 insertions(+), 17 deletions(-) (limited to 'community/mpdscribble') diff --git a/community/mpdscribble/PKGBUILD b/community/mpdscribble/PKGBUILD index 75a653a32..f7198378c 100644 --- a/community/mpdscribble/PKGBUILD +++ b/community/mpdscribble/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 75389 2012-08-21 18:46:41Z bpiotrowski $ +# $Id: PKGBUILD 82753 2013-01-23 20:52:45Z bpiotrowski $ # Maintainer: Bartłomiej Piotrowski # Contributor: Thomas Dziedzic < gostrc at gmail > # Contributor: evr @@ -6,21 +6,20 @@ pkgname=mpdscribble pkgver=0.22 -pkgrel=5 -pkgdesc='An mpd client which submits track info to last.fm' +pkgrel=6 +pkgdesc='MPD client which submits track info to Last.fm' url='http://mpd.wikia.com/wiki/Client:Mpdscribble' arch=('i686' 'x86_64') license=('GPL') depends=('libsoup' 'glib2' 'libmpdclient') -install='mpdscribble.install' +install=$pkgname.install source=(http://downloads.sourceforge.net/musicpd/mpdscribble-${pkgver}.tar.bz2 - rc.d service) -md5sums=('652ee927b797e9a4cef45494e77047db' - 'f54c937c7b3ab8e4d39e4b903c2993fc' - '7e0a80c12225b0fe7be9c993f0079e95') + service) +sha256sums=('1cde2b5f8c70f0e3e6f059d01bf0b0f2eac2b29fbcd14b01a8a5103e603feb41' + '8a6568235e8b2ac7535a6f99f4401450a4162bac0cacb938af2ec39a808e1132') build() { - cd mpdscribble-${pkgver} + cd mpdscribble-$pkgver ./configure \ --prefix=/usr \ @@ -31,13 +30,10 @@ build() { } package() { - cd mpdscribble-${pkgver} + cd mpdscribble-$pkgver make DESTDIR="${pkgdir}" install - install -D "${srcdir}"/rc.d \ - "${pkgdir}"/etc/rc.d/mpdscribble - install -Dm644 "${srcdir}"/service \ "${pkgdir}"/usr/lib/systemd/system/mpdscribble.service diff --git a/community/mpdscribble/service b/community/mpdscribble/service index 1475866ce..25f64d7d5 100644 --- a/community/mpdscribble/service +++ b/community/mpdscribble/service @@ -1,12 +1,9 @@ [Unit] Description=last.fm updater for MPD -Wants=mpd.service After=mpd.service [Service] -Type=forking -PIDFile=/run/mpdscribble.pid -ExecStart=/usr/bin/mpdscribble --pidfile /run/mpdscribble.pid +ExecStart=/usr/bin/mpdscribble --no-daemon [Install] WantedBy=multi-user.target -- cgit v1.2.3-54-g00ecf