diff options
author | mutantmonkey | 2014-07-24 23:17:39 -0700 |
---|---|---|
committer | mutantmonkey | 2014-07-24 23:17:39 -0700 |
commit | 7dfdc679e2a98220c6e3bbf85ac5a16aecd0910d (patch) | |
tree | 6060f3e475fb9ea5324652a672158657843120e8 | |
download | aur-7dfdc679e2a98220c6e3bbf85ac5a16aecd0910d.tar.gz |
add python2-fte and fteproxy
-rw-r--r-- | .SRCINFO | 16 | ||||
-rw-r--r-- | PKGBUILD | 29 |
2 files changed, 45 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..ab16c3016b16 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,16 @@ +pkgbase = python2-fte + pkgdesc = Implementation of Format-Transforming Encryption (FTE) + pkgver = 0.1.0 + pkgrel = 1 + url = https://github.com/kpdyer/libfte + arch = i686 + arch = x86_64 + license = GPL + makedepends = python2-setuptools + depends = python2 + depends = gmp>=5.1 + source = https://pypi.python.org/packages/source/f/fte/fte-0.1.0.tar.gz + sha256sums = 6c4900b2ce4554d6101665a446ca5bd2ca84bb6786913a855edcedb1b142e740 + +pkgname = python2-fte + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..f5140ac09484 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,29 @@ +# Maintainer: mutantmonkey <aur@mutantmonkey.in> +pkgname=python2-fte +pkgver=0.0.4 +pkgrel=2 +pkgdesc="Implementation of Format-Transforming Encryption (FTE)" +arch=('i686' 'x86_64') +url="https://github.com/kpdyer/libfte" +license=('GPL') +depends=('python2' 'gmp>=5.1') +makedepends=('python2-setuptools') +source=("https://pypi.python.org/packages/source/f/fte/fte-${pkgver}.tar.gz") +sha256sums=('0803946562e07693f43954943c4902c92504e2440afe30f9f68f374a1f4bef91') + +prepare() { + cd "$srcdir/fte-$pkgver" + sed -i 's/PYTHON="python"/PYTHON="python2"/' Makefile +} + +build() { + cd "$srcdir/fte-$pkgver" + CXXFLAGS="${CXXFLAGS} -fPIC" make +} + +package() { + cd "$srcdir/fte-$pkgver" + python2 setup.py install --root="$pkgdir/" --optimize=1 +} + +# vim:set ts=2 sw=2 et: |