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

Felix Yan felixonmars at archlinux.org
Mon Nov 4 02:14:37 UTC 2019


    Date: Monday, November 4, 2019 @ 02:14:36
  Author: felixonmars
Revision: 522996

archrelease: copy trunk to community-staging-any

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

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

Copied: pysolfc/repos/community-staging-any/PKGBUILD (from rev 522994, pysolfc/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2019-11-04 02:14:36 UTC (rev 522996)
@@ -0,0 +1,28 @@
+# Maintainer: Jaroslav Lichtblau <svetlemodry at archlinux.org>
+# Contributor: Eric Bélanger <eric at archlinux.org>
+
+pkgname=pysolfc
+pkgver=2.6.4
+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=('tk' 'python-pillow' 'python-random2' 'python-six')
+optdepends=('pysolfc-cardsets')
+source=(https://downloads.sourceforge.net/pysolfc/PySolFC-${pkgver}.tar.xz)
+sha256sums=('4dab3579531530136fb629c045d4b8389f410962e6cf77494f18c61c9de6ea78')
+
+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