summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 617ebe034bbd57b4007053663eb642c67eeae062 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Maintainer: mehalter <micah at mehalter.com>

_pkgname=ueberzug
pkgname=python-${_pkgname}-git
pkgver=18.1.1.c5fe4bc
pkgrel=1
pkgdesc="ueberzug is an python script which aims to replace w3mimgdisplay"
arch=('any')
url="https://github.com/seebye/${_pkgname}"
license=('GPL3')
depends=("libxext" "python-pillow-simd" "python" "python-xlib" "python-docopt" "python-psutil" "python-attrs")
makedepends=("python" "git" "python-setuptools")
source=("git+${url}.git#branch=master")
md5sums=('SKIP')
conflicts=("python-${_pkgname}")
provides=("python-${_pkgname}=${pkgver}")

build() {
  cd "$srcdir/$_pkgname"
  python setup.py build
}

package() {
  cd "$srcdir/$_pkgname"
  python setup.py install --prefix=/usr --root "${pkgdir}" || return 1
}