blob: 02b3fa830a39b3f21a26df6e4ff9d5b3abf4f480 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
# Maintainer: Jesse Spangenberger <azulephoenix@gmail.com>
# Contributor: Tristelune <tristelune@archlinux.info>
pkgname=pdfstudio
pkgver=11.0.1
_pkgver=v11_0_1
pkgrel=1
pkgdesc="Review, annotate, and edit PDF Documents"
arch=('i686' 'x86_64')
url="http://www.qoppa.com/pdfstudio/"
license=('custom')
conflicts=('pdfstudio8' 'pdfstudio9' 'pdfstudio10')
provides=('pdfstudio')
makedepends=('pacman>=4.2.0')
depends=('java-runtime' 'desktop-file-utils')
depends_x86_64=('gcc-libs-multilib')
install=${pkgname}.install
sha256sums=('5fd6f1bea41f5d90eff993cd81ac8dbb6fe8fb93a97a92bd7cd617253770b0c8'
'b82acfb50e1e15a43c54aba7a0712b6c710c10ae74280a26a451343720e965e3'
'0a3c1c337a22228f3df28412ca65d45d0d8067b508cf7b1cf93810fc17c9b447')
sha256sums_i686=('67d7fb962de2b7e6f6075c60ce213fbcaabbefea6e09613bce4649373b24a2e8')
sha256sums_x86_64=('e838fdcbbf1706b3148fb6f8168b8c615d9c897ef5ef17a73241bbe02f0ae226')
source_i686=("http://www.qoppa.com/files/pdfstudio/demo/downloads/version11/PDFStudio_${_pkgver}_linux.deb")
source_x86_64=("http://www.qoppa.com/files/pdfstudio/demo/downloads/version11/PDFStudio_${_pkgver}_linux64.deb")
source=(${pkgname}.desktop
${pkgname}.install
${pkgname}.png)
prepare() {
bsdtar xf data.tar.gz
bsdtar xf "opt/pdfstudio11/lib/pdfstudio.jar" resources/license.html
rm -rf "opt/pdfstudio11/jre"
}
package() {
cd "${srcdir}"
install -dm 755 "${pkgdir}/opt"
install -Dm644 ${pkgname}.desktop "${pkgdir}/usr/share/applications/${pkgname}.desktop"
install -Dm644 ${pkgname}.png "${pkgdir}/usr/share/pixmaps/${pkgname}.png"
install -Dm644 resources/license.html "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.html"
cp -r opt/ "${pkgdir}"
mkdir -p "${pkgdir}/usr/bin"
ln -s /opt/pdfstudio11/pdfstudio11 "${pkgdir}/usr/bin/pdfstudio"
}
|