summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: b447682d0dba2075ac7a99f0e3ad6f7d794f0313 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Maintainer: C├ędric Connes <cedric.connes@gmail.com>

pkgname=goldtree-py
_githubver=0.9
pkgver="$_githubver.0"
pkgrel=1
pkgdesc="A python port of XorTroll's Goldtree"
arch=('any')
url='https://github.com/friedkeenan/GoldtreePy'
license=('GPL3')
depends=('python'
         'python-pyusb')
source=("https://github.com/friedkeenan/GoldtreePy/archive/v$_githubver.tar.gz")
sha256sums=('56755c6f6ac9bf2979ccab5bd053796b53b19fc5a74c412db5dcaad23bb00588')

package() {
  cd "GoldtreePy-$_githubver"
  install -t "$pkgdir/usr/lib/$pkgname" -Dm755 Goldtree.py
  install -t "$pkgdir/usr/share/licenses/$pkgname" -Dm644 LICENSE
  install -d "$pkgdir/usr/bin"
  ln -s "/usr/lib/$pkgname/Goldtree.py" "$pkgdir/usr/bin/$pkgname"
}