summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 4a5c7c5204b9a0b05e769c9576c5d8e57d655876 (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: Sven-Hendrik Haase <sh@lutzhaase.com>
_pkgname=pylint-common
pkgname=python-pylint-common
pkgver=0.2.2
pkgrel=1
pkgdesc="Pylint plugin for augmenting and improving error detection and analysis in the standard Python library"
arch=('any')
url="https://github.com/landscapeio/pylint-common"
license=('GPL2')
depends=('python')
makedepends=('python-setuptools')
source=(https://github.com/landscapeio/pylint-common/archive/${pkgver}.tar.gz)
md5sums=('aaa0146cb8ca185849d6a111003c23e8')

build() {
  cd "${_pkgname}-${pkgver}"

  python setup.py build
}

package() {
    cd "${_pkgname}-${pkgver}"

    python setup.py install --prefix="/usr" --root="${pkgdir}" --optimize=1
    install -Dm755 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}"/LICENSE
}
# vim:set ts=2 sw=2 et: