summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 7f6633260336246dfa2dbbc2fc22d02c5ef09579 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Maintainer: Michael Gerhaeuser <michael.gerhaeuser@gmail.com>
pkgname=python2-inifile
_pkgname=python-inifile
pkgver=0.4.1
pkgrel=1
pkgdesc="Ini file library for Python."
arch=(any)
url="https://github.com/mitsuhiko/python-inifile"
license=('BSD')
depends=(python2)
makedepends=(python2-setuptools)
options=(!emptydirs)
source=("https://github.com/mitsuhiko/$_pkgname/archive/$pkgver.tar.gz")
sha256sums=("b5fc578e078f7bfdc4cc9307692a9da42e4c25e9d6baea9ba70638029f2d0742")

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

  # license
  install -Dm 644 LICENSE \
    "$pkgdir/usr/share/licenses/${pkgname}/LICENSE"
}