summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: e522ac3ea78de62f349b426fc6622265cdee5e55 (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: Fox Kiester <noct[at]posteo[dot]net>
_pkgname=zscroll
pkgname=zscroll-git
pkgver=2.0.1.r0.g788be96
pkgrel=1
pkgdesc="A text scroller for use with panels"
arch=('any')
url="https://github.com/noctuid/zscroll"
license=('GPL3')
depends=('python')
makedepends=('git')
provides=("${_pkgname}")
source=("git+https://github.com/noctuid/${_pkgname}")
md5sums=('SKIP')

pkgver() {
  cd "$srcdir/$_pkgname"
  git describe --tags --long | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}

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