diff options
author | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2015-07-23 15:28:37 -0300 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2015-07-23 15:28:37 -0300 |
commit | f2e64f2a39f4227214e74eb3653cd839db7db903 (patch) | |
tree | c7e86d1fb48b2f479add751d0c5318e1e7231931 /libre/pysolfc-cardsets | |
parent | f0d4d1a5e78b1b34fae9c9432cf4931d23d1ad22 (diff) | |
download | abslibre-f2e64f2a39f4227214e74eb3653cd839db7db903.tar.gz abslibre-f2e64f2a39f4227214e74eb3653cd839db7db903.tar.bz2 abslibre-f2e64f2a39f4227214e74eb3653cd839db7db903.zip |
pysolfc-cardsets: add new package to [libre]
Diffstat (limited to 'libre/pysolfc-cardsets')
-rw-r--r-- | libre/pysolfc-cardsets/PKGBUILD | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/libre/pysolfc-cardsets/PKGBUILD b/libre/pysolfc-cardsets/PKGBUILD new file mode 100644 index 000000000..da7ba1cab --- /dev/null +++ b/libre/pysolfc-cardsets/PKGBUILD @@ -0,0 +1,37 @@ +# $Id: PKGBUILD 115058 2014-07-05 06:46:46Z fyan $ +# Maintainer (Arch): Eric Bélanger <eric@archlinux.org> +# Maintainer: André Silva <emulatorman@parabola.nu> + +pkgname=pysolfc-cardsets +pkgver=2.0 +pkgrel=3.parabola1 +pkgdesc="A collection of cardsets adapted for use with PySolFC, without nonfree cardsets" +arch=('any') +url="http://pysolfc.sourceforge.net/" +license=('GPL3') +depends=('pysolfc') +mksource=(http://downloads.sourceforge.net/pysolfc/PySolFC-Cardsets-${pkgver}.tar.bz2) +source=(https://repo.parabola.nu/other/pysolfc-libre/PySolFC-Cardsets-libre-${pkgver}.tar.bz2) +mkmd5sums=('0ce4aa6801196f9166815b244aeea47e') +mksha1sums=('cbf26b7e282c242a2080dfd06e3847abbaf67303') +md5sums=('86367db45620661aa2961d4f1b025fb6') +mksha1sums=('c5c34ccd0be3378feb772bf7a03b1e1970dff4a8') + +mksource() { + cd "${srcdir}/PySolFC-Cardsets-${pkgver}" + +# removing nonfree cardsets included in pysolfc + rm -rv cardset-{greywyvern,jacoby,patience,rangoon-{d,e,r},tksol} +} + +package() { + cd "${srcdir}/PySolFC-Cardsets-${pkgver}" + install -d "${pkgdir}/usr/share/PySolFC" + cp -r * "${pkgdir}/usr/share/PySolFC" + +# removing cardsets included in pysolfc + rm -r "${pkgdir}"/usr/share/PySolFC/cardset-{2000,crystal-mahjongg,dashavatara-ganjifa} + rm -r "${pkgdir}"/usr/share/PySolFC/cardset-{dondorf,gnome-mahjongg-1,hexadeck,kintengu} + rm -r "${pkgdir}"/usr/share/PySolFC/cardset-{matrix,mughal-ganjifa,oxymoron,standard} + rm -r "${pkgdir}"/usr/share/PySolFC/cardset-{tuxedo,vienna-2k} +} |