diff options
author | Maxime Gauduin | 2018-03-27 22:09:47 +0200 |
---|---|---|
committer | Maxime Gauduin | 2018-03-27 22:09:47 +0200 |
commit | 447e398fbe33c5aee372700b500758ea10ba66b1 (patch) | |
tree | 88f6f7e3b101d7c3921c92c0ef61712603f5b81f | |
parent | 0eabada09692a50e9ac99f91e19f9e9323985fa9 (diff) | |
download | aur-447e398fbe33c5aee372700b500758ea10ba66b1.tar.gz |
Switch to meson
-rw-r--r-- | .SRCINFO | 7 | ||||
-rw-r--r-- | PKGBUILD | 19 |
2 files changed, 10 insertions, 16 deletions
@@ -1,17 +1,16 @@ # Generated by mksrcinfo v8 -# Mon May 1 19:03:03 UTC 2017 +# Tue Mar 27 20:09:47 UTC 2018 pkgbase = switchboard-plug-printers-git pkgdesc = Switchboard Printers Plug - pkgver = r148.b074299 + pkgver = r237.8051a03 pkgrel = 1 url = https://github.com/elementary/switchboard-plug-printers - arch = i686 arch = x86_64 groups = pantheon-unstable license = GPL3 - makedepends = cmake makedepends = git makedepends = granite-git + makedepends = meson makedepends = switchboard-git makedepends = vala depends = glib2 @@ -1,7 +1,7 @@ # Maintainer: Maxime Gauduin <alucryd@archlinux.org> pkgname=switchboard-plug-printers-git -pkgver=r148.b074299 +pkgver=r237.8051a03 pkgrel=1 pkgdesc='Switchboard Printers Plug' arch=('x86_64') @@ -10,7 +10,7 @@ license=('GPL3') groups=('pantheon-unstable') depends=('glib2' 'glibc' 'gtk3' 'libcups' 'libgee' 'libgranite.so' 'libswitchboard-2.0.so') -makedepends=('cmake' 'git' 'granite-git' 'switchboard-git' 'vala') +makedepends=('git' 'granite-git' 'meson' 'switchboard-git' 'vala') provides=('switchboard-plug-printers') conflicts=('switchboard-plug-printers') source=('git+https://github.com/elementary/switchboard-plug-printers.git') @@ -23,8 +23,6 @@ pkgver() { } prepare() { - cd switchboard-plug-printers - if [[ -d build ]]; then rm -rf build fi @@ -32,19 +30,16 @@ prepare() { } build() { - cd switchboard-plug-printers/build + cd build - cmake .. \ - -DCMAKE_BUILD_TYPE='Release' \ - -DCMAKE_INSTALL_PREFIX='/usr' \ - -DCMAKE_INSTALL_LIBDIR='/usr/lib' - make + arch-meson ../switchboard-plug-printers + ninja } package() { - cd switchboard-plug-printers/build + cd build - make DESTDIR="${pkgdir}" install + DESTDIR="${pkgdir}" ninja install } # vim: ts=2 sw=2 et: |