diff options
author | root <root@rshg054.dnsready.net> | 2013-08-13 01:33:19 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-08-13 01:33:19 -0700 |
commit | 7a65a910b77ad191d69881098c47f9b0c852d92e (patch) | |
tree | 9564e611af1442f8952a8cbddb3b0ad25ed71aab /community/libzen/PKGBUILD | |
parent | 60da6abff6c9577a783d72865f11de7a585e912e (diff) |
Tue Aug 13 01:31:08 PDT 2013
Diffstat (limited to 'community/libzen/PKGBUILD')
-rw-r--r-- | community/libzen/PKGBUILD | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/community/libzen/PKGBUILD b/community/libzen/PKGBUILD new file mode 100644 index 000000000..6e81755fc --- /dev/null +++ b/community/libzen/PKGBUILD @@ -0,0 +1,39 @@ +# $Id: PKGBUILD 90922 2013-05-15 13:46:19Z spupykin $ +# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> +# Contributor: hydro <hydro@freenet.de> + +pkgname=libzen +pkgver=0.4.29 +pkgrel=1 +pkgdesc="shared library for libmediainfo and mediainfo" +arch=('i686' 'x86_64') +url="http://mediainfo.sourceforge.net" +license=('BSD') +depends=('gcc-libs') +makedepends=('libtool' 'automake' 'autoconf') +options=('!libtool') +source=(http://downloads.sourceforge.net/zenlib/${pkgname}_${pkgver}.tar.bz2) +md5sums=('a103218d3438c63fe246cda71ad0ca88') + +build() { + cd $srcdir/ZenLib/Project/GNU/Library + [ -x configure ] || sh ./autogen + [ -f Makefile ] || ./configure --prefix=/usr --enable-shared + make clean + make +} + +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 HTTP_Client Format/Html Format/Http; do + install -dm0755 $pkgdir/usr/include/ZenLib/$i + install -m0644 $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 +} |