diff options
| author | kj_sh604 | 2025-10-05 20:58:24 -0400 |
|---|---|---|
| committer | kj_sh604 | 2025-10-05 20:58:24 -0400 |
| commit | 6493038a9dc7fb0a26576e2798d2c267703d570d (patch) | |
| tree | 9818afcbadee3ef6804f6ade5bed6bd46381808a | |
| parent | 6132d610f7c91dbf794b55668815a22b3d37df5b (diff) | |
refactor: update imagemagick
| -rw-r--r-- | imagemagick-compat/.SRCINFO | 29 | ||||
| -rw-r--r-- | imagemagick-compat/.gitignore | 1 | ||||
| -rw-r--r-- | imagemagick-compat/PKGBUILD | 20 |
3 files changed, 26 insertions, 24 deletions
diff --git a/imagemagick-compat/.SRCINFO b/imagemagick-compat/.SRCINFO index 433bb80..16a44b6 100644 --- a/imagemagick-compat/.SRCINFO +++ b/imagemagick-compat/.SRCINFO @@ -1,7 +1,7 @@ pkgbase = imagemagick pkgdesc = An image viewing/manipulation program with "convert" compatibility wrapper script - pkgver = 7.1.2.3 - pkgrel = 2 + pkgver = 7.1.2.4 + pkgrel = 1 url = https://www.imagemagick.org/ arch = x86_64 license = custom @@ -10,6 +10,7 @@ pkgbase = imagemagick makedepends = chrpath makedepends = djvulibre makedepends = ghostscript + makedepends = git makedepends = glu makedepends = jbigkit makedepends = libheif @@ -63,17 +64,17 @@ pkgbase = imagemagick replaces = imagemagick-doc options = !emptydirs options = libtool - backup = etc/ImageMagick-7/colors.xml - backup = etc/ImageMagick-7/delegates.xml - backup = etc/ImageMagick-7/log.xml - backup = etc/ImageMagick-7/mime.xml - backup = etc/ImageMagick-7/policy.xml - backup = etc/ImageMagick-7/quantization-table.xml - backup = etc/ImageMagick-7/thresholds.xml - backup = etc/ImageMagick-7/type.xml - backup = etc/ImageMagick-7/type-dejavu.xml - backup = etc/ImageMagick-7/type-ghostscript.xml - source = https://imagemagick.org/archive/ImageMagick-7.1.2-3.tar.xz - sha256sums = 2943d26f9ac4875aacf16c8f717f4d32ac985fe6a0c0a8e48c24c5cbb3161050 + backup = etc//colors.xml + backup = etc//delegates.xml + backup = etc//log.xml + backup = etc//mime.xml + backup = etc//policy.xml + backup = etc//quantization-table.xml + backup = etc//thresholds.xml + backup = etc//type.xml + backup = etc//type-dejavu.xml + backup = etc//type-ghostscript.xml + source = git+https://github.com/ImageMagick/ImageMagick#tag=7.1.2-4 + sha256sums = 7b14d6013830f0ca29b320f39a1e135929d5e0f1babaae9ed87d4751f7e8b146 pkgname = imagemagick diff --git a/imagemagick-compat/.gitignore b/imagemagick-compat/.gitignore index 8d78c83..d1441f0 100644 --- a/imagemagick-compat/.gitignore +++ b/imagemagick-compat/.gitignore @@ -1,3 +1,4 @@ +ImageMagick/ pkg/ src/ *.tar* diff --git a/imagemagick-compat/PKGBUILD b/imagemagick-compat/PKGBUILD index 43ce6d5..7804468 100644 --- a/imagemagick-compat/PKGBUILD +++ b/imagemagick-compat/PKGBUILD @@ -1,10 +1,9 @@ # Maintainer: kj_sh604 <406hs_jk@proton.me> pkgname=imagemagick -pkgver=7.1.2.3 -pkgrel=2 -_relname=ImageMagick-${pkgver%%.*} -_tarname=ImageMagick-${pkgver%.*}-${pkgver##*.} +pkgver=7.1.2.4 +_pkgver=${pkgver%.*}-${pkgver##*.} +pkgrel=1 pkgdesc='An image viewing/manipulation program with "convert" compatibility wrapper script' url='https://www.imagemagick.org/' arch=(x86_64) @@ -49,6 +48,7 @@ provides=(libmagick) makedepends=(chrpath djvulibre ghostscript + git glu jbigkit libheif @@ -67,11 +67,11 @@ makedepends=(chrpath checkdepends=(gsfonts ttf-dejavu) replaces=(imagemagick-doc) -source=(https://imagemagick.org/archive/$_tarname.tar.xz) -sha256sums=('2943d26f9ac4875aacf16c8f717f4d32ac985fe6a0c0a8e48c24c5cbb3161050') +source=(git+https://github.com/ImageMagick/ImageMagick#tag=$_pkgver) +sha256sums=('7b14d6013830f0ca29b320f39a1e135929d5e0f1babaae9ed87d4751f7e8b146') build() { - cd $_tarname + cd ImageMagick ./configure \ --prefix=/usr \ --sysconfdir=/etc \ @@ -109,17 +109,17 @@ build() { } check() ( - cd $_tarname + cd ImageMagick ulimit -n 4096 make check ) package() { - cd $_tarname + cd ImageMagick make DESTDIR="$pkgdir" install find "$pkgdir/usr/lib/perl5" -name '*.so' -exec chrpath -d {} + - rm "$pkgdir"/etc/$_relname/type-{apple,urw-base35,windows}.xml + rm "$pkgdir"/etc/ImageMagick-*/type-{apple,urw-base35,windows}.xml rm "$pkgdir"/usr/lib/*.la install -Dm644 LICENSE NOTICE -t "$pkgdir"/usr/share/licenses/$pkgname |
