summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: eebd52ba18bf4af0cb9ab88eff8dd9d3e144b0f1 (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
27
# Maintainer: Kamil Krzy┼╝anowski <kamnxt@kamnxt.com>
_pkgname=python-npyscreen2
pkgname=${_pkgname}-git
pkgver=20141124.75ecd73
pkgrel=1
pkgdesc="A fork of npyscreen with changed core components"
arch=('any')
url="https://github.com/SavinaRoja/npyscreen2"
license=('GPL3')
depends=('python')
makedepends=('git')
provides=("${_pkgname}")
options=(!emptydirs)
source=("${_pkgname}::git+https://github.com/SavinaRoja/npyscreen2")
md5sums=('SKIP')

pkgver() {
	cd "${srcdir}/${_pkgname}"
	git log -1 --format='%cd.%h' --date=short | tr -d -
}

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

# vim:set ts=2 sw=2 et: