updated on Tue Jan 17 12:00:36 UTC 2012
[aur-mirror.git] / aftershotpro / PKGBUILD
blob5def9198df5284a6534ee3ef17c5d70db44022fb
1 # Maintainer: EquinoxeFR <pierre@equinoxefr.org>
3 pkgname=aftershotpro
4 _pkgname=AfterShotPro
5 pkgver=1.0.93
6 pkgrel=5
7 pkgdesc="Professional Workflow and RAW Conversion"
8 arch=('i686' 'x86_64')
9 license=('custom')
11 depends=( 'libxdamage' 'glib2' 'pcre' 'libpng12' 'libgl')
12 [ "$CARCH" = "x86_64" ] && depends=( 'lib32-libxdamage' 'lib32-glib2' 'lib32-pcre' 'lib32-libpng12' 'lib32-libgl' 'lib32-mesa')
14 source=("http://www.corel.com/akdlm/6763/downloads/AfterShotPro/1/PF/AfterShotPro_i386.rpm" LICENSE)
15 url="http://apps.corel.com/lp/aftershot"
18 md5sums=('3a41a77eec1b98af100bf9ef5e5e47f3'
19          '245b27770d7ce5d345b2b74c1d85112a')
21 build() {
22         install -d ${startdir}/pkg/usr/share/licenses/${pkgname}
23         install -D -m644 ${startdir}/LICENSE ${startdir}/pkg/usr/share/licenses/${pkgname}/
25         bsdtar xf ${_pkgname}_i386.rpm
27         mv  ${srcdir}/opt ${pkgdir}/
28         mv  ${srcdir}/usr/bin ${pkgdir}/usr/
29         mv  ${srcdir}/usr/share/{applications,pixmaps} ${pkgdir}/usr/share/
30         install -d ${pkgdir}/usr/share/mime/packages/
31         mv  ${srcdir}/usr/share/mime/packages/* ${pkgdir}/usr/share/mime/packages/
32         update-mime-database usr/share/mime
33         }