summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 16561f82f78987e4e1b08eb9d2658c3e9fa811e6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# Maintainer: eolianoe <eolianoe [at] gmail [DoT] com>
# Co-maintainer: joffrey <joffrey.darcq@sfr.fr>

pkgname='python-django-pylibmc'
pkgver=0.6.1
pkgrel=2
pkgdesc='Memcached cache backend for Django using pylibmc'
arch=('any')
url='https://github.com/django-pylibmc/django-pylibmc'
license=('BSD')
depends=('python-pylibmc')
makedepends=('python-setuptools')
source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
sha256sums=('e0c37aaad086e8e9ec987ea35a75107b0375d924c24136e5f56995a916c54b1a')

package() {
    cd "$srcdir/django-pylibmc-$pkgver"
    install -Dm644 './LICENSE' "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
    python './setup.py' install --root="$pkgdir" --optimize=1
}