contrib/graphicsmagick/Pkgfile

28 lines
655 B
Plaintext

# Description: Image processing system
# URL: http://www.graphicsmagick.org
# Maintainer: Danny Rawlins, crux at romster dot me
# Depends on: brotli freetype jasper lcms2 libwebp
name=graphicsmagick
version=1.3.38
release=1
source=(https://downloads.sourceforge.net/project/$name/$name/$version/GraphicsMagick-$version.tar.xz)
build() {
cd GraphicsMagick-$version
./configure \
--prefix=/usr \
--enable-shared \
--with-modules \
--with-perl \
--with-gs-font-dir='/usr/share/fonts/X11/Type1' \
--with-quantum-depth=16 \
--with-threads
make
make DESTDIR=$PKG install
rm -r $PKG/usr/share/doc $PKG/usr/share/GraphicsMagick-$version
}