1 # Maintainer: osily <ly50247 at gmail dot com>
2 # Contributor: Olivier Duclos <olivier.duclos gmail.com>
3 # Contributor: wido <widomaker2k7@gmail.com>
4 # Contributor: VuDu <vudu 'dot' curse 'at' gmail 'dot' com>
5 # Contributor: Houlala <houlala 'at' gmail 'dot' com>
10 pkgdesc='An efficient image viewer, browser and converter (beta release).'
11 arch=('i686' 'x86_64')
12 url='http://newsgroup.xnview.com/viewtopic.php?f=60&t=24056'
14 depends=('glib2' 'expat')
15 source=('http://download.xnview.com/XnViewMP-linux.tgz')
16 md5sums=('cab11ea66f42f2186fb625259f9eea5a')
18 [ "$CARCH" = 'x86_64' ] && source=('http://download.xnview.com/XnViewMP-linux-x64.tgz') \
19 && md5sums=('bd68eae3382a674fe7efdc5a2512dd2a')
21 source=(${source[@]} 'XnViewMP.desktop')
22 md5sums=(${md5sums[@]} '638f2dc5ee0c9ed0e2106c1cc5bb1a5f')
26 cp XnViewMP.desktop ${srcdir}/XnViewMP || return 1
29 install -dm 755 ${pkgdir}/usr/share/${pkgname} || return 1
30 cp -R * ${pkgdir}/usr/share/${pkgname} || return 1
32 install -Dm 644 XnViewMP.desktop ${pkgdir}/usr/share/applications/${pkgname}.desktop || return 1
34 install -dm 755 ${pkgdir}/usr/bin/ || return 1
36 ln -s ../share/${pkgname}/xnview.sh ${pkgname} || return 1