diff options
author | Maxime Gauduin | 2018-03-27 15:51:11 +0200 |
---|---|---|
committer | Maxime Gauduin | 2018-03-27 15:51:11 +0200 |
commit | fbc334dd49aa542f42d9ffd0f3ae94a95b2ac847 (patch) | |
tree | 91fff83c6f0ff1b73784ca4dc0e8ffccd6113dde | |
parent | 4332ff230bf0c2621c94b7fdab89fe9f24292d2e (diff) | |
download | aur-fbc334dd49aa542f42d9ffd0f3ae94a95b2ac847.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 21:04:44 UTC 2017 +# Tue Mar 27 13:51:04 UTC 2018 pkgbase = switchboard-plug-bluetooth-git pkgdesc = Switchboard Bluetooth Plug - pkgver = r78.4538c1f + pkgver = r155.c4b2478 pkgrel = 1 url = https://github.com/elementary/switchboard-plug-bluetooth - 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 = bluez @@ -1,7 +1,7 @@ # Maintainer: Maxime Gauduin <alucryd@archlinux.org> pkgname=switchboard-plug-bluetooth-git -pkgver=r78.4538c1f +pkgver=r155.c4b2478 pkgrel=1 pkgdesc='Switchboard Bluetooth Plug' arch=('x86_64') @@ -10,7 +10,7 @@ license=('GPL3') groups=('pantheon-unstable') depends=('bluez' 'glib2' 'glibc' 'gtk3' 'libgee' 'libswitchboard-2.0.so') -makedepends=('cmake' 'git' 'granite-git' 'switchboard-git' 'vala') +makedepends=('git' 'granite-git' 'meson' 'switchboard-git' 'vala') provides=('switchboard-plug-bluetooth') conflicts=('switchboard-plug-bluetooth') replaces=('switchboard-plug-bluetooth-bzr') @@ -24,8 +24,6 @@ pkgver() { } prepare() { - cd switchboard-plug-bluetooth - if [[ -d build ]]; then rm -rf build fi @@ -33,19 +31,16 @@ prepare() { } build() { - cd switchboard-plug-bluetooth/build + cd build - cmake .. \ - -DCMAKE_BUILD_TYPE='Release' \ - -DCMAKE_INSTALL_PREFIX='/usr' \ - -DCMAKE_INSTALL_LIBDIR='/usr/lib' - make + arch-meson ../switchboard-plug-bluetooth + ninja } package() { - cd switchboard-plug-bluetooth/build + cd build - make DESTDIR="${pkgdir}" install + DESTDIR="${pkgdir}" ninja install } # vim: ts=2 sw=2 et: |