summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: a2a28b801c37e032121c20d6154f8f4d0d01ed61 (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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
# Maintainer: Damir Perisa <damir pünktli perisa at gmail com>
# Contributor: Jefferson Gonzalez <jgmdev@gmail.com>
# Contributor: foxbunny <bg.branko@gmail.com>
# Contributor: Vinzenz Vietzke <vinz@vinzv.de>

pkgname="eci-icc"
pkgver=2020
pkgrel=2
pkgdesc="ICC profiles from ECI (European Color Initiative) with documentation"
arch=('i686' 'x86_64')
url="http://www.eci.org/"
license=('Custom')
makedepends=('unzip')
source=(
  "http://www.eci.org/lib/exe/pso-coated_v3.zip"
  "http://www.eci.org/lib/exe/pso-uncoated_v3_fogra52.zip"
  "http://www.eci.org/lib/exe/pso_sc-b_paper_v3.zip"
  "http://www.eci.org/lib/exe/eci_gravure_psr_v2_m1_2020.zip"
  "http://www.eci.org/lib/exe/eci_gravure_psr_v2_2009.zip"
  "http://www.eci.org/lib/exe/ecirgbv20.zip"
  "http://www.eci.org/lib/exe/ecirgbv10.zip"
  "http://www.eci.org/lib/exe/eci_cmyk_v2.zip"
  "http://www.eci.org/lib/exe/eci-offset-profiles_supplement2020-surface-finishing_v3b.zip"
  "http://www.eci.org/lib/exe/eci_offset_profiles_metal_printing_mpc1.zip"  
  "http://www.eci.org/lib/exe/eci_offset_2009.zip"
  "http://www.eci.org/lib/exe/eci_offset_cont_2004.zip"
)

md5sums=('b080cb34d3f058e8203eb914df1350cb'
         '3eb5588990f14fc185edfbd2cc774ef2'
         'fada373f848a34b3ff7fedc9b31cf0cf'
         'dd203427f4169cd75f76ac0538907834'
         '8c534eb4e3b27678b49153f9f5747450'
         '20761e99976df9636bcf87ebe0d7e244'
         'c2d0cbf4b75b659c517ff0826cd3407b'
         'd3dab7d68916528074b3786ec3344891'
         'c64e878934708710461c61d86b7c3959'
         'a065d5f3c8f956bcf7eb201387d99c22'
         'cf98d2ed58d8951c3473defa02cea4be'
         'a2776270b2bd0d670949c423b2aeafd3')
         
         
package() {
  mkdir -p ${pkgdir}/usr/share/color/icc || return 1
  mkdir -p ${pkgdir}/usr/share/doc/eci-icc || return 1

  # PSO
  install -m644 ${srcdir}/PSOcoated_v3.icc ${pkgdir}/usr/share/color/icc || return 1
  install -m644 ${srcdir}/PSOsc-b_paper_v3_FOGRA54.icc ${pkgdir}/usr/share/color/icc || return 1
  
  install -m644 ${srcdir}/PSOcoated_v3_info.pdf ${pkgdir}/usr/share/doc/eci-icc || return 1
  install -m644 ${srcdir}/PSOsc-b_paper_v3_info.pdf ${pkgdir}/usr/share/doc/eci-icc || return 1
  
  for file in "${srcdir}/pso-uncoated_v3_FOGRA52/*.icc"
  do
      install -m644 $file ${pkgdir}/usr/share/color/icc || return 1
  done

  for file in "${srcdir}/pso-uncoated_v3_FOGRA52/*.pdf"
  do
      install -m644 $file ${pkgdir}/usr/share/doc/eci-icc || return 1
  done
  
  # Metal
  install -m644 ${srcdir}/Metal-Printing_MPC1_FOGRA60.icc ${pkgdir}/usr/share/color/icc || return 1
  install -m644 ${srcdir}/Metal-Printing_MPC1_FOGRA60_info.pdf ${pkgdir}/usr/share/doc/eci-icc || return 1
    
  # Offset
  for file in "${srcdir}/ECI Offset Profiles - Supplement 2020 - Surface Finishing/"*.icc
  do
      install -m644 "$file" ${pkgdir}/usr/share/color/icc || return 1
  done

  for file in "${srcdir}/ECI Offset Profiles - Supplement 2020 - Surface Finishing/"*.pdf
  do
      install -m644 "$file" ${pkgdir}/usr/share/doc/eci-icc || return 1
  done
  
  for file in ${srcdir}/ECI_Offset_2009/*.icc
  do
      install -m644 $file ${pkgdir}/usr/share/color/icc || return 1
  done

  for file in ${srcdir}/ECI_Offset_2009/*.pdf
  do
      install -m644 $file ${pkgdir}/usr/share/doc/eci-icc || return 1
  done

  for file in ${srcdir}/ECI_Offset_cont_2004/*.icc
  do
      install -m644 $file ${pkgdir}/usr/share/color/icc || return 1
  done

  for file in ${srcdir}/ECI_Offset_cont_2004/*.pdf
  do
      install -m644 $file ${pkgdir}/usr/share/doc/eci-icc || return 1
  done

  # Gravure
  for file in ${srcdir}/eci_Gravure_PSR_V2_M1_2020/*.pdf
  do
      install -m644 $file ${pkgdir}/usr/share/doc/eci-icc || return 1
  done

  for file in ${srcdir}/eci_Gravure_PSR_V2_M1_2020/ICC-Profile/*.icc
  do
      install -m644 $file ${pkgdir}/usr/share/color/icc || return 1
  done

  for file in ${srcdir}/eci_gravure_psr_v2_2009/*.pdf
  do
      install -m644 $file ${pkgdir}/usr/share/doc/eci-icc || return 1
  done

  for file in ${srcdir}/eci_gravure_psr_v2_2009/ICC-Profiles/*.icc
  do
      install -m644 $file ${pkgdir}/usr/share/color/icc || return 1
  done

  # RGB
  for file in ${srcdir}/eciRGB_v2_profile/*.icc
  do
      install -m644 $file ${pkgdir}/usr/share/color/icc || return 1
  done

  install -m644 ${srcdir}/eciRGB_v2_profile/licence.rtf \
  ${pkgdir}/usr/share/doc/eci-icc || return 1

  install -m644 ${srcdir}/eciRGBv10/ECI-RGB.V1.0.icc \
  ${pkgdir}/usr/share/color/icc || return 1

  install -m644 ${srcdir}/eciRGBv10/ECI-RGB_BitteLesen \
  ${pkgdir}/usr/share/doc/eci-icc || return 1

  install -m644 ${srcdir}/eciRGBv10/ECI-RGB_ReadMe \
  ${pkgdir}/usr/share/doc/eci-icc || return 1
  
  # CMYK
  install -m644 ${srcdir}/eciCMYK_v2.icc ${pkgdir}/usr/share/color/icc || return 1
}