correct PKGBUILD for tnt

This commit is contained in:
starsareintherose 2021-12-08 19:01:22 +00:00
parent b96441f1e9
commit c13e7a6ede

View file

@ -2,23 +2,24 @@
# Contributor: Malacology <guoyizhang at malacology dot com>
pkgname=tnt-mpi
_pkgname=mpitnt
pkgver=1.5
pkgrel=1
pkgdesc="Tree analysis using New Technology"
arch=('x86_64')
url="http://www.lillo.org.ar/phylogeny/tnt/"
provides=('tnt')
conflicts=('tnt')
license=('custom')
depends=(
'ncurses5-compat-libs'
)
source=("http://www.lillo.org.ar/phylogeny/tnt/mpitnt.zip")
source=("http://www.lillo.org.ar/phylogeny/tnt/$_pkgname.zip")
sha256sums=('8eccbcee1fb2dc5eb698bffb679c28ae70ffc43ec06cb73b3dcdd60386bce62c')
package () {
cd ${srcdir}
chmod +x tnt
chmod +x xtnt
install -Dm 755 tnt ${pkgdir}/usr/bin/tnt
chmod +x $_pkgname
install -Dm 755 $pkgname ${pkgdir}/usr/bin/tnt
# install -Dm 755 xtnt ${pkgdir}/usr/bin/xtnt
install -Dm 755 Tred.ttf ${pkgdir}/usr/share/fonts/Tred/Tred.ttf
install -Dm 755 tnt.htm ${pkgdir}/usr/share/doc/tnt/tnt.htm