summaryrefslogtreecommitdiff
path: root/pyanidb/PKGBUILD
blob: 04e651fb5b8c529db4774dedb67661f0f1cde970 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Contributor: Jon Bergli Heier <snakebite@jvnv.net>
pkgname=pyanidb
pkgver=0.2.0
pkgrel=1
pkgdesc="PyAniDB is a client for AniDB's UDP API."
arch=(any)
url="http://redmine.jvnv.net/projects/pyanidb/wiki"
license=('GPL')
depends=('python2')
optdepends=('pyxattr')
source=(http://archive.jvnv.net/$pkgname-$pkgver.tar.gz)
md5sums=('192b1db069f28ca3c80c324b8f92bcac')

build() {
  cd "$srcdir/$pkgname-$pkgver"

  sed -i 's|#!/usr/bin/python|#!/usr/bin/env python2|' anidb
  python2 setup.py install --root=${pkgdir} || return 1
}

# vim:set ts=2 sw=2 et: