[arch-commits] Commit in (4 files)

Morten Linderud foxboron at archlinux.org
Sat May 26 12:10:49 UTC 2018


    Date: Saturday, May 26, 2018 @ 12:10:48
  Author: foxboron
Revision: 330063

added pywal to community

Added:
  python-pywal/
  python-pywal/repos/
  python-pywal/trunk/
  python-pywal/trunk/PKGBUILD

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

Added: python-pywal/trunk/PKGBUILD
===================================================================
--- python-pywal/trunk/PKGBUILD	                        (rev 0)
+++ python-pywal/trunk/PKGBUILD	2018-05-26 12:10:48 UTC (rev 330063)
@@ -0,0 +1,32 @@
+# Maintainer: Morten Linderud <foxboron at archlinux.org> 
+# Contributor: Sean Haugh <seanphaugh at gmail.com>
+
+pkgname=python-pywal
+pkgver=3.0.0
+pkgrel=2
+pkgdesc="Generate and change colorschemes on the fly"
+arch=('any')
+url="https://github.com/dylanaraps/pywal/"
+license=('MIT')
+depends=('python' 'python2' 'imagemagick')
+makedepends=('python-setuptools')
+optdepends=('feh: set wallpaper'
+            'nitrogen: set wallpaper')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/dylanaraps/pywal/archive/${pkgver}.tar.gz")
+sha256sums=('5760734dbcedcece2e3cbfab2d52bcfda27cd287126f76b2265b2d66c10b230d')
+
+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