diff options
author | Emmanuel Gil Peyrot | 2018-10-02 21:55:28 +0200 |
---|---|---|
committer | Emmanuel Gil Peyrot | 2018-10-02 21:55:28 +0200 |
commit | 566971875cd4e9c9b65b2c35b25e567086dc3dde (patch) | |
tree | bde922e983c621ea8cb3c12dc5b8f16be42e1a49 | |
parent | 38f15c69c2c0fbdf3a6b26398405bf3b270bd559 (diff) | |
download | aur-566971875cd4e9c9b65b2c35b25e567086dc3dde.tar.gz |
Update for meson and new upstream URL.
-rw-r--r-- | .SRCINFO | 9 | ||||
-rw-r--r-- | PKGBUILD | 25 |
2 files changed, 18 insertions, 16 deletions
@@ -1,8 +1,10 @@ +# Generated by mksrcinfo v8 +# Tue Oct 2 19:55:06 UTC 2018 pkgbase = gplugin-hg pkgdesc = GObject based library that implements a reusable plugin system - pkgver = 993.307728b2f727 + pkgver = 1251.14d65225b360 pkgrel = 1 - url = https://guifications.org/ + url = https://bitbucket.org/gplugin/gplugin arch = i686 arch = x86_64 arch = armv7h @@ -22,7 +24,8 @@ pkgbase = gplugin-hg optdepends = lua-lgi: for Lua support provides = gplugin=0.0.23 conflicts = gplugin - source = gplugin::hg+https://bitbucket.org/gplugin/main#branch=develop + options = debug + source = gplugin::hg+https://bitbucket.org/gplugin/gplugin#branch=develop sha256sums = SKIP pkgname = gplugin-hg @@ -2,11 +2,11 @@ _pkgbase=gplugin pkgname="$_pkgbase-hg" -pkgver=993.307728b2f727 +pkgver=1251.14d65225b360 pkgrel=1 pkgdesc="GObject based library that implements a reusable plugin system" arch=('i686' 'x86_64' 'armv7h') -url="https://guifications.org/" +url="https://bitbucket.org/gplugin/gplugin" license=('GPL') depends=('glib2' 'gobject-introspection-runtime') makedepends=('mercurial' 'cmake' 'gobject-introspection' 'gtk3' @@ -16,8 +16,9 @@ optdepends=('gtk3: for GTK+ support' 'lua-lgi: for Lua support') provides=("$_pkgbase=0.0.23") conflicts=("$_pkgbase") -source=("$_pkgbase::hg+https://bitbucket.org/gplugin/main#branch=develop") +source=("$_pkgbase::hg+https://bitbucket.org/gplugin/gplugin#branch=develop") sha256sums=('SKIP') +options=('debug') pkgver() { cd "$srcdir/$_pkgbase" @@ -26,20 +27,18 @@ pkgver() { } prepare() { - mkdir -p "$srcdir/$_pkgbase/build" - cd "$srcdir/$_pkgbase/build" - cmake .. \ - -DCMAKE_INSTALL_PREFIX=/usr \ - -DCMAKE_BUILD_TYPE=Release \ - -DCMAKE_INSTALL_LIBDIR=lib + cd $_pkgbase + meson build \ + --prefix=/usr \ + --buildtype=release } build() { - cd "$srcdir/$_pkgbase/build" - make + cd $_pkgbase + ninja -C build } package() { - cd "$srcdir/$_pkgbase/build" - make DESTDIR="$pkgdir/" install + cd $_pkgbase + DESTDIR="$pkgdir" ninja -C build install } |