summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO9
-rw-r--r--PKGBUILD25
2 files changed, 18 insertions, 16 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 95ceeaddef5..28784a27254 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -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
diff --git a/PKGBUILD b/PKGBUILD
index 538894c1c35..4302bc55dc4 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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
}