summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 5b4a87582850dbcdfd3fa03786dcf22c39b27f8d (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.2.1.7d91a46
pkgrel=1
pkgdesc="ueberzug is an python script which aims to replace w3mimgdisplay"
arch=('any')
url="https://github.com/ueber-devel/${_pkgname}"
license=('GPL3')
depends=("libxext" "libxres" "python-pillow" "python" "python-docopt" "python-attrs")
makedepends=("git" "python-setuptools")
source=("git+${url}.git#branch=master")
md5sums=('SKIP')
conflicts=("${_pkgname}" "ueberzugpp")
provides=("${_pkgname}=${pkgver}")

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

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