summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD11
1 files changed, 8 insertions, 3 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 404d2e2d7481..695058d271e6 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,26 +2,31 @@
pkgname=aftershotpro3
pkgver=3.2.0.205
-pkgrel=1
+pkgrel=2
pkgdesc="Professional Workflow and RAW Conversion (3rd version)"
url="http://www.aftershotpro.com/en/products/aftershot/pro"
arch=('x86_64')
license=('custom')
-depends=('bzip2' 'expat' 'fontconfig' 'freetype2' 'glib2' 'gstreamer0.10' 'gstreamer0.10-base' 'libgl' 'libsm' 'libxdamage' 'libxrender' 'pcre' 'util-linux')
+depends=('qt5-webkit' 'qt5-tools' 'qt5-svg' 'ocl-icd')
optdepends=('opencl-nvidia' 'opencl-mesa' 'opencl-catalyst')
source=(AfterShotPro_${pkgver}.rpm::http://dwnld.aftershotpro.com/trials/3/AfterShotPro3.rpm license.txt)
sha1sums=('b2c06e24a96624864fb63d528621ee0680558e9f'
'f4b747625da3ad5d09536eb6e68107817826ec7b')
package() {
+ # coping rpm content
mv ${srcdir}/opt ${pkgdir}/
install -d ${pkgdir}/usr/share
mv ${srcdir}/usr/bin ${pkgdir}/usr/
mv ${srcdir}/usr/share/{applications,pixmaps} ${pkgdir}/usr/share/
install -d ${pkgdir}/usr/share/mime/packages/
mv ${srcdir}/usr/share/mime/packages/* ${pkgdir}/usr/share/mime/packages/
+
+ # deleting bundled libs
+ rm -rf ${pkgdir}/opt/AfterShot3\(64-bit\)/lib
+ # updating exec script
+ sed -i 's|export LD_LIBRARY_PATH|export QT_PLUGIN_PATH=/usr/lib/qt/plugins\n#export LD_LIBRARY_PATH|' ${pkgdir}/usr/bin/AfterShot3X64
# install license
install -Dm644 license.txt ${pkgdir}/usr/share/licenses/${pkgname}/license.txt
}
-