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

Felix Yan felixonmars at archlinux.org
Thu Nov 12 17:46:13 UTC 2020


    Date: Thursday, November 12, 2020 @ 17:46:12
  Author: felixonmars
Revision: 752806

archrelease: copy trunk to community-staging-any

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

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

Copied: python-pywal/repos/community-staging-any/PKGBUILD (from rev 752805, python-pywal/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-11-12 17:46:12 UTC (rev 752806)
@@ -0,0 +1,35 @@
+# Maintainer: Morten Linderud <foxboron at archlinux.org> 
+# Contributor: Sean Haugh <seanphaugh at gmail.com>
+
+pkgname=python-pywal
+pkgver=3.3.0
+pkgrel=3
+pkgdesc="Generate and change colorschemes on the fly"
+arch=('any')
+url="https://github.com/dylanaraps/pywal/"
+license=('MIT')
+depends=('python' 'imagemagick' '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"
+		"$pkgname-$pkgver.tar.gz.asc::https://github.com/dylanaraps/pywal/releases/download/${pkgver}/${pkgver}.tar.gz.asc")
+validpgpkeys=("155DC67DC25496572CDD608FF635E931C2834999")
+sha256sums=('fe8fc1c29d1cad1a1a8580293dcfe32e1fac259f9dbfd5c8877439fa5948d189'
+            'SKIP')
+
+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