summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 37fc11fb3ca3a7f70d51d8e87f3d4481d1c17951 (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
# Maintainer: Kazuki Przyborowski <kazukiprzyborowski[at]gmail[dot]com>
pkgname=python2-pyupcean
pkgver=2.7.11
pkgrel=3
pkgdesc="PyUPC-EAN is a barcode library/module for python2."
arch=('any')
url="https://github.com/GameMaker2k/PyUPC-EAN/"
license=('BSD')
replaces=('python2-upcean')
depends=('python2' 'python2-pillow')
options=(!strip !emptydirs)
_gitrevision='89387c87e84d678d4ae59760687d7d8d91bd6fb4'
source=("https://github.com/GameMaker2k/PyUPC-EAN/archive/${_gitrevision}.tar.gz")
md5sums=('5d976a63199e0c4442a833c949233bd6')
sha256sums=('14fc72f6f8fa7ddccb121f7d0a29b0043ee99a5e84759d406aee178d800d17cd')
sha384sums=('022afc7845d2c5916c287520c2391166e07ef2175e1f829464662feaac7ad35bba62c9fd264905a197f9b71e5cfdff09')
sha512sums=('8de80dd3bf5e37c3f373905369848300ab0ab52dc742dda4b3b97ff1a58b9aaa69524d4321bd842dc675625849dba659abdd77fa9d252c4adba89dbe38d3a905')

package() {
  cd "${srcdir}/PyUPC-EAN-${_gitrevision}"
  /usr/bin/python2 ./setup.py install --root="${pkgdir}" --optimize=1
}

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