updated on Sun Jan 15 20:01:04 UTC 2012
[aur-mirror.git] / dealer / PKGBUILD
blobf700d4237cec84630e1c85dd073774eddf6a6ce2
1 # Contributor: Piotr Beling <qwak@stud.ics.p.lodz.pl>
3 pkgname=dealer
4 pkgver=20040530
5 pkgrel=1
6 arch=(i686 x86_64)
7 pkgdesc="generate bridge cards game hands for partnerships bidding training or for generating statistics that can be used to design conventions, or win postmortems"
8 url="http://www.xs4all.nl/~henku/html/dealer/dealer.html"
9 source=(http://ftp.de.debian.org/debian/pool/main/d/dealer/dealer_0.${pkgver}.orig.tar.gz
10         http://ftp.de.debian.org/debian/pool/main/d/dealer/dealer_0.${pkgver}-2.diff.gz)
11 license=('GPL')
12 depends=('perl')
14 build() {
15     cd $startdir/src/dealer     || return 1
16     patch -p1 < ../dealer_0.${pkgver}-2.diff
17     make        || return 1
18     local destdir=$startdir/pkg/usr/bin
19     install -D -m755 dealer $destdir/dealer     || return 1
20     install -D -m755 Post_Processors/pbn_to_ascii.pl $destdir/dealer.pbn_to_ascii.pl    || return 1
21     install -D -m755 Pre_Processors/dpp $destdir/dealer.dpp                             || return 1
22     install -D -m644 Pre_Processors/Dist.pm $startdir/pkg/usr/lib/perl5/current/Dist.pm || return 1
23     #install -d $startdir/pkg/usr/share/doc/dealer      || return 1
24     #cp -R ./Manual $startdir/pkg/usr/share/doc/dealer/ || return 1
26 md5sums=('991c9b73b7ebc1fb87b5e876a7d72797'
27          'c515329b48ccf9b61b50202472a58a52')