summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJuraj Fiala2016-04-20 18:45:06 +0200
committerJuraj Fiala2016-04-20 18:45:06 +0200
commita034bdc6303a2fa6c5361722645ff5570d9ef0de (patch)
treebae864281793488fa1fcbfb05c065fdb7d6879c7
parent09d26ca536b957d42b5c4aab5414409e89bfd8a6 (diff)
downloadaur-a034bdc6303a2fa6c5361722645ff5570d9ef0de.tar.gz
Upgrade to new version, seperate build process.
Prepare for PGP verification.
-rw-r--r--.SRCINFO8
-rw-r--r--PKGBUILD18
2 files changed, 19 insertions, 7 deletions
diff --git a/.SRCINFO b/.SRCINFO
index fafada80195..67ced6b9eaa 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,8 +1,8 @@
# Generated by mksrcinfo v8
-# Thu Apr 7 13:29:59 UTC 2016
+# Wed Apr 20 16:45:06 UTC 2016
pkgbase = python2-leap_mail
pkgdesc = The magick sauce for leap encrypted email!
- pkgver = 0.4.0
+ pkgver = 0.4.1
pkgrel = 1
url = https://bitmask.net/
arch = any
@@ -14,8 +14,8 @@ pkgbase = python2-leap_mail
depends = python2-leap_pycommon
depends = python2-leap_soledad_client
depends = python2-leap_keymanager
- source = https://github.com/leapcode/leap_mail/archive/0.4.0.tar.gz
- sha256sums = d3ba7cb72a0afefa755ed45f41086af4a07e12ddceea1f342ac58262cb68dacd
+ source = https://github.com/leapcode/leap_mail/archive/0.4.1.tar.gz
+ sha256sums = a7dd17f6e8209bdc66ba2148fad8a88340e86b87d6b136da461490b3c5277848
pkgname = python2-leap_mail
diff --git a/PKGBUILD b/PKGBUILD
index 383bc568c1c..9dd33e91bef 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
_srcname=leap_mail
pkgname=python2-$_srcname
-pkgver=0.4.0
+pkgver=0.4.1
pkgrel=1
pkgdesc='The magick sauce for leap encrypted email!'
arch=('any')
@@ -17,11 +17,23 @@ depends=(
'python2-leap_soledad_client'
'python2-leap_keymanager')
source=("https://github.com/leapcode/$_srcname/archive/$pkgver.tar.gz")
-sha256sums=('d3ba7cb72a0afefa755ed45f41086af4a07e12ddceea1f342ac58262cb68dacd')
+validpgpkeys=('BE23FB4A0E9DB36ECB9AB8BE23638BF72C593BC1')
+sha256sums=('a7dd17f6e8209bdc66ba2148fad8a88340e86b87d6b136da461490b3c5277848')
+
+prepare() {
+ cd "$srcdir/$_srcname-$pkgver"
+ # Workaround changelog find fail
+ sed -i 's/CHANGELOG/CHANGELOG.rst/' setup.py
+}
+
+build() {
+ cd "$srcdir/$_srcname-$pkgver"
+ python2 setup.py build
+}
package() {
cd "$srcdir/$_srcname-$pkgver"
- python2 setup.py install --root="$pkgdir" --optimize=1
+ python2 setup.py install --skip-build --root="$pkgdir" --optimize=1
}
# vim:set ts=2 sw=2 et: