summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: c83b6f7924f3e13aba45522284131fe165d8d119 (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: RubenKelevra

pkgname=python-morphys
pkgver=1.0
pkgrel=1
pkgdesc="Smart conversions between unicode and bytes types for common cases"
url="https://github.com/mkalinski/morphys"
depends=('python')
license=('MIT')
arch=('any')
source=("${pkgname}-${pkgver}.tar.gz::https://codeload.github.com/mkalinski/morphys/zip/0642a71126c32cd26b3a443a5cac27e4e1f7240f")
b2sums=('3ba33596abf5d2fd70aeceaf7b63d79a5d126359499f6167581fc1f65c7f6f35d9afcb0ccea3172cae145289595e9f18844d2f7ce0bf6ce135066350815be27a')

build() {
    mv $srcdir/morphys-0642a71126c32cd26b3a443a5cac27e4e1f7240f $srcdir/${pkgname}-${pkgver}
    cd $srcdir/${pkgname}-${pkgver}
    python setup.py build
}

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