diff options
author | Maxime Gauduin | 2018-03-27 11:54:12 +0200 |
---|---|---|
committer | Maxime Gauduin | 2018-03-27 11:54:12 +0200 |
commit | 3274b244f84b56109bf3c79b2aee48e27ade811e (patch) | |
tree | 30e14709a5963f22ee13b29b970ecdc8f02dfd99 | |
parent | 031f5c043df38dffd46b5ae46157ffee18b62a2f (diff) | |
download | aur-3274b244f84b56109bf3c79b2aee48e27ade811e.tar.gz |
Switch to meson
-rw-r--r-- | .SRCINFO | 8 | ||||
-rw-r--r-- | PKGBUILD | 20 |
2 files changed, 10 insertions, 18 deletions
@@ -1,17 +1,16 @@ # Generated by mksrcinfo v8 -# Mon May 1 20:30:45 UTC 2017 +# Tue Mar 27 09:54:07 UTC 2018 pkgbase = switchboard-plug-about-git pkgdesc = Switchboard About Plug - pkgver = r532.86ef551 + pkgver = r664.badcac9 pkgrel = 1 url = https://github.com/elementary/switchboard-plug-about - 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 @@ -21,7 +20,6 @@ pkgbase = switchboard-plug-about-git depends = libswitchboard-2.0.so provides = switchboard-plug-about conflicts = switchboard-plug-about - replaces = switchboard-plug-about-bzr source = git+https://github.com/elementary/switchboard-plug-about.git sha256sums = SKIP @@ -1,7 +1,7 @@ # Maintainer: Maxime Gauduin <alucryd@archlinux.org> pkgname=switchboard-plug-about-git -pkgver=r532.86ef551 +pkgver=r664.badcac9 pkgrel=1 pkgdesc='Switchboard About Plug' arch=('x86_64') @@ -10,10 +10,9 @@ license=('GPL3') groups=('pantheon-unstable') depends=('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-about') conflicts=('switchboard-plug-about') -replaces=('switchboard-plug-about-bzr') source=('git+https://github.com/elementary/switchboard-plug-about.git') sha256sums=('SKIP') @@ -24,8 +23,6 @@ pkgver() { } prepare() { - cd switchboard-plug-about - if [[ -d build ]]; then rm -rf build fi @@ -33,19 +30,16 @@ prepare() { } build() { - cd switchboard-plug-about/build + cd build - cmake .. \ - -DCMAKE_BUILD_TYPE='Release' \ - -DCMAKE_INSTALL_PREFIX='/usr' \ - -DCMAKE_INSTALL_LIBDIR='/usr/lib' - make + arch-meson ../switchboard-plug-about + ninja } package() { - cd switchboard-plug-about/build + cd build - make DESTDIR="${pkgdir}" install + DESTDIR="${pkgdir}" ninja install } # vim: ts=2 sw=2 et: |