[arch-commits] Commit in mailnag-goa-plugin/trunk (PKGBUILD)

Balló György bgyorgy at archlinux.org
Mon Mar 9 02:12:57 UTC 2020


    Date: Monday, March 9, 2020 @ 02:12:57
  Author: bgyorgy
Revision: 592731

upgpkg: mailnag-goa-plugin 1.2.0+3+ga8ccbe7-1: Update to latest git snapshot in order to use python3

Modified:
  mailnag-goa-plugin/trunk/PKGBUILD

----------+
 PKGBUILD |   23 +++++++++++++++--------
 1 file changed, 15 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-03-09 02:09:20 UTC (rev 592730)
+++ PKGBUILD	2020-03-09 02:12:57 UTC (rev 592731)
@@ -2,22 +2,29 @@
 # Contributor: Patrick Ulbrich <zulu99 at gmx . net>
 
 pkgname=mailnag-goa-plugin
-pkgver=1.2.0
-pkgrel=2
+pkgver=1.2.0+3+ga8ccbe7
+pkgrel=1
 pkgdesc="Mailnag GNOME Online Accounts plugin"
 arch=('any')
 url="https://github.com/pulb/mailnag-goa-plugin"
 license=('GPL')
 depends=('gnome-online-accounts' 'mailnag')
-source=("https://github.com/pulb/$pkgname/archive/v$pkgver.tar.gz")
-sha256sums=('39a8178d956d69e919927cbb77ca1cd0dc65957cd610417717c5bfeeb7c5e380')
+makedepends=(git)
+_commit=a8ccbe77adadc0ea01899f5cfc465d3ac22debb2  # master
+source=("git+https://github.com/pulb/mailnag-goa-plugin.git#commit=$_commit")
+sha256sums=('SKIP')
 
+pkgver() {
+  cd $pkgname
+  git describe --tags | sed 's/^v//;s/-/+/g'
+}
+
 build() {
-  cd $pkgname-$pkgver
-  python2 setup.py build
+  cd $pkgname
+  python setup.py build
 }
 
 package() {
-  cd $pkgname-$pkgver
-  python2 setup.py install --root="$pkgdir" --optimize=1
+  cd $pkgname
+  python setup.py install --root="$pkgdir" --optimize=1
 }



More information about the arch-commits mailing list