diff options
-rw-r--r-- | .SRCINFO | 5 | ||||
-rw-r--r-- | PKGBUILD | 24 |
2 files changed, 6 insertions, 23 deletions
@@ -1,18 +1,17 @@ # Generated by mksrcinfo v8 -# Sun May 7 13:56:54 UTC 2017 +# Tue Jun 19 13:15:22 UTC 2018 pkgbase = switchboard-plug-user-accounts-git pkgdesc = Switchboard User Accounts Plug pkgver = r349.051bb8e pkgrel = 1 url = https://github.com/elementary/switchboard-plug-useraccounts - arch = i686 arch = x86_64 groups = pantheon-unstable license = GPL3 - makedepends = cmake makedepends = git makedepends = gobject-introspection makedepends = granite-git + makedepends = meson makedepends = switchboard-git makedepends = vala depends = accountsservice @@ -11,7 +11,7 @@ groups=('pantheon-unstable') depends=('accountsservice' 'cairo' 'gdk-pixbuf2' 'glib2' 'glibc' 'gnome-desktop' 'gtk3' 'libgee' 'libpwquality' 'polkit' 'libgranite.so' 'libswitchboard-2.0.so') -makedepends=('cmake' 'git' 'gobject-introspection' 'granite-git' +makedepends=('git' 'gobject-introspection' 'granite-git' 'meson' 'switchboard-git' 'vala') source=("switchboard-plug-user-accounts::git+https://github.com/elementary/switchboard-plug-useraccounts.git") sha256sums=('SKIP') @@ -22,29 +22,13 @@ pkgver() { echo "r$(git rev-list --count HEAD).$(git rev-parse --short HEAD)" } -prepare() { - cd switchboard-plug-user-accounts - - if [[ -d build ]]; then - rm -rf build - fi - mkdir build -} - build() { - cd switchboard-plug-user-accounts/build - - cmake .. \ - -DCMAKE_BUILD_TYPE='Release' \ - -DCMAKE_INSTALL_PREFIX='/usr' \ - -DCMAKE_INSTALL_LIBDIR='/usr/lib' - make + arch-meson switchboard-plug-user-accounts build + ninja -C build } package() { - cd switchboard-plug-user-accounts/build - - make DESTDIR="${pkgdir}" install + DESTDIR="${pkgdir}" ninja -C build install } # vim: ts=2 sw=2 et: |