summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 6a91e7dc2cf7a3181f31e138c7ff862fca2dbb98 (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
# Maintainer: jharch <julian dot hossbach at gmx dot de>

pkgname=plotdigitizer
pkgver=2.6.11
pkgrel=1
pkgdesc="A program used to digitize scanned plots of functional data"
arch=('any')
url="http://plotdigitizer.sourceforge.net/"
license=('LGPL')
depends=('java-runtime')
optdepends=('autotrace: enable the automatic tracing function')
source=('plotdigitizer.sh'
        'plotdigitizer.png'
        'plotdigitizer.desktop'
        "http://sourceforge.net/projects/plotdigitizer/files/plotdigitizer/${pkgver}/PlotDigitizer_Linux_and_Others.tgz")
md5sums=('cd8a880ce641f7d8c7fc5367166d94a9'
         '06c7419f4f5c9d07fea0b8044e8a2ff4'
         'a89612e09f10210013d9a4fb34c740b7'
         '24b8c401af3029ffd85445fc088a0716')
sha512sums=('2b9fc71be4b79893a7fed54341c1c4f9ed5af6c7da54d978eab14d911494b625a66ac5ce44f6d3fc33fadb03ec8dcb892230c4f52bc2bfd9079df7b1f406efe7'
            '18f8e20236ea0929fcab67dcb58e7306fabad800296f8693423457c8ebdcdeeddacb69fd049c1473e74a263a3b924fa7a124780d751bafc3d05504f22622a384'
            'b60e18915504ea58a36de680dec2937843cb74a54a7d249bc22747b692238a7ca2f35b72c6b87c6ea0e2730de6e8d309bfa4ec30db8afef45090e73773402abe'
            'ca4406b848460a0c879fd19dc6324b65f6496dc69deae8995d93c5b7e4bef7fbe8043c7ad6e662839f17c7a49ca2aee2a6dc59174eaefb29a22545697f1fa22c')

package() {
  install -m644 -D "${srcdir}/PlotDigitizer_Linux_and_Others/PlotDigitizer.jar" "${pkgdir}/usr/share/java/${pkgname}/PlotDigitizer.jar"
  install -m755 -D "${srcdir}/${pkgname}.sh" "${pkgdir}/usr/bin/${pkgname}.sh"
  install -m644 -D "${srcdir}/${pkgname}.png" "${pkgdir}/usr/share/pixmaps/${pkgname}.png"
  install -m644 -D "${srcdir}/${pkgname}.desktop" "${pkgdir}/usr/share/applications/${pkgname}.desktop"
}