mirror of
https://github.com/moparisthebest/arch-ppa
synced 2024-11-27 11:02:17 -05:00
Switch package names
This commit is contained in:
parent
4e7efe2019
commit
e72d64e12e
41
src/python-axolotl-curve25519/PKGBUILD
Normal file
41
src/python-axolotl-curve25519/PKGBUILD
Normal file
@ -0,0 +1,41 @@
|
|||||||
|
# Maintainer: Alexandre Bouvier <contact AT amb DOT tf>
|
||||||
|
# Contributor: Ivan Shapovalov <intelfx@intelfx.name>
|
||||||
|
# Contributor: Tommaso Sardelli <lacapannadelloziotom AT gmail DOT com>
|
||||||
|
# Contributor: Philipp Joram <phijor AT t-online DOT de>
|
||||||
|
pkgname=('python-axolotl-curve25519' 'python2-axolotl-curve25519')
|
||||||
|
pkgbase=python-axolotl-curve25519
|
||||||
|
pkgver=0.1
|
||||||
|
pkgrel=1
|
||||||
|
pkgdesc="Python wrapper for curve25519 library"
|
||||||
|
arch=('i686' 'x86_64' 'armv7h')
|
||||||
|
url="https://github.com/tgalal/python-axolotl-curve25519"
|
||||||
|
license=('GPL3')
|
||||||
|
makedepends=('python-setuptools' 'python2-setuptools')
|
||||||
|
source=("https://files.pythonhosted.org/packages/source/${pkgbase::1}/$pkgbase/$pkgbase-$pkgver.tar.gz")
|
||||||
|
md5sums=('f28d902df9044f0bf86a35a4bd2ec092')
|
||||||
|
|
||||||
|
prepare() {
|
||||||
|
cp -a "$pkgbase-$pkgver"{,-python2}
|
||||||
|
}
|
||||||
|
|
||||||
|
build() {
|
||||||
|
cd "$srcdir/$pkgbase-$pkgver"
|
||||||
|
python setup.py build
|
||||||
|
|
||||||
|
cd "$srcdir/$pkgbase-$pkgver-python2"
|
||||||
|
python2 setup.py build
|
||||||
|
}
|
||||||
|
|
||||||
|
package_python-axolotl-curve25519() {
|
||||||
|
depends=('python')
|
||||||
|
|
||||||
|
cd "$pkgbase-$pkgver"
|
||||||
|
python setup.py install --root="$pkgdir" --optimize=1 --skip-build
|
||||||
|
}
|
||||||
|
|
||||||
|
package_python2-axolotl-curve25519() {
|
||||||
|
depends=('python2')
|
||||||
|
|
||||||
|
cd "$pkgbase-$pkgver-python2"
|
||||||
|
python2 setup.py install --root="$pkgdir" --optimize=1 --skip-build
|
||||||
|
}
|
41
src/python-axolotl/PKGBUILD
Normal file
41
src/python-axolotl/PKGBUILD
Normal file
@ -0,0 +1,41 @@
|
|||||||
|
# Maintainer: Alexandre Bouvier <contact AT amb DOT tf>
|
||||||
|
# Contributor: Ivan Shapovalov <intelfx@intelfx.name>
|
||||||
|
# Contributor: Tommaso Sardelli <lacapannadelloziotom AT gmail DOT com>
|
||||||
|
# Contributor: Philipp Joram <phijor AT t-online DOT de>
|
||||||
|
pkgname=('python-axolotl' 'python2-axolotl')
|
||||||
|
pkgbase=python-axolotl
|
||||||
|
pkgver=0.1.39
|
||||||
|
pkgrel=1
|
||||||
|
pkgdesc="Python port of libaxolotl"
|
||||||
|
arch=('any')
|
||||||
|
url="https://github.com/tgalal/python-axolotl"
|
||||||
|
license=('GPL3')
|
||||||
|
makedepends=('python-setuptools' 'python2-setuptools')
|
||||||
|
source=("$pkgbase-$pkgver.tar.gz::https://github.com/tgalal/python-axolotl/archive/$pkgver.tar.gz")
|
||||||
|
md5sums=('89ae2ace340f02f1377a71063265ffc6')
|
||||||
|
|
||||||
|
prepare() {
|
||||||
|
cp -a "$pkgbase-$pkgver"{,-python2}
|
||||||
|
}
|
||||||
|
|
||||||
|
build() {
|
||||||
|
cd "$srcdir/$pkgbase-$pkgver"
|
||||||
|
python setup.py build
|
||||||
|
|
||||||
|
cd "$srcdir/$pkgbase-$pkgver-python2"
|
||||||
|
python2 setup.py build
|
||||||
|
}
|
||||||
|
|
||||||
|
package_python-axolotl() {
|
||||||
|
depends=('python-protobuf' 'python-crypto' 'python-axolotl-curve25519')
|
||||||
|
|
||||||
|
cd "$pkgbase-$pkgver"
|
||||||
|
python setup.py install --root="$pkgdir" --optimize=1 --skip-build
|
||||||
|
}
|
||||||
|
|
||||||
|
package_python2-axolotl() {
|
||||||
|
depends=('python2-protobuf' 'python2-crypto' 'python2-axolotl-curve25519')
|
||||||
|
|
||||||
|
cd "$pkgbase-$pkgver-python2"
|
||||||
|
python2 setup.py install --root="$pkgdir" --optimize=1 --skip-build
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user