PaganOS Luna 0.6.0
PL EN DE
🔒 Repository is read-only – file editing is disabled.

recipes/gui/graphicsmagick/PAGBUILD.yaml main

44 lines Raw ← Back
1234567891011121314151617181920212223242526272829303132333435363738394041424344
pkgname: graphicsmagick
pkgver: '1.4.020261015'
pkgrel: 1
pkgdesc: Image processing system.
url: 'https://www.graphicsmagick.org/'
arch: x86_64
license:
- MIT
depends:
- freetype
- jasper
- lcms2
- libheif
- libjpeg-turbo
- libpng
- libtiff
- libtool
- libwebp
- libwmf
- libxml2
- xorg-libx11
- xorg-libxext
- zstd
makedepends:
- perl
- jasper
- libpng
- libwmf
- libxml2
- libtiff
source:
- 'https://downloads.sourceforge.net/project/${pkgname}/${pkgname}/${pkgver}/GraphicsMagick-${pkgver}.tar.xz'
sha256sums:
- SKIP
build: "cd GraphicsMagick-${pkgver}\n\n./configure \\\n\t\t--prefix=/usr \\\n\t\t--enable-shared \\\n\t\t--with-modules \\\
  \n\t\t--with-perl \\\n\t\t--with-gs-font-dir=/usr/share/fonts/Type1 \\\n\t\t--with-quantum-depth=16 \\\n\t\t--with-threads\n\
  make\nmake DESTDIR=${PKGDIR} install\n\ncd PerlMagick\n\tsed -i -e \"s:'LDDLFLAGS'  => \\\"\\(.*\\)\\\":'LDDLFLAGS'  =>\
  \ \\\"-L${PKGDIR}/usr/lib \\1\\\":\" Makefile.PL\n\tperl Makefile.PL INSTALLDIRS=vendor PREFIX=/usr DESTDIR=${PKGDIR}\n\t\
  sed -i -e \"s/LDLOADLIBS =/LDLOADLIBS = -lGraphicsMagick/\" Makefile\n\tmake\n\tmake install\n\n\t# Remove perllocal.pod\
  \ and .packlist\n\trm -f ${PKGDIR}/usr/lib/share/perl5/base/perllocal.pod\n\trm -rf ${PKGDIR}/usr/lib/perl5/core_perl\n\t\
  rm -rf ${PKGDIR}/usr/lib/perl5/vendor_perl/auto/Graphics/Magick/.packlist\n\n        install -Dm644 ../Copyright.txt\
  \ ${PKGDIR}/usr/share/licenses/${pkgname}/Copyright.txt\t\n"
package: |
  true