updated on Wed Jan 18 08:00:29 UTC 2012
[aur-mirror.git] / ginkgo-cadx / PKGBUILD
blobc3f947170ba7267e67d9ded47143a55a503ad13d
1 # Maintainer: Jonathan Liu <net147@gmail.com>
2 pkgname=ginkgo-cadx
3 _realpkgname=Ginkgo_CADx
4 pkgver=2.3.0.0
5 pkgrel=1
6 pkgdesc="Complete DICOM viewer solution"
7 arch=('i686' 'x86_64')
8 url="http://ginkgo-cadx.com/"
9 license=('LGPL3')
10 depends=('cairo' 'desktop-file-utils' 'gtk2' 'libgl' 'openssl')
11 install="${pkgname}.install"
12 [ "${CARCH}" = "i686" ]   && _arch='x86'
13 [ "${CARCH}" = "x86_64" ] && _arch='x64'
14 source=("http://downloads.sourceforge.net/project/ginkgocadx/$pkgver/${_realpkgname}-${pkgver}_linux_${_arch}.tgz"
15         "ginkgo-cadx.desktop"
16         "ginkgo-cadx.png")
17 md5sums=(''
18          'd2411ff4f7ee5b66961b67eb57a2cc44'
19          '1de087126d5e72ecdacc2e215601827f')
20 [ "${CARCH}" = "i686" ]   && md5sums[0]='6d22ab840fc886b8ee49376328385d8c'
21 [ "${CARCH}" = "x86_64" ] && md5sums[0]='1474d94324f3076f9083c3494d9cd846'
23 package() {
24   cd "${srcdir}"
25   [ "${CARCH}" = "i686" ]   && install -D -m755 ginkgo-x86 "${pkgdir}/usr/bin/ginkgo-cadx"
26   [ "${CARCH}" = "x86_64" ] && install -D -m755 ginkgo-x64 "${pkgdir}/usr/bin/ginkgo-cadx"
27   install -D -m644 ginkgo-cadx.desktop "${pkgdir}/usr/share/applications/ginkgo-cadx.desktop"
28   install -D -m644 ginkgo-cadx.png "${pkgdir}/usr/share/pixmaps/ginkgo-cadx.png"
31 # vim:set ts=2 sw=2 et: