diff options
author | Jelle van der Waa | 2021-11-29 20:41:30 +0100 |
---|---|---|
committer | Jelle van der Waa | 2021-11-29 20:41:30 +0100 |
commit | f3f2fb08e6d82034af0f690aad05d8ab88d62049 (patch) | |
tree | c7c565143a0b457115e51d4c9b152d2c37fb5df3 /PKGBUILD | |
download | aur-f3f2fb08e6d82034af0f690aad05d8ab88d62049.tar.gz |
import from community
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..aae4c527753c --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,38 @@ +# Maintainer: Maxime Gauduin <alucryd@gmail.com> +# Contributor: Schala <schalaalexiazeal@gmail.com> + +pkgname=python2-enum34 +pkgver=1.1.9 +pkgrel=1 +pkgdesc='Python 3.4 Enum backported' +arch=(any) +url=https://bitbucket.org/stoneleaf/enum34 +license=(BSD) +depends=(python2) +makedepends=( + mercurial + python2-setuptools +) +source=(hg+https://bitbucket.org/stoneleaf/enum34#tag=7e3b107656eb) +sha256sums=(SKIP) + +pkgver() { + cd enum34 + + hg id -t +} + +build() { + cd enum34 + + python2 setup.py build +} + +package() { + cd enum34 + + python2 setup.py install --root="${pkgdir}" --optimize=1 --skip-build + install -Dm 644 enum/LICENSE -t "${pkgdir}"/usr/share/licenses/python2-enum34/ +} + +# vim: ts=2 sw=2 et: |