[arch-commits] CVS update of arch/build/lib/libmng (PKGBUILD)
Eric Belanger
eric at archlinux.org
Sun Jul 22 00:43:44 UTC 2007
Date: Saturday, July 21, 2007 @ 20:43:44
Author: eric
Path: /home/cvs-arch/arch/build/lib/libmng
Modified: PKGBUILD (1.8 -> 1.9)
upgpkg: libmng 1.0.10-1
added license
----------+
PKGBUILD | 41 ++++++++++++++---------------------------
1 file changed, 14 insertions(+), 27 deletions(-)
Index: arch/build/lib/libmng/PKGBUILD
diff -u arch/build/lib/libmng/PKGBUILD:1.8 arch/build/lib/libmng/PKGBUILD:1.9
--- arch/build/lib/libmng/PKGBUILD:1.8 Wed Jun 13 12:28:02 2007
+++ arch/build/lib/libmng/PKGBUILD Sat Jul 21 20:43:44 2007
@@ -1,38 +1,25 @@
-# $Id: PKGBUILD,v 1.8 2007/06/13 16:28:02 alexander Exp $
+# $Id: PKGBUILD,v 1.9 2007/07/22 00:43:44 eric Exp $
# Contributor: Tom Newsom <Jeepster at gmx.co.uk>
# Maintainer: judd <jvinet at zeroflux.org>
pkgname=libmng
-pkgver=1.0.9
-pkgrel=2
-force=y # only for arch64 be come back in sync with i686 - remove it for next update
+pkgver=1.0.10
+pkgrel=1
pkgdesc="A collection of routines used to create and manipulate MNG format graphics files"
-arch=(i686 x86_64)
+arch=('i686' 'x86_64')
url="http://www.libmng.com/"
+license=('custom')
depends=('zlib' 'libjpeg')
-source=(http://dl.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz \
- makefile.patch)
-md5sums=('ff1205ef70855a75c098ea09690413c6' '9d2d513812fd9cea376169f9206c8247')
options=(!libtool)
-
-# it should be safe for i686 arch to switch the x86_64 build way
+source=(http://dl.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz)
+md5sums=('a464ae7d679781beebdf7440d144b7bd')
build() {
cd $startdir/src/$pkgname-$pkgver
-if [ "$CARCH" = "x86_64" ]; then
- ln -s makefiles/configure.in .
- ln -s makefiles/Makefile.am .
- export WANT_AUTOMAKE="1.9"
- export WANT_AUTOCONF=2.5
- autoreconf --force --install
- ./configure --prefix=/usr
- make || return 1
- make DESTDIR=$startdir/pkg install
- rm -rf $startdir/pkg/usr/share/man
- else
- patch -Np1 -i ../makefile.patch || return 1
- cp makefiles/makefile.linux ./Makefile
- make || return 1
- install -d -m755 $startdir/pkg/usr/{include,lib}
- make prefix=$startdir/pkg/usr install
-fi
+ ln -s makefiles/configure.in .
+ ln -s makefiles/Makefile.am .
+ autoreconf --force --install
+ ./configure --prefix=/usr
+ make || return 1
+ make DESTDIR=$startdir/pkg install
+ install -D -m644 LICENSE $startdir/pkg/usr/share/licenses/$pkgname/LICENSE
}
More information about the arch-commits
mailing list