summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: cae964b27a0a3d69b31966d01344980d9e90e14a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
pkgname='python-msgfy'
_module='msgfy'
pkgver='0.1.0'
pkgrel=1
pkgdesc="A Python library for converting an Exception instance into a human-readable error message"
url="https://github.com/thombashi/msgfy"
depends=('python')
makedepends=('python-setuptools')
license=('MIT')
arch=('any')
source=("https://github.com/thombashi/msgfy/archive/v${pkgver}.tar.gz")
sha256sums=('5d63a7e50538463b91a5898d95a8cd1c9d06f608e8ab3e6ccd0ca9d9d279c104')

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

package() {
    cd "${srcdir}/${_module}-${pkgver}"
    python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
}