summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMaxime Gauduin2018-03-27 22:09:47 +0200
committerMaxime Gauduin2018-03-27 22:09:47 +0200
commit447e398fbe33c5aee372700b500758ea10ba66b1 (patch)
tree88f6f7e3b101d7c3921c92c0ef61712603f5b81f
parent0eabada09692a50e9ac99f91e19f9e9323985fa9 (diff)
downloadaur-447e398fbe33c5aee372700b500758ea10ba66b1.tar.gz
Switch to meson
-rw-r--r--.SRCINFO7
-rw-r--r--PKGBUILD19
2 files changed, 10 insertions, 16 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 016b69167ec..385e28b3db1 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -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
diff --git a/PKGBUILD b/PKGBUILD
index c82b13e204f..a39b0419c62 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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: