summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 54989862829cf6423498085d132509841238552e (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: kpcyrd <git@rxv.cc>
# Contributor: Timothy Redaelli <timothy.redaelli@gmail.com>
# Contributor: Samuel Tardieu <sam@rfc1149.net>

pkgname=python2-slowaes
pkgver=0.1a1
pkgrel=3
pkgdesc="Implementation of AES in Python"
arch=('any')
url="https://code.google.com/archive/p/slowaes/"
license=('Apache')
depends=('python2')
makedepends=('python2-setuptools')
source=("https://pypi.python.org/packages/source/s/slowaes/slowaes-$pkgver.tar.gz")
md5sums=('eafee95a788a795403e972a35e80ce4f')
sha256sums=('83658ae54cc116b96f7fdb12fdd0efac3a4e8c7c7064e3fac3f4a881aa54bf09')

package() {
  cd "$srcdir/slowaes-$pkgver"
  sed -i 's#/usr/bin/python#/usr/bin/python2#' aes.py
  python2 setup.py install --root="$pkgdir/" --optimize=1
}

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