git » signon-ui.git » commit f840c91

Build from git, Ubuntu version is borked

author Antonio Rojas
2017-02-17 13:01:06 UTC
committer Antonio Rojas
2017-02-17 13:01:06 UTC
parent 31db39dc0f23e8c8f8df12b8202bcca8f53c651f

Build from git, Ubuntu version is borked

PKGBUILD +11 -3

diff --git a/PKGBUILD b/PKGBUILD
index fe04007..4d1303d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,28 +3,36 @@
 # Contributor: Balló György <ballogyor+arch at gmail dot com>
 
 pkgname=signon-ui
-pkgver=0.17+17.04.20161109
+pkgver=0.17+20150611
 pkgrel=1
+_commit=3acb6541
 pkgdesc='UI component responsible for handling the user interactions which can happen during the login process of an online account'
 arch=(i686 x86_64)
 url="https://launchpad.net/online-accounts-signon-ui"
 license=(GPL)
 depends=(libaccounts-qt qt5-webkit signond libnotify)
-source=("http://archive.ubuntu.com/ubuntu/pool/main/s/$pkgname/${pkgname}_$pkgver.orig.tar.gz")
-md5sums=('4d065eab7e5a3aad48ccf38383f58fe8')
+makedepends=(git)
+source=("https://gitlab.com/accounts-sso/signon-ui/repository/archive.tar.gz?ref=$_commit")
+md5sums=('3a70743aac1bae75f4c3efb133bd8dc1')
 
 prepare() {
+  cd signon-ui-*
+
   # Do not install tests
   echo 'INSTALLS =' >>tests/unit/tst_inactivity_timer.pro
   echo 'INSTALLS =' >>tests/unit/tst_signon_ui.pro
 }
 
 build() {
+  cd signon-ui-*
+
   qmake-qt5 PREFIX=/usr LIBDIR=/usr/lib
   make
 }
 
 package() {
+  cd signon-ui-*
+
   make INSTALL_ROOT="$pkgdir" install
 }