summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD27
1 files changed, 12 insertions, 15 deletions
diff --git a/PKGBUILD b/PKGBUILD
index df19ced6b3f..16eb1e9eedd 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Maxime Gauduin <alucryd@archlinux.org>
pkgname=switchboard-plug-parental-controls-git
-pkgver=r334.db7f66c
+pkgver=r407.669ee27
pkgrel=1
pkgdesc='Switchboard Parental Controls Plug'
arch=('x86_64')
@@ -11,13 +11,13 @@ groups=('pantheon-unstable')
depends=('accountsservice' 'gdk-pixbuf2' 'glib2' 'glibc' 'gtk3' 'libgee'
'polkit'
'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-parental-controls')
conflicts=('switchboard-plug-parental-controls')
source=('git+https://github.com/elementary/switchboard-plug-parental-controls.git'
- 'systemd-service-install-dir.patch')
+ 'systemd-unit-install-dir.patch')
sha256sums=('SKIP'
- '73d98773379872f7fe8ac570faf8d3ce01ab2495784fac4569ac596f77706591')
+ '18da068a732085d41255fb2fac2e390451d7499f6750dd36e8a14530d6b8072b')
pkgver() {
cd switchboard-plug-parental-controls
@@ -26,30 +26,27 @@ pkgver() {
}
prepare() {
- cd switchboard-plug-parental-controls
-
if [[ -d build ]]; then
rm -rf build
fi
mkdir build
- patch -Np1 -i ../systemd-service-install-dir.patch
+ cd switchboard-plug-parental-controls
+
+ patch -Np1 -i ../systemd-unit-install-dir.patch
}
build() {
- cd switchboard-plug-parental-controls/build
+ cd build
- cmake .. \
- -DCMAKE_BUILD_TYPE='Release' \
- -DCMAKE_INSTALL_PREFIX='/usr' \
- -DCMAKE_INSTALL_LIBDIR='/usr/lib'
- make
+ arch-meson ../switchboard-plug-parental-controls
+ ninja
}
package() {
- cd switchboard-plug-parental-controls/build
+ cd build
- make DESTDIR="${pkgdir}" install
+ DESTDIR="${pkgdir}" ninja install
}
# vim: ts=2 sw=2 et: