From 35742ff57b7b052dff497273e238578aa091407d Mon Sep 17 00:00:00 2001 From: root Date: Sun, 21 Jul 2013 01:09:07 -0700 Subject: Sun Jul 21 01:08:40 PDT 2013 --- extra/mpd/PKGBUILD | 12 ++++++++++-- extra/purple-plugin-pack/PKGBUILD | 6 +++--- 2 files changed, 13 insertions(+), 5 deletions(-) (limited to 'extra') diff --git a/extra/mpd/PKGBUILD b/extra/mpd/PKGBUILD index f89dc5a0a..7e7ece279 100644 --- a/extra/mpd/PKGBUILD +++ b/extra/mpd/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 182602 2013-04-10 23:39:58Z bisson $ +# $Id: PKGBUILD 191202 2013-07-20 00:58:51Z bisson $ # Maintainer: Gaetan Bisson # Contributor: Angel Velasquez # Contributor: Andrea Scarpino @@ -7,7 +7,7 @@ pkgname=mpd pkgver=0.17.4 -pkgrel=1 +pkgrel=3 pkgdesc='Flexible, powerful, server-side application for playing music' url='http://www.musicpd.org/' license=('GPL') @@ -23,6 +23,12 @@ sha1sums=('f60b54e368fe74fde2fd4571227b0428fe0ae3cb' backup=('etc/mpd.conf') install=install +prepare() { + cd "${srcdir}/${pkgname}-${pkgver}" + sed 's:cdio/paranoia.h:cdio/paranoia/paranoia.h:g' -i src/input/cdio_paranoia_input_plugin.c + sed 's:AVCODEC_MAX_AUDIO_FRAME_SIZE:192000:g' -i src/decoder/ffmpeg_decoder_plugin.c +} + build() { cd "${srcdir}/${pkgname}-${pkgver}" ./configure \ @@ -40,9 +46,11 @@ build() { package() { cd "${srcdir}/${pkgname}-${pkgver}" make DESTDIR="${pkgdir}" install + install -d "${pkgdir}"/usr/lib/systemd/user install -d -g 45 -o 45 "${pkgdir}"/var/lib/mpd/playlists install -Dm644 doc/mpdconf.example "${pkgdir}"/etc/mpd.conf install -Dm644 ../tmpfiles.d "${pkgdir}"/usr/lib/tmpfiles.d/mpd.conf + ln -s ../system/mpd.service "${pkgdir}"/usr/lib/systemd/user/mpd.service sed \ -e '/^#playlist_directory/c playlist_directory "/var/lib/mpd/playlists"' \ -e '/^#db_file/c db_file "/var/lib/mpd/mpd.db"' \ diff --git a/extra/purple-plugin-pack/PKGBUILD b/extra/purple-plugin-pack/PKGBUILD index 30f9b0ab5..5a73aeb07 100644 --- a/extra/purple-plugin-pack/PKGBUILD +++ b/extra/purple-plugin-pack/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 144607 2011-12-08 01:03:26Z foutrelis $ +# $Id: PKGBUILD 191204 2013-07-20 01:49:05Z foutrelis $ # Maintainer: Evangelos Foutras # Contributor: Ionut Biru # Contributor: Alexander Fehr @@ -9,12 +9,12 @@ pkgver=2.7.0 pkgrel=1 pkgdesc="Compilation of plugins for the libpurple family of IM clients" arch=('i686' 'x86_64') -url="https://www.guifications.org/projects/purple-plugin-pack" +url="https://bitbucket.org/rekkanoryo/purple-plugin-pack" license=('GPL') depends=('libpurple') makedepends=('intltool' 'gettext' 'python2' 'pidgin') options=('!libtool') -source=(https://www.guifications.org/attachments/download/201/purple-plugin-pack-2.7.0.tar.bz2) +source=(https://bitbucket.org/rekkanoryo/$pkgname/downloads/$pkgname-$pkgver.tar.bz2) sha256sums=('2bbcf5e778a33968ba7f2864d2a6cb526a8984be3e4151642a583eee8eafb03c') build() { -- cgit v1.2.3-54-g00ecf