summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 080bde07390b223535d0f8d60596401720b35431 (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: Florian Wittmann <fl0w1@disroot.org>
pkgname='python-mbstrdecoder'
_module='mbstrdecoder'
pkgver='0.2.2'
pkgrel=1
pkgdesc="multi-byte character string decoder"
url="https://github.com/thombashi/mbstrdecoder"
depends=('python' 'python-six>=1.10')
makedepends=('python-setuptools')
license=('MIT')
arch=('any')
source=("https://github.com/thombashi/mbstrdecoder/archive/v${pkgver}.tar.gz")
md5sums=('f87dffc44d789b98dcdbd664fe323eb0')

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

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