diff options
Diffstat (limited to 'extra/libmng/PKGBUILD')
-rw-r--r-- | extra/libmng/PKGBUILD | 29 |
1 files changed, 16 insertions, 13 deletions
diff --git a/extra/libmng/PKGBUILD b/extra/libmng/PKGBUILD index 588dff8de..c6b4a626b 100644 --- a/extra/libmng/PKGBUILD +++ b/extra/libmng/PKGBUILD @@ -1,31 +1,34 @@ -# $Id: PKGBUILD 178306 2013-02-19 21:06:05Z eric $ +# $Id: PKGBUILD 193685 2013-08-28 00:06:03Z eric $ # Maintainer: Eric BĂ©langer <eric@archlinux.org> pkgname=libmng -pkgver=1.0.10 -pkgrel=4.2 +pkgver=2.0.2 +pkgrel=2 pkgdesc="A collection of routines used to create and manipulate MNG format graphics files" arch=('i686' 'x86_64' 'mips64el') url="http://www.libmng.com/" license=('custom') -depends=('zlib' 'libjpeg') +depends=('lcms2') options=('!libtool') -source=(http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.bz2) -md5sums=('eaf1476a3bb29f6190bca660e6abef16') +source=(http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.xz{,.asc} + libmng-stdio.patch) +sha1sums=('7dd35369ff5916e1823cbacef984ab1b87714b69' + 'SKIP' + '2f8b472d53791ba3a44dab9b18fb215e8b19dd77') + +prepare() { + cd ${pkgname}-${pkgver} + patch -p5 -i "${srcdir}/libmng-stdio.patch" +} build() { - cd "${srcdir}/${pkgname}-${pkgver}" - sed -i 's/AM_C_PROTOTYPES//' makefiles/configure.in - ln -s makefiles/configure.in . - ln -s makefiles/Makefile.am . - sed -i '/^AM_C_PROTOTYPES$/d' configure.in # removed in recent automake - autoreconf --force --install + cd ${pkgname}-${pkgver} ./configure --prefix=/usr make } package() { - cd "${srcdir}/${pkgname}-${pkgver}" + cd ${pkgname}-${pkgver} make DESTDIR="${pkgdir}" install install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" } |