1 # Contributor: Nick B <Shirakawasuna at gmail _dot_com>
5 pkgdesc="A one-locus, two-allele genetic simulation program for use by students."
7 url="http://evolution.gs.washington.edu/popgen/popg.html"
10 source=(http://evolution.gs.washington.edu/popgen/popgsrc.tar.gz
17 cd $srcdir/PopG_${pkgver}_src
18 patch -p1 <../desktop_popg.patch
19 patch -p1 <../icon_popg.patch
20 sed -i s,"cp popg","install -D -m755 popg",g Makefile.gtk
21 make DISTDIR=/usr -f Makefile.gtk || return 1
22 mkdir -p $pkgdir/usr/bin
23 make DISTDIR=$pkgdir/usr -f Makefile.gtk install || return 1
24 install -D -m644 popg.xpm $pkgdir/usr/share/pixmaps/popg.xpm
25 install -D -m644 popg.desktop $pkgdir/usr/share/applications/popg.desktop
26 install -D -m644 copyright $pkgdir/usr/share/licenses/popg/copyright
29 md5sums=('2da157a60152958b324707d4bdd4f21c'
30 'c038f50893cfe120b62f745ca8f4cfbe'
31 'ccf89725354e64417eb0e6989316714b')