summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 2e9cbabdfd4049b15629fe5b71cac53e6bbfa5de (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: Adrien Wu <adrien.sf.wu@gmail.com>
pkgname=python2-decorator
pkgver=4.4.2
pkgrel=1
pkgdesc="Decorators for Humans"
url="https://github.com/micheles/decorator"
arch=('any')
provides=('python2-decorator')
depends=('python2')
makedepends=('python2-setuptools')
_name="${pkgname#python2-}"
source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz")
sha256sums=('SKIP')

build() {
  cd "$srcdir/$_name-$pkgver"
  python2 setup.py build
}

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