summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Bermond2019-05-26 16:17:05 +0000
committerDaniel Bermond2019-05-26 16:17:05 +0000
commit3b94a69bee363c875646dcdf6da4adb75a1a806d (patch)
tree2701b0d9e01509aa601b823692259a8a0e21a9cd
parent329fb8035284b9feb887c072295df2f880616ba1 (diff)
downloadaur-3b94a69bee363c875646dcdf6da4adb75a1a806d.tar.gz
Skip build at install time
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD19
2 files changed, 10 insertions, 15 deletions
diff --git a/.SRCINFO b/.SRCINFO
index c974acadc07..9aa2abba047 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,9 +1,8 @@
pkgbase = python-lmdb
- pkgdesc = Universal Python3 binding for the LMDB Lightning Database
+ pkgdesc = Universal Python binding for the LMDB Lightning Database
pkgver = 0.94
- pkgrel = 2
+ pkgrel = 3
url = https://github.com/dw/py-lmdb/
- arch = i686
arch = x86_64
license = custom
makedepends = python
@@ -16,7 +15,6 @@ pkgbase = python-lmdb
sha256sums = 68685bbbd3ffe93c71f55b57c00d3704a370c70e04b943e47cbe107ad14a049c
pkgname = python-lmdb
- pkgdesc = Universal Python3 binding for the LMDB Lightning Database
depends = python
depends = python-cffi
depends = lmdb
diff --git a/PKGBUILD b/PKGBUILD
index 15d50ca77fc..3546ee38050 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,11 +1,11 @@
-# Maintainer : Daniel Bermond < yahoo-com: danielbermond >
+# Maintainer : Daniel Bermond < gmail-com: danielbermond >
pkgbase=python-lmdb
pkgname=('python-lmdb' 'python2-lmdb')
pkgver=0.94
-pkgrel=2
-pkgdesc='Universal Python3 binding for the LMDB Lightning Database'
-arch=('i686' 'x86_64')
+pkgrel=3
+pkgdesc='Universal Python binding for the LMDB Lightning Database'
+arch=('x86_64')
url='https://github.com/dw/py-lmdb/'
license=('custom')
depends=('python2' 'lmdb')
@@ -18,7 +18,7 @@ prepare() {
}
build() {
- printf '%s\n' ' -> Building for Python3...'
+ printf '%s\n' ' -> Building for Python...'
cd "py-lmdb-py-lmdb_${pkgver}"
LMDB_FORCE_SYSTEM='1' python setup.py build
@@ -28,13 +28,11 @@ build() {
}
package_python-lmdb() {
- pkgdesc='Universal Python3 binding for the LMDB Lightning Database'
depends=('python' 'python-cffi' 'lmdb')
cd "py-lmdb-py-lmdb_${pkgver}"
- LMDB_FORCE_SYSTEM='1' python setup.py install --root="$pkgdir" --optimize='1'
+ LMDB_FORCE_SYSTEM='1' python setup.py install --root="$pkgdir" --skip-build --optimize='1'
- # license
install -D -m644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
}
@@ -43,8 +41,7 @@ package_python2-lmdb() {
depends=('python2' 'python2-cffi' 'lmdb')
cd "py-lmdb-py-lmdb_${pkgver}-py2"
- LMDB_FORCE_SYSTEM='1' python2 setup.py install --root="$pkgdir" --optimize='1'
+ LMDB_FORCE_SYSTEM='1' python2 setup.py install --root="$pkgdir" --skip-build --optimize='1'
- # license
- install -D -m644 'LICENSE' -t "${pkgdir}/usr/share/licenses/${pkgname}"
+ install -D -m644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
}