Various compilation scripts & patches for Linux programs.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

41 lines
1.3 KiB

# Maintainer: Pekka Helenius <fincer89 [at] hotmail [dot] com>
# Contributor: Ismael Barros (RazZziel) <razielmine@gmail.com>
# Contributor: Luigi Ranghetti <ggranga@gmail.com>
pkgname=pano2vr
pkgver=6.0.4a
_pkgver2=`echo ${pkgver} | tr '.' '_'`
pkgrel=1
pkgdesc="Converts panoramic images into QuickTime VR or Macromedia Flash formats."
url="http://gardengnomesoftware.com/pano2vr.php"
license=('Pano2VR')
arch=('x86_64')
depends=('libgl' 'qt5-base')
source=(
"https://ggnome.com/download/${pkgname}/${pkgname}_linux64_${_pkgver2}.tar.gz"
"changedir.patch"
"pano2vr.desktop"
)
md5sums=('7684d9789f3d7cab725151da1ac1450c'
'188ecfd8e33f19a244bb7ba0a71ec411'
'55617407038824cbc0fbeb01bff2ea0c')
prepare() {
cd "${srcdir}"
patch -p1 -i "${srcdir}/changedir.patch"
}
package() {
install -d ${pkgdir}/opt/
cp -r ${srcdir} ${pkgdir}/opt/
mv ${pkgdir}/opt/src ${pkgdir}/opt/${pkgname}
install -d ${pkgdir}/usr/local/bin/
ln -s ${pkgdir}/opt/${pkgname}/${pkgname}.sh ${pkgdir}/usr/local/bin/${pkgname}
install -d ${pkgdir}/usr/share/licenses/common/Pano2VR/
install -m644 ${srcdir}/license.txt ${pkgdir}/usr/share/licenses/common/Pano2VR/
install -D -m644 ${srcdir}/${pkgname}_icon.png ${pkgdir}/usr/share/pixmaps/${pkgname}.png
install -D -m644 ${srcdir}/${pkgname}.desktop ${pkgdir}/usr/share/applications/${pkgname}.desktop
}