updated on Tue Jan 17 12:00:36 UTC 2012
[aur-mirror.git] / pylan / PKGBUILD
blobeadf2e1e1373201648ece3f64ed908a6c238622a
1 # Maintainer: Julien Nicoulaud <julien.nicoulaud@gmail.com>
2 # Source: https://github.com/nicoulaj/archlinux-packages
3 pkgname=pylan
4 pkgver=1.0
5 pkgrel=1
6 pkgdesc="PyGTK based tool for JMeter XML and CSV logs analysis."
7 arch=(any)
8 url="http://code.google.com/p/pylan"
9 license=(BSD)
10 depends=(python2-numpy python2-matplotlib python-lxml)
11 changelog=Changelog
12 source=("${pkgname}.py::http://pylan.googlecode.com/files/PyLan_${pkgver}.py")
13 md5sums=('9e92abfb03b88448ec51fdbc20326e94')
15 build() {
16   msg2 "Add shebang..."
17   sed -i '1i#!/usr/bin/env python2' "${srcdir}/${pkgname}.py"
20 package() {
21   msg2 "Install script to /usr/bin"
22   install -Dm755 "${srcdir}/${pkgname}.py" "${pkgdir}/usr/bin/${pkgname}"