diff options
author | Maxime Gauduin | 2018-01-10 17:58:53 +0100 |
---|---|---|
committer | Maxime Gauduin | 2018-01-10 17:58:53 +0100 |
commit | 0e93deea1f1d40a13ee66bbeca73403fd83dcee1 (patch) | |
tree | 2137e29a9bf7e852978a3e26d759d2eb094f5b6c /PKGBUILD | |
parent | 25bbc249f14f93929e5e49ec384a9c6b896dd129 (diff) | |
download | aur-0e93deea1f1d40a13ee66bbeca73403fd83dcee1.tar.gz |
gsignond-plugin-oauth-git r106.b36060b-1
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 31 |
1 files changed, 12 insertions, 19 deletions
@@ -1,14 +1,14 @@ # Maintainer: Maxime Gauduin <alucryd@archlinux.org> pkgname=gsignond-plugin-oauth-git -pkgver=r81.794ed1d +pkgver=r106.b36060b pkgrel=1 pkgdesc='OAuth plugin for gSSO' arch=('x86_64') url='https://01.org/gsso' license=('LGPL2.1') depends=('glib2' 'glibc' 'gnutls' 'gsignond' 'json-glib' 'libsoup' 'sqlite') -makedepends=('git' 'gobject-introspection' 'gtk-doc') +makedepends=('check' 'git' 'gobject-introspection' 'gtk-doc' 'meson') provides=('gsignond-plugin-oauth') conflicts=('gsignond-plugin-oauth') source=('gsignond-plugin-oauth::git+https://gitlab.com/accounts-sso/gsignond-plugin-oa.git') @@ -21,32 +21,25 @@ pkgver() { } prepare() { - cd gsignond-plugin-oauth - - mkdir -p m4 - gtkdocize - aclocal - autoheader - libtoolize --copy --force - autoconf - automake --add-missing --copy + if [[ -d build ]]; then + rm -rf build + fi + mkdir build } build() { - cd gsignond-plugin-oauth + cd build - export CFLAGS="$CFLAGS -Wno-deprecated-declarations" + #export CFLAGS="$CFLAGS -Wno-deprecated-declarations" - ./configure \ - --prefix='/usr' \ - --enable-gtk-doc - make + arch-meson ../gsignond-plugin-oauth + ninja } package() { - cd gsignond-plugin-oauth + cd build - make DESTDIR="${pkgdir}" install + DESTDIR="${pkgdir}" ninja install } # vim: ts=2 sw=2 et: |