PKGBUILDs/aur/python2-yenc/PKGBUILD
2011-10-23 15:28:56 -04:00

31 lines
826 B
Bash

# Maintainer: Clément Démoulins <clement@archivel.fr>
# Contributor: Lucky <aur.archlinux.org [at] lucky.take0ver [dot] net>
# Contributor: Jonathan Curran <jonc@icicled.net>
plugrel=1
pkgname=python2-yenc
_pkgname="dual75-yenc"
pkgver=0.4.0
pkgrel=1
pkgdesc="yEnc encoding/decoding module for python2"
url="http://www.golug.it/yenc.html"
arch=('i686' 'x86_64')
license=("GPL")
depends=("python2")
conflicts=("python-yenc")
replaces=("python-yenc")
#source=("http://www.golug.it/pub/yenc/${_pkgname}-${pkgver}.tar.gz")
source=("https://bitbucket.org/dual75/yenc/get/${pkgver}.tar.bz2")
md5sums=('b6605653c353073d814dafa66451d00d')
build() {
cd "${srcdir}/${_pkgname}-${pkgver}"
python2 setup.py build
}
package() {
cd "${srcdir}/${_pkgname}-${pkgver}"
python2 setup.py install --root="${pkgdir}" --optimize=1
}