[arch-commits] Commit in python-pywal/repos (community-any community-any/PKGBUILD)

Morten Linderud foxboron at archlinux.org
Sat May 26 12:11:31 UTC 2018


    Date: Saturday, May 26, 2018 @ 12:11:31
  Author: foxboron
Revision: 330064

archrelease: copy trunk to community-any

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

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

Copied: python-pywal/repos/community-any/PKGBUILD (from rev 330063, python-pywal/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD	                        (rev 0)
+++ community-any/PKGBUILD	2018-05-26 12:11:31 UTC (rev 330064)
@@ -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