[arch-commits] Commit in graphicsmagick/trunk (PKGBUILD)
Gaetan Bisson
bisson at archlinux.org
Thu Jan 19 05:34:41 UTC 2012
Date: Thursday, January 19, 2012 @ 00:34:40
Author: bisson
Revision: 146914
rebuild for libpng-1.5 and libtiff-4.0
Modified:
graphicsmagick/trunk/PKGBUILD
----------+
PKGBUILD | 50 +++++++++++++++++++++++++-------------------------
1 file changed, 25 insertions(+), 25 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2012-01-19 05:23:33 UTC (rev 146913)
+++ PKGBUILD 2012-01-19 05:34:40 UTC (rev 146914)
@@ -6,7 +6,7 @@
pkgname=graphicsmagick
pkgver=1.3.13
-pkgrel=1
+pkgrel=2
pkgdesc='Image processing system'
url='http://www.graphicsmagick.org/'
arch=('i686' 'x86_64')
@@ -19,37 +19,37 @@
sha1sums=('b85b21785bb072fd795f7fc6ac902cffae4e96e6')
build() {
- cd "${srcdir}/GraphicsMagick-$pkgver"
+ cd "${srcdir}/GraphicsMagick-${pkgver}"
- ./configure \
- --prefix=/usr \
- --with-perl \
- --enable-shared \
- --disable-static \
- --with-gs-font-dir=/usr/share/fonts/Type1 \
+ ./configure \
+ --prefix=/usr \
+ --with-perl \
+ --enable-shared \
+ --disable-static \
+ --with-gs-font-dir=/usr/share/fonts/Type1 \
- make
+ make
}
package() {
- cd "${srcdir}/GraphicsMagick-$pkgver"
+ cd "${srcdir}/GraphicsMagick-${pkgver}"
- make DESTDIR="${pkgdir}" install
+ make DESTDIR="${pkgdir}" install
- # Install MIT license
- install -Dm644 "Copyright.txt" "${pkgdir}/usr/share/licenses/$pkgname/Copyright.txt"
+ # Install MIT license
+ install -Dm644 "Copyright.txt" "${pkgdir}/usr/share/licenses/${pkgname}/Copyright.txt"
- # Install perl bindings
- # The patching was introduced in order to build perl module without installing package itself and
- # not to introduce unnecessary path into LD_RUN_PATH
- cd PerlMagick
- sed -i -e "s:'LDDLFLAGS' => \"\(.*\)\":'LDDLFLAGS' => \"-L${pkgdir}/usr/lib \1\":" Makefile.PL
- perl Makefile.PL INSTALLDIRS=vendor PREFIX=/usr DESTDIR="${pkgdir}"
- sed -i -e "s/LDLOADLIBS =/LDLOADLIBS = -lGraphicsMagick/" Makefile
- make
- make install
+ # Install perl bindings
+ # The patching was introduced in order to build perl module without installing package itself and
+ # not to introduce unnecessary path into LD_RUN_PATH
+ cd PerlMagick
+ sed -i -e "s:'LDDLFLAGS' => \"\(.*\)\":'LDDLFLAGS' => \"-L${pkgdir}/usr/lib \1\":" Makefile.PL
+ perl Makefile.PL INSTALLDIRS=vendor PREFIX=/usr DESTDIR="${pkgdir}"
+ sed -i -e "s/LDLOADLIBS =/LDLOADLIBS = -lGraphicsMagick/" Makefile
+ make
+ make install
- # Remove perllocal.pod and .packlist
- rm -rf "${pkgdir}/usr/lib/perl5/core_perl"
- rm "${pkgdir}/usr/lib/perl5/vendor_perl/auto/Graphics/Magick/.packlist"
+ # Remove perllocal.pod and .packlist
+ rm -rf "${pkgdir}/usr/lib/perl5/core_perl"
+ rm "${pkgdir}/usr/lib/perl5/vendor_perl/auto/Graphics/Magick/.packlist"
}
More information about the arch-commits
mailing list