summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: ba379effe78cde1eeda543f687d3dd17d1f810fb (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.2.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=('b3c37b3b639870544e902de2ad0d15ac4a88bad25ff32d00e650f7907c80f9fd')

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

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