diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 20 |
1 files changed, 7 insertions, 13 deletions
@@ -1,7 +1,7 @@ # Maintainer: Maxime Gauduin <alucryd@archlinux.org> pkgname=switchboard-plug-network-git -pkgver=r582.16f3beb +pkgver=r799.93e3de4 pkgrel=1 pkgdesc='Network plug for Switchboard' arch=('x86_64') @@ -10,10 +10,9 @@ license=('GPL3') groups=('pantheon-unstable') depends=('glib2' 'glibc' 'gtk3' 'libgee' 'libnm-glib' 'nm-connection-editor' '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-network') conflicts=('switchboard-plug-network') -replaces=('switchboard-plug-network-bzr') source=('switchboard-plug-network::git+https://github.com/elementary/switchboard-plug-networking.git') sha256sums=('SKIP') @@ -24,8 +23,6 @@ pkgver() { } prepare() { - cd switchboard-plug-network - if [[ -d build ]]; then rm -rf build fi @@ -33,19 +30,16 @@ prepare() { } build() { - cd switchboard-plug-network/build + cd build - cmake .. \ - -DCMAKE_BUILD_TYPE='Release' \ - -DCMAKE_INSTALL_PREFIX='/usr' \ - -DCMAKE_INSTALL_LIBDIR='/usr/lib' - make + arch-meson ../switchboard-plug-network + ninja } package() { - cd switchboard-plug-network/build + cd build - make DESTDIR="${pkgdir}" install + DESTDIR="${pkgdir}" ninja install } # vim: ts=2 sw=2 et: |