mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
28 lines
874 B
Bash
28 lines
874 B
Bash
# $Id: PKGBUILD 81227 2012-12-13 19:50:09Z mtorromeo $
|
|
# Maintainer: Massimiliano Torromeo <massimiliano.torromeo@gmail.com>
|
|
# Contributor: William J Bowman <bluephoenix47@gmail.com>
|
|
|
|
pkgname=python2-certifi
|
|
_libname=${pkgname/python2-/}
|
|
pkgver=0.0.8
|
|
pkgrel=2
|
|
pkgdesc="Mozilla's SSL Certs"
|
|
arch=(any)
|
|
url="http://pypi.python.org/pypi/certifi/${pkgver}"
|
|
license=('GPL')
|
|
depends=('python2')
|
|
makedepends=('python2-distribute')
|
|
source=(http://pypi.python.org/packages/source/${_libname:0:1}/$_libname/$_libname-$pkgver.tar.gz)
|
|
|
|
build() {
|
|
cd "$srcdir/$_libname-$pkgver"
|
|
sed -i '1 s|python$|python2|' certifi/core.py
|
|
}
|
|
|
|
package() {
|
|
cd "$srcdir/$_libname-$pkgver"
|
|
python2 setup.py install --root="$pkgdir" -O1
|
|
install -m0644 -D "LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
|
|
}
|
|
|
|
sha256sums=('46ecf5f7526a08cc1f8bc8232adf0cffce046f46ceff95539daec42ebc4849ef')
|