PKGBUILDs/aur/python2-yenc/PKGBUILD
2012-04-15 13:11:14 -04:00

30 lines
808 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
pkgver=0.4.0
pkgrel=3
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=("http://bitbucket.org/dual75/yenc/get/${pkgver}.tar.bz2")
md5sums=('60e1a535b0e0c865c2cc4e7ddf18d9a4')
build() {
cd "${srcdir}/dual75-yenc-ee6b73a5b14f"
python2 setup.py build
}
package() {
cd "${srcdir}/dual75-yenc-ee6b73a5b14f"
python2 setup.py install --root="${pkgdir}" --optimize=1
}