diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -1,7 +1,8 @@ # Maintainer: Rhinoceros <https://aur.archlinux.org/account/rhinoceros> # Contributor: Alexandre G <alex foo lecairn bar org> -pkgname=figtree +pkgname=figtree-bin +_pkgname=figtree pkgver=1.4.4 pkgrel=1 pkgdesc='Graphical viewer of phylogenetic trees' @@ -9,9 +10,9 @@ arch=('any') url='http://tree.bio.ed.ac.uk/software/figtree' license=('GPL2') # as stated in http://code.google.com/p/figtree/ depends=('java-environment') -source=("$pkgname-$pkgver.tar.gz::https://github.com/rambaut/$pkgname/releases/download/v$pkgver/FigTree_v$pkgver.tgz" +source=("$_pkgname-$pkgver.tar.gz::https://github.com/rambaut/$_pkgname/releases/download/v$pkgver/FigTree_v$pkgver.tgz" "fix_jar_path.patch" - "${pkgname}.desktop") + "${_pkgname}.desktop") sha256sums=('529b867657b29e369cf81cd361e6a76bd713d488a63b91932df2385800423aa8' 'f2aa0ebe18924d098f0380d7a5dba3d154c4049c53749be19ab12d77f2c7fccb' '93aaadf4db141c57c5a84fe6e9e875af5091c9fe468f41adb8ce6c02ed214ab3') @@ -25,7 +26,7 @@ package() { install -Dm755 "${_figdir}/bin/figtree" "${pkgdir}/usr/bin/figtree" install -Dm755 "${_figdir}/lib/figtree.jar" "${pkgdir}/usr/share/figtree/lib/figtree.jar" - install -Dm644 "${pkgname}.desktop" "${pkgdir}/usr/share/applications/${pkgname}.desktop" + install -Dm644 "${_pkgname}.desktop" "${pkgdir}/usr/share/applications/${_pkgname}.desktop" install -Dm644 "${_figdir}/images/figtree.png" "${pkgdir}/usr/share/pixmaps/figtree.png" # Install doc and examples |