summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 6615dc7afb2b8afb3f88c05c151a6fa9133b5034 (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: Jakub Klinkovský <j.l.k@gmx.com>

pkgname=python-hostlist
pkgdesc="Python module for handling LLNL hostlists"
pkgver=1.21
pkgrel=1
arch=('x86_64')
url="https://www.nsc.liu.se/~kent/python-hostlist/"
license=('GPL2')
depends=('python')
makedepends=('python-setuptools')
source=("https://www.nsc.liu.se/~kent/$pkgname/$pkgname-$pkgver.tar.gz")
md5sums=('3e33cc1eb3f1fb4bbf399b9a5808e961')

build() {
  cd "$pkgname-$pkgver"
  python setup.py build
}

package() {
  cd "$pkgname-$pkgver"
  python setup.py install --prefix=/usr --root="$pkgdir" --optimize=1
  install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}

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