blob: 52b99ad1f41e7aedc54996fda2d4f3e1dfae9432 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
# Maintainer: Angel Velasquez <angvp@archlinux.org>
# Contributor: Geoffroy Carrier <geoffroy.carrier@aur.archlinux.org>
# Contributor: Nathan Jones <nathanj@insightbb.com>
pkgname=python-memcached
pkgver=1.47
pkgrel=1
pkgdesc="A Python interface to memcached"
depends=('python2')
makedepends=('setuptools')
source=(ftp://ftp.tummy.com/pub/$pkgname/$pkgname-$pkgver.tar.gz LICENSE)
url="ftp://ftp.tummy.com/pub/python-memcached/"
license=('Python')
arch=('i686' 'x86_64' 'mips64el')
md5sums=('e4e9d65e5721a1bb01f8d657ddf3f03e'
'5286ea4c34766a357085694e0984f116')
build() {
cd "$srcdir"/$pkgname-$pkgver
# python2 fix
sed -i 's_#!/usr/bin/env python_#!/usr/bin/env python2_' memcache.py
python2 setup.py install --root=$pkgdir
install -Dm644 ${srcdir}/LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
}
|