[arch-commits] Commit in polari/trunk (PKGBUILD)
Jan Steffens
heftig at archlinux.org
Wed Sep 20 20:07:11 UTC 2017
Date: Wednesday, September 20, 2017 @ 20:07:10
Author: heftig
Revision: 305980
3.26.0+7+ga67955a-1
Modified:
polari/trunk/PKGBUILD
----------+
PKGBUILD | 26 +++++++++++++++-----------
1 file changed, 15 insertions(+), 11 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-09-20 20:05:47 UTC (rev 305979)
+++ PKGBUILD 2017-09-20 20:07:10 UTC (rev 305980)
@@ -2,7 +2,7 @@
# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
pkgname=polari
-pkgver=3.24.2
+pkgver=3.26.0+7+ga67955a
pkgrel=1
pkgdesc="An IRC Client for GNOME"
url="https://wiki.gnome.org/Apps/Polari"
@@ -9,10 +9,10 @@
arch=(i686 x86_64)
license=(GPL)
depends=(gjs gtk3 telepathy-glib telepathy-idle telepathy-mission-control telepathy-logger gspell)
-makedepends=(intltool gobject-introspection appdata-tools yelp-tools autoconf-archive appstream-glib git)
+makedepends=(gobject-introspection appdata-tools yelp-tools appstream-glib git meson)
groups=(gnome-extra)
-_commit=671e13da295a1b5bd371c4e5e27917ef48ca365e # tags/3.24.2^0
-source=("git+https://git.gnome.org/browse/polari#commit=$_commit")
+_commit=a67955a2fac43a66375a4bd2fc1e819af0b43452 # master
+source=("git+https://gitlab.gnome.org/GNOME/polari.git#commit=$_commit")
sha256sums=('SKIP')
pkgver() {
@@ -21,18 +21,22 @@
}
prepare() {
+ mkdir build
cd $pkgname
- NOCONFIGURE=1 ./autogen.sh
}
build() {
- cd $pkgname
- ./configure --prefix=/usr --disable-debug
- sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
- make
+ cd build
+ meson setup --prefix=/usr --buildtype=release ../$pkgname
+ ninja
}
+check() {
+ cd build
+ meson test
+}
+
package() {
- cd $pkgname
- make DESTDIR="$pkgdir" install
+ cd build
+ DESTDIR="$pkgdir" ninja install
}
More information about the arch-commits
mailing list