summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 9497d1c8429f48d0bfa2decaeec75b4c47fcfbdb (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
25
26
27
# Maintainer: Ronuk Raval <ronuk.raval at gmail dot com>

pkgname=python-meta
pkgver=0.4.1
pkgrel=2
pkgdesc="Python Meta Programming"
arch=('any')
url="https://github.com/srossross/Meta"
license=('BSD')
depends=('python' 'python-setuptools')
source=(
    ${pkgname}-${pkgver}.tar.gz::https://github.com/srossross/Meta/archive/${pkgver}.tar.gz
)
sha256sums=(
    9d918bd5277ce4f41f9ffe25584928cc04001ca2aae25d1f7f1dac87e0ba398c
)

build() {
    cd "Meta-${pkgver}"
    LANG=en_US.UTF-8 python setup.py build
}

package() {
    cd "Meta-${pkgver}"
    LANG=en_US.UTF-8 python setup.py install --root=$pkgdir --optimize=1 --skip-build
    install -D -m644 license.rst "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}