updated on Tue Jan 10 12:02:00 UTC 2012
[aur-mirror.git] / opticks / PKGBUILD
blob17266a6651934a611ac88e13f2826493201b48a7
1 #Contributor: Flamelab <panosfilip@gmail.com>
3 pkgname=opticks
4 _realname=Opticks
5 pkgver=4.3.3
6 _minorver=2
7 pkgrel=1
8 pkgdesc="Opticks is an open source remote sensing application and development framework sponsored by Ball Aerospace."
9 url="https://opticks.ballforge.net/"
10 depends=('qt' 'openssl-compatibility' 'libgl' 'freetype2' 'libxcursor' 'libjpeg6' 'libxinerama')
11 makedepends=('libarchive')
12 arch=('x86_64')
13 source=(https://opticks.ballforge.net/files/documents//8/410/${pkgname}-${pkgver}-${_minorver}.${CARCH}.rpm
14         qt.conf)
15 license=(custom)
17 _use_arch_libs="yes"
18 _libs_to_remove="libQt*"
22 build() {
23 bsdtar xf ${pkgname}-${pkgver}-${_minorver}.${CARCH}.rpm -C ${pkgdir}
25 if [ "${_use_arch_libs}" == "yes" ]; then
26                 cd ${pkgdir}/opt/${_realname}/Bin/ || return 1
27                 rm ${_libs_to_remove} || return 1
28                 install -D -m644 ${srcdir}/qt.conf ${pkgdir}/opt/${_realname}/Bin/qt.conf
29         fi
33 md5sums=('55eed004c5ade9d6878a65587bdbcc6a'
34          '119ba89010b1e01fd6cde8d84acf97ca')