[arch-commits] Commit in mpdscribble/repos (14 files)
bpiotrowski at nymeria.archlinux.org
bpiotrowski at nymeria.archlinux.org
Wed Jan 23 20:52:45 UTC 2013
Date: Wednesday, January 23, 2013 @ 21:52:45
Author: bpiotrowski
Revision: 82753
archrelease: copy trunk to community-i686, community-x86_64
Added:
mpdscribble/repos/community-i686/PKGBUILD
(from rev 82752, mpdscribble/trunk/PKGBUILD)
mpdscribble/repos/community-i686/mpdscribble.install
(from rev 82752, mpdscribble/trunk/mpdscribble.install)
mpdscribble/repos/community-i686/service
(from rev 82752, mpdscribble/trunk/service)
mpdscribble/repos/community-x86_64/PKGBUILD
(from rev 82752, mpdscribble/trunk/PKGBUILD)
mpdscribble/repos/community-x86_64/mpdscribble.install
(from rev 82752, mpdscribble/trunk/mpdscribble.install)
mpdscribble/repos/community-x86_64/service
(from rev 82752, mpdscribble/trunk/service)
Deleted:
mpdscribble/repos/community-i686/PKGBUILD
mpdscribble/repos/community-i686/mpdscribble.install
mpdscribble/repos/community-i686/rc.d
mpdscribble/repos/community-i686/service
mpdscribble/repos/community-x86_64/PKGBUILD
mpdscribble/repos/community-x86_64/mpdscribble.install
mpdscribble/repos/community-x86_64/rc.d
mpdscribble/repos/community-x86_64/service
--------------------------------------+
community-i686/PKGBUILD | 98 +++++++++++++++------------------
community-i686/mpdscribble.install | 44 +++++++-------
community-i686/rc.d | 37 ------------
community-i686/service | 21 +++----
community-x86_64/PKGBUILD | 98 +++++++++++++++------------------
community-x86_64/mpdscribble.install | 44 +++++++-------
community-x86_64/rc.d | 37 ------------
community-x86_64/service | 21 +++----
8 files changed, 156 insertions(+), 244 deletions(-)
Deleted: community-i686/PKGBUILD
===================================================================
--- community-i686/PKGBUILD 2013-01-23 20:52:12 UTC (rev 82752)
+++ community-i686/PKGBUILD 2013-01-23 20:52:45 UTC (rev 82753)
@@ -1,51 +0,0 @@
-# $Id$
-# Maintainer: Bartłomiej Piotrowski <nospam at bpiotrowwski.pl>
-# Contributor: Thomas Dziedzic < gostrc at gmail >
-# Contributor: evr <evanroman at gmail>
-# Contributor: Luiz Ribeiro <luizribeiro at gmail.com>
-
-pkgname=mpdscribble
-pkgver=0.22
-pkgrel=5
-pkgdesc='An 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'
-source=(http://downloads.sourceforge.net/musicpd/mpdscribble-${pkgver}.tar.bz2
- rc.d service)
-md5sums=('652ee927b797e9a4cef45494e77047db'
- 'f54c937c7b3ab8e4d39e4b903c2993fc'
- '7e0a80c12225b0fe7be9c993f0079e95')
-
-build() {
- cd mpdscribble-${pkgver}
-
- ./configure \
- --prefix=/usr \
- --sysconfdir=/etc \
- --with-http-client=soup
-
- make
-}
-
-package() {
- 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
-
- # default config is really an 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
- touch "${pkgdir}"/var/cache/mpdscribble/mpdscribble.cache
-}
Copied: mpdscribble/repos/community-i686/PKGBUILD (from rev 82752, mpdscribble/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD (rev 0)
+++ community-i686/PKGBUILD 2013-01-23 20:52:45 UTC (rev 82753)
@@ -0,0 +1,47 @@
+# $Id$
+# Maintainer: Bartłomiej Piotrowski <nospam at bpiotrowwski.pl>
+# Contributor: Thomas Dziedzic < gostrc at gmail >
+# Contributor: evr <evanroman at gmail>
+# Contributor: Luiz Ribeiro <luizribeiro at gmail.com>
+
+pkgname=mpdscribble
+pkgver=0.22
+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=$pkgname.install
+source=(http://downloads.sourceforge.net/musicpd/mpdscribble-${pkgver}.tar.bz2
+ service)
+sha256sums=('1cde2b5f8c70f0e3e6f059d01bf0b0f2eac2b29fbcd14b01a8a5103e603feb41'
+ '8a6568235e8b2ac7535a6f99f4401450a4162bac0cacb938af2ec39a808e1132')
+
+build() {
+ cd mpdscribble-$pkgver
+
+ ./configure \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --with-http-client=soup
+
+ make
+}
+
+package() {
+ cd mpdscribble-$pkgver
+
+ make DESTDIR="${pkgdir}" install
+
+ install -Dm644 "${srcdir}"/service \
+ "${pkgdir}"/usr/lib/systemd/system/mpdscribble.service
+
+ # default config is really an 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
+ touch "${pkgdir}"/var/cache/mpdscribble/mpdscribble.cache
+}
Deleted: community-i686/mpdscribble.install
===================================================================
--- community-i686/mpdscribble.install 2013-01-23 20:52:12 UTC (rev 82752)
+++ community-i686/mpdscribble.install 2013-01-23 20:52:45 UTC (rev 82753)
@@ -1,22 +0,0 @@
-post_install() {
- echo 'An example config is provided in /usr/share/mpdscribble/mpdscribble.conf.example'
- echo
- echo 'For system-wide config copy this file to /etc/mpdscribble.conf'
- echo 'For per-user config copy this file to ~/.mpdscribble/mpdscribble.conf'
-}
-
-## arg 1: the new package version
-## arg 2: the old package version
-pre_upgrade() {
- # removed /etc/mpdscribble.conf on FEB 19 2011
- # only display warning for people with mpdscribble older then 0.21
- if (( "$(vercmp 0.21-1 $2)" > 0 )) && [[ -f /etc/mpdscribble.conf ]]
- then
- echo "$1 is new $2 is old"
- cp /etc/mpdscribble.conf /etc/mpdscribble.conf.oldbackup
- echo 'The package does not provide /etc/mpdscribble.conf anymore.'
- echo 'Copied /etc/mpdscribble.conf to /etc/mpdscribble.conf.oldbackup'
- echo
- echo 'The example file is now located at /etc/mpdscribble.conf.example'
- fi
-}
Copied: mpdscribble/repos/community-i686/mpdscribble.install (from rev 82752, mpdscribble/trunk/mpdscribble.install)
===================================================================
--- community-i686/mpdscribble.install (rev 0)
+++ community-i686/mpdscribble.install 2013-01-23 20:52:45 UTC (rev 82753)
@@ -0,0 +1,22 @@
+post_install() {
+ echo 'An example config is provided in /usr/share/mpdscribble/mpdscribble.conf.example'
+ echo
+ echo 'For system-wide config copy this file to /etc/mpdscribble.conf'
+ echo 'For per-user config copy this file to ~/.mpdscribble/mpdscribble.conf'
+}
+
+## arg 1: the new package version
+## arg 2: the old package version
+pre_upgrade() {
+ # removed /etc/mpdscribble.conf on FEB 19 2011
+ # only display warning for people with mpdscribble older then 0.21
+ if (( "$(vercmp 0.21-1 $2)" > 0 )) && [[ -f /etc/mpdscribble.conf ]]
+ then
+ echo "$1 is new $2 is old"
+ cp /etc/mpdscribble.conf /etc/mpdscribble.conf.oldbackup
+ echo 'The package does not provide /etc/mpdscribble.conf anymore.'
+ echo 'Copied /etc/mpdscribble.conf to /etc/mpdscribble.conf.oldbackup'
+ echo
+ echo 'The example file is now located at /etc/mpdscribble.conf.example'
+ fi
+}
Deleted: community-i686/rc.d
===================================================================
--- community-i686/rc.d 2013-01-23 20:52:12 UTC (rev 82752)
+++ community-i686/rc.d 2013-01-23 20:52:45 UTC (rev 82753)
@@ -1,37 +0,0 @@
-#!/bin/bash
-
-. /etc/rc.conf
-. /etc/rc.d/functions
-
-PID=`pidof -o %PPID /usr/bin/mpdscribble`
-case "$1" in
- start)
- stat_busy "Starting mpdscribble"
- [ -z "$PID" ] && /usr/bin/mpdscribble &
- if [ $? -gt 0 ]; then
- stat_fail
- else
- echo $PID > /var/run/mpdscribble.pid
- add_daemon mpdscribble
- stat_done
- fi
- ;;
- stop)
- stat_busy "Stopping mpdscribble"
- [ ! -z "$PID" ] && kill $PID &> /dev/null
- if [ $? -gt 0 ]; then
- stat_fail
- else
- rm /var/run/mpdscribble.pid
- rm_daemon mpdscribble
- stat_done
- fi
- ;;
- restart)
- $0 stop
- sleep 1
- $0 start
- ;;
- *)
- echo "usage: $0 {start|stop|restart}"
-esac
Deleted: community-i686/service
===================================================================
--- community-i686/service 2013-01-23 20:52:12 UTC (rev 82752)
+++ community-i686/service 2013-01-23 20:52:45 UTC (rev 82753)
@@ -1,12 +0,0 @@
-[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
-
-[Install]
-WantedBy=multi-user.target
Copied: mpdscribble/repos/community-i686/service (from rev 82752, mpdscribble/trunk/service)
===================================================================
--- community-i686/service (rev 0)
+++ community-i686/service 2013-01-23 20:52:45 UTC (rev 82753)
@@ -0,0 +1,9 @@
+[Unit]
+Description=last.fm updater for MPD
+After=mpd.service
+
+[Service]
+ExecStart=/usr/bin/mpdscribble --no-daemon
+
+[Install]
+WantedBy=multi-user.target
Deleted: community-x86_64/PKGBUILD
===================================================================
--- community-x86_64/PKGBUILD 2013-01-23 20:52:12 UTC (rev 82752)
+++ community-x86_64/PKGBUILD 2013-01-23 20:52:45 UTC (rev 82753)
@@ -1,51 +0,0 @@
-# $Id$
-# Maintainer: Bartłomiej Piotrowski <nospam at bpiotrowwski.pl>
-# Contributor: Thomas Dziedzic < gostrc at gmail >
-# Contributor: evr <evanroman at gmail>
-# Contributor: Luiz Ribeiro <luizribeiro at gmail.com>
-
-pkgname=mpdscribble
-pkgver=0.22
-pkgrel=5
-pkgdesc='An 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'
-source=(http://downloads.sourceforge.net/musicpd/mpdscribble-${pkgver}.tar.bz2
- rc.d service)
-md5sums=('652ee927b797e9a4cef45494e77047db'
- 'f54c937c7b3ab8e4d39e4b903c2993fc'
- '7e0a80c12225b0fe7be9c993f0079e95')
-
-build() {
- cd mpdscribble-${pkgver}
-
- ./configure \
- --prefix=/usr \
- --sysconfdir=/etc \
- --with-http-client=soup
-
- make
-}
-
-package() {
- 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
-
- # default config is really an 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
- touch "${pkgdir}"/var/cache/mpdscribble/mpdscribble.cache
-}
Copied: mpdscribble/repos/community-x86_64/PKGBUILD (from rev 82752, mpdscribble/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD (rev 0)
+++ community-x86_64/PKGBUILD 2013-01-23 20:52:45 UTC (rev 82753)
@@ -0,0 +1,47 @@
+# $Id$
+# Maintainer: Bartłomiej Piotrowski <nospam at bpiotrowwski.pl>
+# Contributor: Thomas Dziedzic < gostrc at gmail >
+# Contributor: evr <evanroman at gmail>
+# Contributor: Luiz Ribeiro <luizribeiro at gmail.com>
+
+pkgname=mpdscribble
+pkgver=0.22
+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=$pkgname.install
+source=(http://downloads.sourceforge.net/musicpd/mpdscribble-${pkgver}.tar.bz2
+ service)
+sha256sums=('1cde2b5f8c70f0e3e6f059d01bf0b0f2eac2b29fbcd14b01a8a5103e603feb41'
+ '8a6568235e8b2ac7535a6f99f4401450a4162bac0cacb938af2ec39a808e1132')
+
+build() {
+ cd mpdscribble-$pkgver
+
+ ./configure \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --with-http-client=soup
+
+ make
+}
+
+package() {
+ cd mpdscribble-$pkgver
+
+ make DESTDIR="${pkgdir}" install
+
+ install -Dm644 "${srcdir}"/service \
+ "${pkgdir}"/usr/lib/systemd/system/mpdscribble.service
+
+ # default config is really an 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
+ touch "${pkgdir}"/var/cache/mpdscribble/mpdscribble.cache
+}
Deleted: community-x86_64/mpdscribble.install
===================================================================
--- community-x86_64/mpdscribble.install 2013-01-23 20:52:12 UTC (rev 82752)
+++ community-x86_64/mpdscribble.install 2013-01-23 20:52:45 UTC (rev 82753)
@@ -1,22 +0,0 @@
-post_install() {
- echo 'An example config is provided in /usr/share/mpdscribble/mpdscribble.conf.example'
- echo
- echo 'For system-wide config copy this file to /etc/mpdscribble.conf'
- echo 'For per-user config copy this file to ~/.mpdscribble/mpdscribble.conf'
-}
-
-## arg 1: the new package version
-## arg 2: the old package version
-pre_upgrade() {
- # removed /etc/mpdscribble.conf on FEB 19 2011
- # only display warning for people with mpdscribble older then 0.21
- if (( "$(vercmp 0.21-1 $2)" > 0 )) && [[ -f /etc/mpdscribble.conf ]]
- then
- echo "$1 is new $2 is old"
- cp /etc/mpdscribble.conf /etc/mpdscribble.conf.oldbackup
- echo 'The package does not provide /etc/mpdscribble.conf anymore.'
- echo 'Copied /etc/mpdscribble.conf to /etc/mpdscribble.conf.oldbackup'
- echo
- echo 'The example file is now located at /etc/mpdscribble.conf.example'
- fi
-}
Copied: mpdscribble/repos/community-x86_64/mpdscribble.install (from rev 82752, mpdscribble/trunk/mpdscribble.install)
===================================================================
--- community-x86_64/mpdscribble.install (rev 0)
+++ community-x86_64/mpdscribble.install 2013-01-23 20:52:45 UTC (rev 82753)
@@ -0,0 +1,22 @@
+post_install() {
+ echo 'An example config is provided in /usr/share/mpdscribble/mpdscribble.conf.example'
+ echo
+ echo 'For system-wide config copy this file to /etc/mpdscribble.conf'
+ echo 'For per-user config copy this file to ~/.mpdscribble/mpdscribble.conf'
+}
+
+## arg 1: the new package version
+## arg 2: the old package version
+pre_upgrade() {
+ # removed /etc/mpdscribble.conf on FEB 19 2011
+ # only display warning for people with mpdscribble older then 0.21
+ if (( "$(vercmp 0.21-1 $2)" > 0 )) && [[ -f /etc/mpdscribble.conf ]]
+ then
+ echo "$1 is new $2 is old"
+ cp /etc/mpdscribble.conf /etc/mpdscribble.conf.oldbackup
+ echo 'The package does not provide /etc/mpdscribble.conf anymore.'
+ echo 'Copied /etc/mpdscribble.conf to /etc/mpdscribble.conf.oldbackup'
+ echo
+ echo 'The example file is now located at /etc/mpdscribble.conf.example'
+ fi
+}
Deleted: community-x86_64/rc.d
===================================================================
--- community-x86_64/rc.d 2013-01-23 20:52:12 UTC (rev 82752)
+++ community-x86_64/rc.d 2013-01-23 20:52:45 UTC (rev 82753)
@@ -1,37 +0,0 @@
-#!/bin/bash
-
-. /etc/rc.conf
-. /etc/rc.d/functions
-
-PID=`pidof -o %PPID /usr/bin/mpdscribble`
-case "$1" in
- start)
- stat_busy "Starting mpdscribble"
- [ -z "$PID" ] && /usr/bin/mpdscribble &
- if [ $? -gt 0 ]; then
- stat_fail
- else
- echo $PID > /var/run/mpdscribble.pid
- add_daemon mpdscribble
- stat_done
- fi
- ;;
- stop)
- stat_busy "Stopping mpdscribble"
- [ ! -z "$PID" ] && kill $PID &> /dev/null
- if [ $? -gt 0 ]; then
- stat_fail
- else
- rm /var/run/mpdscribble.pid
- rm_daemon mpdscribble
- stat_done
- fi
- ;;
- restart)
- $0 stop
- sleep 1
- $0 start
- ;;
- *)
- echo "usage: $0 {start|stop|restart}"
-esac
Deleted: community-x86_64/service
===================================================================
--- community-x86_64/service 2013-01-23 20:52:12 UTC (rev 82752)
+++ community-x86_64/service 2013-01-23 20:52:45 UTC (rev 82753)
@@ -1,12 +0,0 @@
-[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
-
-[Install]
-WantedBy=multi-user.target
Copied: mpdscribble/repos/community-x86_64/service (from rev 82752, mpdscribble/trunk/service)
===================================================================
--- community-x86_64/service (rev 0)
+++ community-x86_64/service 2013-01-23 20:52:45 UTC (rev 82753)
@@ -0,0 +1,9 @@
+[Unit]
+Description=last.fm updater for MPD
+After=mpd.service
+
+[Service]
+ExecStart=/usr/bin/mpdscribble --no-daemon
+
+[Install]
+WantedBy=multi-user.target
More information about the arch-commits
mailing list