diff options
author | AdriĆ Arrufat | 2018-01-06 13:18:10 +0100 |
---|---|---|
committer | AdriĆ Arrufat | 2018-01-06 13:18:10 +0100 |
commit | 1bf5a377cbdb64f156f4f66aebd975a6e0eb7c3e (patch) | |
tree | 2dc186457025797b5f88494aef36f1dca030101a | |
parent | 64cdcff11c5f30a6ac420e9d1f2ab5211df59a32 (diff) | |
download | aur-1bf5a377cbdb64f156f4f66aebd975a6e0eb7c3e.tar.gz |
update to gitlab
-rw-r--r-- | .SRCINFO | 9 | ||||
-rw-r--r-- | PKGBUILD | 20 | ||||
-rw-r--r-- | polari.install | 12 |
3 files changed, 13 insertions, 28 deletions
@@ -1,11 +1,8 @@ -# Generated by mksrcinfo v8 -# Wed Apr 6 15:13:24 UTC 2016 pkgbase = polari-git pkgdesc = An IRC Client for GNOME - pkgver = 3.20.0.6.g8d2e0e4 + pkgver = 3.27.2+28+g11a9192 pkgrel = 1 url = https://wiki.gnome.org/Apps/Polari - install = polari.install arch = i686 arch = x86_64 groups = gnome-extra @@ -21,10 +18,10 @@ pkgbase = polari-git depends = telepathy-idle depends = telepathy-mission-control depends = telepathy-logger - provides = polari-3.20.0.6.g8d2e0e4 + provides = polari-3.27.2+28+g11a9192 conflicts = polari replaces = polari - source = git+https://git.gnome.org/browse/polari + source = git+https://gitlab.gnome.org/GNOME/polari.git sha256sums = SKIP pkgname = polari-git @@ -3,7 +3,7 @@ _pkgname=polari pkgname=$_pkgname-git -pkgver=3.20.0.6.g8d2e0e4 +pkgver=3.27.2+28+g11a9192 pkgrel=1 pkgdesc="An IRC Client for GNOME" arch=(i686 x86_64) @@ -15,22 +15,22 @@ replaces=($_pkgname) provides=($_pkgname-$pkgver) conflicts=($_pkgname) groups=(gnome-extra) -install=polari.install -source=('git+https://git.gnome.org/browse/polari') +source=("git+https://gitlab.gnome.org/GNOME/${_pkgname}.git") sha256sums=('SKIP') pkgver() { - cd "$srcdir/$_pkgname" - git describe --always | sed 's|-|.|g' + cd $_pkgname + git describe --always | sed 's/-/+/g' } build() { - cd $srcdir/$_pkgname - ./autogen.sh --prefix=/usr --disable-Werror - make + cd $_pkgname + [ -d _build ] && rm -rf _build + meson build --prefix=/usr --buildtype=release + ninja -C build } package() { - cd $srcdir/$_pkgname - make DESTDIR="$pkgdir" install + cd $_pkgname + DESTDIR=${pkgdir} ninja -C build install } diff --git a/polari.install b/polari.install deleted file mode 100644 index c0ed9a0d79f8..000000000000 --- a/polari.install +++ /dev/null @@ -1,12 +0,0 @@ -post_install() { - glib-compile-schemas usr/share/glib-2.0/schemas - gtk-update-icon-cache -q -t -f usr/share/icons/hicolor -} - -post_upgrade() { - post_install -} - -post_remove() { - post_install -} |