updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / aftershotpro / PKGBUILD
blob87c46c97fa55378489de5e4fbcb5e13bc3ac2ab3
1 # Maintainer: EquinoxeFR <pierre@equinoxefr.org>
3 pkgname=aftershotpro
4 _pkgname=AfterShotPro
5 pkgver=1.0.0.93
6 pkgrel=8
7 pkgdesc="Professional Workflow and RAW Conversion"
8 arch=('i686' 'x86_64')
9 license=('custom')
11 depends=( 'libxdamage' 'glib2' 'pcre' 'libpng12' 'libgl' 'util-linux')
12 [ "$CARCH" = "x86_64" ] && depends=( 'lib32-libxdamage' 'lib32-glib2' 'lib32-pcre' 'lib32-libpng12' 'lib32-libgl' 'lib32-util-linux')
14 source=("http://www.corel.com/akdlm/6763/downloads/AfterShotPro/1/PF/AfterShotPro_i386.rpm" LICENSE)
15 url="http://www.corel.com/corel/product/index.jsp?pid=prod4670071"
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         }