blob: f634f17578e79069b566336b5abf9fac287c5f8a (
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
|
# Maintainer: Malacology <guoyizhang at malacology dot net>
# Contributor: Malacology <guoyizhang at malacology dot net>
pkgname=nona
pkgver=2014.03.10
pkgrel=6
pkgdesc="NONA: a bastard son of Pee-Wee. Phylogenetic Analysis Software"
arch=('any')
url="http://www.lillo.org.ar/phylogeny/Nona-PeeWee/readme.htm"
depends=('lib32-glibc')
license=('custom')
source=("http://www.lillo.org.ar/phylogeny/Nona-PeeWee/nona-linux.tar.gz")
sha256sums=('40698b797a3d58707521dd3cea0ebdf3f80ff5c1075382f98b81860fc426de69')
prepare() {
cd $srcdir
echo -e '#!/bin/bash\n cd /usr/share/nona/\n./nona' > shell-$pkgname
chmod +x shell-$pkgname
}
package() {
# install dir
install -dm755 "$pkgdir"/usr/{bin,share/{$pkgname,doc/$pkgname}}
# install them
install -Dm755 $srcdir/piwe.doc $pkgdir/usr/share/$pkgname/piwe.doc
install -Dm755 $srcdir/$pkgname $pkgdir/usr/share/$pkgname/$pkgname
install -Dm755 $srcdir/shell-$pkgname $pkgdir/usr/bin/$pkgname-linux
# link
ln -s /usr/share/$pkgname/piwe.doc $pkgdir/usr/share/doc/$pkgname/piwe.doc
}
|