[arch-commits] Commit in polari/trunk (PKGBUILD)

Jan Steffens heftig at archlinux.org
Tue Sep 27 20:06:40 UTC 2016


    Date: Tuesday, September 27, 2016 @ 20:06:40
  Author: heftig
Revision: 277151

3.22.0-1

Modified:
  polari/trunk/PKGBUILD

----------+
 PKGBUILD |   23 +++++++++++++++++------
 1 file changed, 17 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-09-27 20:06:39 UTC (rev 277150)
+++ PKGBUILD	2016-09-27 20:06:40 UTC (rev 277151)
@@ -2,7 +2,7 @@
 # Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
 
 pkgname=polari
-pkgver=3.20.3
+pkgver=3.22.0
 pkgrel=1
 pkgdesc="An IRC Client for GNOME"
 url="https://wiki.gnome.org/Apps/Polari"
@@ -9,13 +9,24 @@
 arch=(i686 x86_64)
 license=(GPL)
 depends=(gjs gtk3 telepathy-glib telepathy-idle telepathy-mission-control telepathy-logger)
-makedepends=(intltool gobject-introspection appdata-tools)
+makedepends=(intltool gobject-introspection appdata-tools yelp-tools autoconf-archive appstream-glib git)
 groups=(gnome-extra)
-source=(https://download.gnome.org/sources/$pkgname/${pkgver:0:4}/$pkgname-$pkgver.tar.xz)
-sha256sums=('9085ad756060eb9759471c195cfe6af22b99489b8f28dc05ff4c91ccaf37c2f0')
+_commit=29f367be24b9c33ca8d030a7d8f769cde6372831  # tags/3.22.0^0
+source=("git://git.gnome.org/polari#commit=$_commit")
+sha256sums=('SKIP')
 
+pkgver() {
+  cd $pkgname
+  git describe --tags | sed 's/-/+/g'
+}
+
+prepare() {
+  cd $pkgname
+  NOCONFIGURE=1 ./autogen.sh
+}
+
 build() {
-  cd $pkgname-$pkgver
+  cd $pkgname
   ./configure --prefix=/usr
   sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
   make
@@ -22,6 +33,6 @@
 }
 
 package() {
-  cd $pkgname-$pkgver
+  cd $pkgname
   make DESTDIR="$pkgdir" install
 }



More information about the arch-commits mailing list