summaryrefslogtreecommitdiff
path: root/community/libzen/PKGBUILD
diff options
context:
space:
mode:
authorNicolas Reynolds <fauno@kiwwwi.com.ar>2011-07-07 02:29:26 -0300
committerNicolas Reynolds <fauno@kiwwwi.com.ar>2011-07-07 02:29:26 -0300
commit3357db80ffa8a795fb5cdad0fc726470887706b0 (patch)
tree461a9d95f958d88aed12f371328b20d87b69323e /community/libzen/PKGBUILD
parent1921cc4951557545f38946cbed66431f42af26b4 (diff)
parentff64a82ccedcb1690d2f0140d63432aa49676591 (diff)
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts: community/perl-file-path-expand/PKGBUILD community/perl-file-slurp/PKGBUILD community/perl-getopt-argvfile/PKGBUILD community/perl-graphics-colornames/PKGBUILD community/perl-html-tableextract/PKGBUILD community/perl-xml-regexp/PKGBUILD community/perlio-eol/PKGBUILD community/virtualbox/PKGBUILD community/xemacs/PKGBUILD core/gawk/PKGBUILD extra/bogofilter/PKGBUILD extra/feh/PKGBUILD extra/gnome-phone-manager/PKGBUILD extra/redland/PKGBUILD extra/ruby/PKGBUILD extra/samba/PKGBUILD extra/squirrelmail/PKGBUILD extra/subversion/PKGBUILD extra/vsftpd/PKGBUILD extra/xawtv/PKGBUILD multilib-testing/lib32-mesa/PKGBUILD multilib/lib32-glib2/PKGBUILD testing/mesa/PKGBUILD
Diffstat (limited to 'community/libzen/PKGBUILD')
-rw-r--r--community/libzen/PKGBUILD16
1 files changed, 8 insertions, 8 deletions
diff --git a/community/libzen/PKGBUILD b/community/libzen/PKGBUILD
index c6aa81787..b33d81a66 100644
--- a/community/libzen/PKGBUILD
+++ b/community/libzen/PKGBUILD
@@ -1,9 +1,9 @@
-# $Id: PKGBUILD 45012 2011-04-14 09:10:57Z spupykin $
+# $Id: PKGBUILD 50993 2011-07-04 11:24:03Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: hydro <hydro@freenet.de>
pkgname=libzen
-pkgver=0.4.19
+pkgver=0.4.20
pkgrel=1
pkgdesc="shared library for libmediainfo and mediainfo"
arch=('i686' 'x86_64' 'mips64el')
@@ -13,28 +13,28 @@ depends=('gcc-libs')
makedepends=('libtool' 'automake' 'autoconf')
options=('!libtool')
source=(http://downloads.sourceforge.net/zenlib/${pkgname}_${pkgver}.tar.bz2)
-md5sums=('0deabb701564f2e616a7ee6dd71599a1')
+md5sums=('8211cc2ca8500c6af14600363be064d5')
build() {
cd $srcdir/ZenLib/Project/GNU/Library
-
sh ./autogen
./configure --prefix=/usr --enable-shared
make clean
+ sed -i '1,1i#include <stdlib.h>' ../../../Source/ZenLib/Thread.h
make
- make DESTDIR=$pkgdir install
+}
+package() {
+ cd $srcdir/ZenLib/Project/GNU/Library
+ make DESTDIR=$pkgdir install
install -dm 755 $pkgdir/usr/include/ZenLib
install -m 644 $srcdir/ZenLib/Source/ZenLib/*.h $pkgdir/usr/include/ZenLib
-
for i in Base64 HTTP_Client Format/Html Format/Http TinyXml; do
install -dm 755 $pkgdir/usr/include/ZenLib/$i
install -m 644 $srcdir/ZenLib/Source/ZenLib/$i/*.h $pkgdir/usr/include/ZenLib/$i
done
-
install -dm 755 $pkgdir/usr/lib/pkgconfig
install -m 644 $srcdir/ZenLib/Project/GNU/Library/libzen.pc $pkgdir/usr/lib/pkgconfig
sed -i -e 's|Version: |Version: '$pkgver'|g' $pkgdir/usr/lib/pkgconfig/libzen.pc
-
install -D -m 644 $srcdir/ZenLib/License.txt $pkgdir/usr/share/licenses/libzen/License.txt
}