blob: 532485f190ca7b83cc94c11eedc09a647a4219c3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
|
pkgname=graphicsmagick-imagemagick-compat
pkgver=1.3.25
pkgrel=1
pkgdesc="Image processing tools providing ImageMagick interface"
arch=(any)
url="http://packages.debian.org/sid/graphicsmagick-imagemagick-compat"
license=('custom')
depends=(graphicsmagick)
provides=(imagemagick)
conflicts=(imagemagick)
source=(
animate.1.gz
compare.1.gz
composite.1.gz
conjure.1.gz
convert.1.gz
display.1.gz
identify.1.gz
import.1.gz
mogrify.1.gz
montage.1.gz
)
noextract=(${source[@]%%::*})
md5sums=('66bf582fb03185701fe23968cb0403b2'
'afc8645338917aca95fa1a35a7a7c759'
'a064db2625168a344c39485a720bb3e0'
'1e3b5574e45e1a771b6d53d28320961f'
'a2aa4852b7c8a9ba84c7d9c4706d316b'
'bc84503413494192d567d9e7bb470fc7'
'08bb2481e47c90dc5544766583aad8a6'
'2ca57b1ef07020c4f670f602fade40a3'
'2dc737956df869a1d24966f8ed5f9801'
'400adf9bd9845e94f30729312bd2c8e0')
package() {
cd "${srcdir}"
GM="$(which gm)"
BIN="${pkgdir}/usr/bin"
install -dm 755 "${BIN}"
# create symlinks to gm
for i in *.1.gz
do
ln -s ${GM} "${BIN}/${i%.1.gz}"
done
MAN="${pkgdir}/usr/share/man/man1"
install -dm 755 "${MAN}"
# install separate man-pages
for i in *.1.gz
do
install -m 644 ${i} "${MAN}"
done
# Symlink expected IMagick libraries to GMagick equivalents.
mkdir "$pkgdir/usr/lib"
ln -sr GraphicsMagick-1.3.25 "$pkgdir/usr/lib/ImageMagick-6.9.7"
ln -s libGraphicsMagick++.so "$pkgdir/usr/lib/libMagick++-6.Q16HDRI.so"
ln -s libGraphicsMagick++.so "$pkgdir/usr/lib/libMagick++-6.Q16HDRI.so.7"
ln -s libGraphicsMagick++.so "$pkgdir/usr/lib/libMagick++-6.Q16HDRI.so.7.0.0"
ln -s libGraphicsMagick.so "$pkgdir/usr/lib/libMagickCore-6.Q16HDRI.so"
ln -s libGraphicsMagick.so "$pkgdir/usr/lib/libMagickCore-6.Q16HDRI.so.3"
ln -s libGraphicsMagick.so "$pkgdir/usr/lib/libMagickCore-6.Q16HDRI.so.3.0.0"
ln -s libGraphicsMagickWand.so "$pkgdir/usr/lib/libMagickWand-6.Q16HDRI.so"
ln -s libGraphicsMagickWand.so "$pkgdir/usr/lib/libMagickWand-6.Q16HDRI.so.3"
ln -s libGraphicsMagickWand.so "$pkgdir/usr/lib/libMagickWand-6.Q16HDRI.so.3.0.0"
}
# vim:set ts=2 sw=2 et:
|