[arch-commits] Commit in pysolfc/repos (2 files)

Evangelos Foutras foutrelis at gemini.archlinux.org
Fri Dec 3 01:29:11 UTC 2021


    Date: Friday, December 3, 2021 @ 01:29:11
  Author: foutrelis
Revision: 1064660

archrelease: copy trunk to community-staging-any

Added:
  pysolfc/repos/community-staging-any/
  pysolfc/repos/community-staging-any/PKGBUILD
    (from rev 1064659, pysolfc/trunk/PKGBUILD)

----------+
 PKGBUILD |   29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

Copied: pysolfc/repos/community-staging-any/PKGBUILD (from rev 1064659, pysolfc/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2021-12-03 01:29:11 UTC (rev 1064660)
@@ -0,0 +1,29 @@
+# Maintainer: Jaroslav Lichtblau <svetlemodry at archlinux.org>
+# Contributor: Eric Bélanger <eric at archlinux.org>
+
+pkgname=pysolfc
+pkgver=2.14.0
+pkgrel=2
+pkgdesc="PySol (Fan Club edition) is an exciting collection of more than 1000 solitaire games"
+arch=('any')
+url="http://pysolfc.sourceforge.net/"
+license=('GPL3')
+depends=('python-attrs' 'pysolfc-cardsets' 'python-configobj' 'python-pillow' 
+         'python-pysol_cards' 'python-random2' 'python-six' 'tk' 'python-pygame')
+makedepends=('python-setuptools')
+source=(https://downloads.sourceforge.net/$pkgname/PySolFC-$pkgver.tar.xz)
+sha256sums=('c8463ffddc000494157e7fa7eb7b55615d09c914cf4448d0d882afd1bf1e3da3')
+
+prepare() {
+  cd PySolFC-$pkgver
+
+  sed -i 's/pysol.py/pysol/' data/pysol.desktop
+}
+
+
+package() {
+  cd PySolFC-$pkgver
+
+  python setup.py install --root="${pkgdir}"
+  mv "${pkgdir}"/usr/bin/pysol.py "${pkgdir}"/usr/bin/pysol
+}



More information about the arch-commits mailing list