diff options
author | Maxime Gauduin | 2018-04-03 11:12:42 +0200 |
---|---|---|
committer | Maxime Gauduin | 2018-04-03 11:12:42 +0200 |
commit | f8143779a58fbed100838163810d4491a315b3dc (patch) | |
tree | 01c7fe6a132ba081425ccbb4410c6272112e2d13 /PKGBUILD | |
parent | 6e333e2afc89e202acf57297885c6dbafc4fd126 (diff) | |
download | aur-f8143779a58fbed100838163810d4491a315b3dc.tar.gz |
Switch to meson
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 22 |
1 files changed, 8 insertions, 14 deletions
@@ -1,7 +1,7 @@ # Maintainer: Maxime Gauduin <alucryd@archlinux.org> pkgname=wingpanel-indicator-bluetooth-git -pkgver=r111.0c3df8d +pkgver=r184.23e33e8 pkgrel=1 pkgdesc='Bluetooth indicator for Wingpanel' arch=('x86_64') @@ -10,7 +10,7 @@ license=('GPL3') groups=('pantheon-unstable') depends=('bluez' 'glib2' 'glibc' 'gtk3' 'libgee' 'libwingpanel-2.0.so') -makedepends=('cmake' 'git' 'granite-git' 'intltool' 'vala' 'wingpanel-git') +makedepends=('git' 'granite-git' 'intltool' 'meson' 'vala' 'wingpanel-git') provides=('wingpanel-indicator-bluetooth') conflicts=('wingpanel-indicator-bluetooth') source=('git+https://github.com/elementary/wingpanel-indicator-bluetooth.git') @@ -23,8 +23,6 @@ pkgver() { } prepare() { - cd wingpanel-indicator-bluetooth - if [[ -d build ]]; then rm -rf build fi @@ -32,20 +30,16 @@ prepare() { } build() { - cd wingpanel-indicator-bluetooth/build - - cmake .. \ - -DCMAKE_BUILD_TYPE='Release' \ - -DCMAKE_INSTALL_PREFIX='/usr' \ - -DCMAKE_INSTALL_LIBDIR='/usr/lib' \ - -DGSETTINGS_COMPILE='OFF' - make + cd build + + arch-meson ../wingpanel-indicator-bluetooth + ninja } package() { - cd wingpanel-indicator-bluetooth/build + cd build - make DESTDIR="${pkgdir}" install + DESTDIR="${pkgdir}" ninja install } # vim: ts=2 sw=2 et: |