updated on Tue Jan 17 20:03:13 UTC 2012
[aur-mirror.git] / dnatree / PKGBUILD
blob7af205913af2d8fb92cf4bfc2c0fd72d48ba9bd5
1 # Contributor: Nick B <Shirakawasuna at gmail _dot_com>
2 pkgname=dnatree
3 pkgver=1.2
4 pkgrel=1
5 pkgdesc="A program that simulates the branching of an evolutionary tree."
6 arch=('i686' 'x86_64')
7 url="http://evolution.gs.washington.edu/dnatree/"
8 license=('custom')
9 depends=('glibc')
10 source=(http://evolution.gs.washington.edu/dnatree/Makefile
11         http://evolution.gs.washington.edu/dnatree/dnatree.h
12         http://evolution.gs.washington.edu/dnatree/dnatree.c
13         http://evolution.gs.washington.edu/dnatree/dnatree.html
14         desktop_dnatree.patch
15         icon_dnatree.patch)
17 build() {
20 cd $srcdir
21 patch -p1 <../desktop_dnatree.patch
22 patch -p1 <../icon_dnatree.patch
23 make DISTDIR=/usr || return 1
24 mkdir -p $pkgdir/usr/bin
25 install -D -m755 dnatree $pkgdir/usr/bin/dnatree
26 install -D -m644 dnatree.desktop $pkgdir/usr/share/applications/dnatree.desktop
27 install -D -m644 dnatree.xpm $pkgdir/usr/share/pixmaps/dnatree.xpm
29 mkdir -p $pkgdir/usr/share/licenses/dnatree
30 echo "This program and its documentation is copyright to The University of Washington, 1999-2004. Its free distribution and use is permitted, including using 
31 multiple copies in classrooms. Resale or use in a commercial product is not permitted without our permission." > $pkgdir/usr/share/licenses/dnatree/copying
34 md5sums=('e381a4430a33541f1520071ec15dce7f'
35          'a75a13baae99403e5a570cb0206e0a18'
36          '3ceacaac29033b5213e0b390c10f7d5b'
37          '735d57458975db8ddcb0168d4e8c1a62'
38          '392c2abca0390c79cc1c5308c0d9e996'
39          'b437e0018ba89e8019eaa05189f0ce41')