summaryrefslogtreecommitdiff
path: root/community/id3lib-rcc/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-07-19 01:10:32 -0700
committerroot <root@rshg054.dnsready.net>2013-07-19 01:10:32 -0700
commit8fbc0076a4827ddc6af92e0b9daa4c4c31450808 (patch)
tree03fd0e2921ebd53228d9a93e32ed3976b636cbea /community/id3lib-rcc/PKGBUILD
parente445a313723389ba9ee1fded025c567dae5b21ea (diff)
Fri Jul 19 01:09:18 PDT 2013
Diffstat (limited to 'community/id3lib-rcc/PKGBUILD')
-rw-r--r--community/id3lib-rcc/PKGBUILD43
1 files changed, 43 insertions, 0 deletions
diff --git a/community/id3lib-rcc/PKGBUILD b/community/id3lib-rcc/PKGBUILD
new file mode 100644
index 000000000..cb62b1ef9
--- /dev/null
+++ b/community/id3lib-rcc/PKGBUILD
@@ -0,0 +1,43 @@
+# $Id: PKGBUILD 55559 2011-09-14 10:08:38Z andrea $
+# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
+
+pkgname=id3lib-rcc
+pkgver=3.8.3
+pkgrel=7
+pkgdesc="id3lib with librcc patch"
+arch=('i686' 'x86_64')
+url="http://id3lib.sourceforge.net/"
+license=('GPL')
+depends=('libxml2' 'librcc' 'gcc-libs')
+provides=('id3lib')
+conflicts=('id3lib')
+options=('!libtool')
+source=(http://downloads.sourceforge.net/id3lib/id3lib-$pkgver.tar.gz
+ http://downloads.sourceforge.net/rusxmms/id3lib-csa2.tar.bz2
+ arch.patch
+ id3lib-gcc4.patch)
+md5sums=('19f27ddd2dda4b2d26a559a4f0f402a7'
+ '608a475f119974c8f72406fd84e1030f'
+ '8b503330d653578f75fc9f2bf3c3833d'
+ '94191cf1fe6f5fd391d95a6de81a48b9')
+
+build() {
+ cd "${srcdir}"/id3lib-$pkgver
+
+ patch -Np1 -i "${srcdir}"/id3lib/id3lib-ds-rcc.patch
+ patch -Np1 -i "${srcdir}"/id3lib-gcc4.patch
+ cd src
+ patch -Np0 -i "${srcdir}"/arch.patch
+ cd ..
+
+ sed -i 's#iomanip.h##' configure
+ sed -i 's|size_t size_t, size_t \*size_t|size_t s1, size_t *s2|' src/rccpatch.h
+
+ ./configure --prefix=/usr
+ make LDFLAGS=-lrcc
+}
+
+package() {
+ cd "${srcdir}"/id3lib-$pkgver
+ make DESTDIR="${pkgdir}" install
+}