summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: a4b643bcd5165a7a2b6533853eefd7ef75d48fed (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
# Maintainer: arkhan <arkhan@disroot.org>
pkgname=python-ueberzug
_pkgname=ueberzug
pkgver=18.1.6
pkgrel=1
pkgdesc="ueberzug is an python script which aims to replace w3mimgdisplay"
arch=('any')
license=('GPL')
depends=("libxext" "python-pillow" "python" "python-xlib" "python-docopt" "python-psutil" "python-attrs")
makedepends=("python" "python-setuptools")
conflicts=("python-${_pkgname}-git")
url='https://github.com/seebye/ueberzug'
source=("https://github.com/seebye/$_pkgname/archive/$pkgver.tar.gz")
md5sums=('69c8c823a867676d81f8cab31397dfc8')

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

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