summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: ac608b06fe7c44461f72ec463023891236b46910 (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
# Maintainer: pumpkincheshire <sollyonzou@gmail.com>

_name=anyconfig-configobj-backend
pkgname=python-$_name
pkgver=0.1.4
pkgrel=2
pkgdesc='A backend module for python-anyconfig to load and dump ConfigObj data'
url='https://github.com/ssato/python-anyconfig-configobj-backend'
arch=('any')
license=('MIT')
depends=('python-anyconfig' 'python-configobj')
source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz")
sha256sums=('28216d5a5714491e1155df26743ae75741e87fb00b5f54f07301dfa56bfe7e5a')

build() {
    cd "$srcdir/$_name-$pkgver"
    python setup.py build
}

package() {
    cd "$srcdir/$_name-$pkgver"
    python setup.py install --root="$pkgdir/" --optimize=1 --skip-build
    install -Dm644 LICENSE* -t "$pkgdir/usr/share/licenses/$pkgname"
}