summaryrefslogtreecommitdiffstats
path: root/abs/extra/libmng/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'abs/extra/libmng/PKGBUILD')
-rw-r--r--abs/extra/libmng/PKGBUILD30
1 files changed, 16 insertions, 14 deletions
diff --git a/abs/extra/libmng/PKGBUILD b/abs/extra/libmng/PKGBUILD
index 7be67d7..812b577 100644
--- a/abs/extra/libmng/PKGBUILD
+++ b/abs/extra/libmng/PKGBUILD
@@ -1,31 +1,33 @@
-# $Id: PKGBUILD 137860 2011-09-12 05:28:13Z eric $
+# $Id$
# Maintainer: Eric BĂ©langer <eric@archlinux.org>
pkgname=libmng
-pkgver=1.0.10
-pkgrel=4
+pkgver=2.0.2
+pkgrel=3
pkgdesc="A collection of routines used to create and manipulate MNG format graphics files"
arch=('i686' 'x86_64')
url="http://www.libmng.com/"
license=('custom')
-depends=('zlib' 'libjpeg')
-options=('!libtool')
-source=(http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.bz2 automake-patch)
+depends=('lcms2')
+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}"
- patch -Np0 < $srcdir/automake-patch || exit 1
- ln -s makefiles/configure.in .
- ln -s makefiles/Makefile.am .
- 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"
}
-md5sums=('eaf1476a3bb29f6190bca660e6abef16'
- 'abd75e07394cc04e0d8ffa9a93b1e485')