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

Evangelos Foutras foutrelis at archlinux.org
Mon Jul 23 16:36:34 UTC 2018


    Date: Monday, July 23, 2018 @ 16:36:34
  Author: foutrelis
Revision: 363158

archrelease: copy trunk to community-staging-any

Added:
  python-pywal/repos/community-staging-any/
  python-pywal/repos/community-staging-any/PKGBUILD
    (from rev 363157, python-pywal/trunk/PKGBUILD)

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

Copied: python-pywal/repos/community-staging-any/PKGBUILD (from rev 363157, python-pywal/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2018-07-23 16:36:34 UTC (rev 363158)
@@ -0,0 +1,33 @@
+# Maintainer: Morten Linderud <foxboron at archlinux.org> 
+# Contributor: Sean Haugh <seanphaugh at gmail.com>
+
+pkgname=python-pywal
+pkgver=3.1.0
+pkgrel=2
+pkgdesc="Generate and change colorschemes on the fly"
+arch=('any')
+url="https://github.com/dylanaraps/pywal/"
+license=('MIT')
+depends=('python' 'imagemagick')
+makedepends=('python-setuptools')
+optdepends=('feh: set wallpaper'
+            'nitrogen: set wallpaper'
+	    'python2: reload gtk2 themes on the fly')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/dylanaraps/pywal/archive/${pkgver}.tar.gz")
+sha256sums=('2d17982b5803de3da09a0678523c009d9154f2a53cfe643f727445e758d6f4ba')
+
+build(){
+  cd "pywal-${pkgver}"
+  python setup.py build
+}
+
+check(){
+  cd "pywal-${pkgver}"
+  python setup.py test
+}
+
+package() {
+  cd "pywal-${pkgver}"
+  python setup.py install --prefix=/usr --root="$pkgdir/" --optimize=1 --skip-build
+  install -Dm644 LICENSE.md "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}



More information about the arch-commits mailing list