# This file is part of BlackArch Linux ( https://www.blackarch.org/ ). # See COPYING for license details. pkgname=python2-distutils-extra _pkgname=python-distutils-extra pkgver=2.39 pkgrel=6 pkgdesc="Enables you to easily integrate gettext support, themed icons and scrollkeeper based documentation into Python's distutils." url='https://launchpad.net/python-distutils-extra' arch=('any') license=('MIT') depends=('python2' 'intltool') makedepends=('python2-setuptools') source=("https://launchpad.net/$_pkgname/trunk/$pkgver/+download/$_pkgname-$pkgver.tar.gz") sha512sums=('e3b4d1ed22767fb4c6dbbdccef960865b6fda01d18dc38cb8f9357c09c7eabb78466fce053e407a196eca257d07d57c5c1ef47f358a5979c7f22e4b11775124e') build() { cd "$_pkgname-$pkgver" python2 setup.py build } package() { cd "$_pkgname-$pkgver" python2 setup.py install --root="$pkgdir" --prefix=/usr -O1 --skip-build }