[arch-commits] Commit in giflib/trunk (PKGBUILD)

Bartłomiej Piotrowski bpiotrowski at nymeria.archlinux.org
Thu May 9 16:04:51 EDT 2013


    Date: Thursday, May 9, 2013 @ 22:04:51
  Author: bpiotrowski
Revision: 185000

upgpkg: giflib 4.2.1-1

- upstream release

Modified:
  giflib/trunk/PKGBUILD

----------+
 PKGBUILD |   18 +++++++++++-------
 1 file changed, 11 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-05-09 19:57:56 UTC (rev 184999)
+++ PKGBUILD	2013-05-09 20:04:51 UTC (rev 185000)
@@ -5,25 +5,29 @@
 # Contributor: mightyjaym <jm.ambrosino at free.fr>
 
 pkgname=giflib
-pkgver=5.0.4
+pkgver=4.2.1
 pkgrel=1
 pkgdesc="A library for reading and writing gif images"
 url="http://sourceforge.net/projects/giflib/"
 arch=('i686' 'x86_64')
 license=('MIT')
 depends=('libx11')
+makedepends=('xmlto' 'docbook-xml' 'docbook-xsl')
 provides=("libungif=${pkgver}")
 conflicts=('libungif')
 replaces=('libungif')
 options=('!libtool')
 source=(http://downloads.sourceforge.net/sourceforge/giflib/${pkgname}-${pkgver}.tar.bz2)
-md5sums=('da60935d07374de00a78c2f6f720c8f5')
+md5sums=('bbd3324af24156d5d7e66ab1cee8508d')
 
+prepare() {
+  cd ${pkgname}-${pkgver}
+  sed -i -e '/AC_PATH_XTRA/d' -e 's/AM_CONFIG_HEADER/AC_CONFIG_HEADER/' configure.ac
+  autoreconf -fi
+}
+
 build() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
-#  sed -i '/AC_PATH_XTRA/d' configure.ac
-#  libtoolize -f
-#  autoreconf
+  cd ${pkgname}-${pkgver}
   ./configure --prefix=/usr --disable-static
   make
 
@@ -33,7 +37,7 @@
 }
 
 package() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
+  cd ${pkgname}-${pkgver} 
   make DESTDIR="${pkgdir}" install
 
   install -m755 libungif.so.${pkgver} "${pkgdir}/usr/lib/"



More information about the arch-commits mailing list