Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- pkgname=pywal-git
- pkgver=3.3.0.r116.g919ea75
- pkgrel=1
- pkgdesc="Generate and change color-schemes 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')
- provides=("${pkgname%-git}" "python-${pkgname%-git}")
- conflicts=("${pkgname%-git}" "python-${pkgname%-git}")
- source=('git+https://github.com/dylanaraps/pywal.git')
- sha256sums=('SKIP')
- pkgver() {
- cd "$srcdir/${pkgname%-git}"
- git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
- }
- build() {
- cd "$srcdir/${pkgname%-git}"
- python setup.py build
- }
- check() {
- cd "$srcdir/${pkgname%-git}"
- python setup.py test
- }
- package() {
- cd "$srcdir/${pkgname%-git}"
- python setup.py install --prefix=/usr --root="$pkgdir/" --optimize=1 --skip-build
- install -Dm644 LICENSE.md -t "$pkgdir/usr/share/licenses/${pkgname%-git}"
- }
Add Comment
Please, Sign In to add comment