summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: e53a7a8c878a7689a1c6b6cd1b7cb9566e491b3b (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
26
27
# Maintainer: Your Name <youremail@domain.com>
_pkgname=crcmod
pkgname=python-crcmod
pkgver=1.7
pkgrel=1
pkgdesc="Cyclic Redundancy Check (CRC) implementation in Python."
arch=('i686' 'x86_64')
url="https://pypi.python.org/pypi/crcmod/"
license=('MIT')
groups=()
depends=('python')
makedepends=()
provides=()
conflicts=()
replaces=()
backup=()
options=(!emptydirs)
install=
source=("https://pypi.python.org/packages/source/c/$_pkgname/$_pkgname-${pkgver}.tar.gz")
md5sums=(2d5b92117d958dcead94f9e17f54cd32)

package() {
  cd "$srcdir/$_pkgname-$pkgver"
  python setup.py install --root="$pkgdir/" --optimize=1
}

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