PKGBUILDs/community/pysolfc-cardsets/PKGBUILD
2009-10-09 21:15:33 -05:00

27 lines
1.1 KiB
Bash

# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
# Maintainer: Eric Belanger <eric@archlinux.org>
# Contributor: Eric Belanger <eric@archlinux.org>
pkgname=pysolfc-cardsets
pkgver=1.1
pkgrel=1
pkgdesc="A collection of cardsets adapted for use with PySolFC"
arch=('i686' 'x86_64')
url="http://pysolfc.sourceforge.net/"
license=('GPL')
conflicts=('pysol-cardsets')
replaces=('pysol-cardsets')
source=(http://downloads.sourceforge.net/pysolfc/PySolFC-Cardsets-$pkgver.tar.bz2)
md5sums=('86efa6815c4f023a64f5efbac961ce91')
sha1sums=('d0342409c8a21b146a9aa9016df017c8064696bc')
build() {
cd $startdir/src/PySolFC-Cardsets-$pkgver
install -d $startdir/pkg/usr/share/PySolFC
cp -r * $startdir/pkg/usr/share/PySolFC
# removing cardsets included in pysolfc
rm -r $startdir/pkg/usr/share/PySolFC/cardset-{vienna-2k,tuxedo,standard,oxymoron}
rm -r $startdir/pkg/usr/share/PySolFC/cardset-{mughal-ganjifa,matrix,kintengu,hexadeck}
rm -r $startdir/pkg/usr/share/PySolFC/cardset-{gnome-mahjongg-1,dondorf,2000}
rm -r $startdir/pkg/usr/share/PySolFC/cardset-{dashavatara-ganjifa,crystal-mahjongg}
}