summaryrefslogtreecommitdiffstats
path: root/deps/accountsservice/accountsservice.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'deps/accountsservice/accountsservice.SlackBuild')
-rwxr-xr-xdeps/accountsservice/accountsservice.SlackBuild37
1 files changed, 18 insertions, 19 deletions
diff --git a/deps/accountsservice/accountsservice.SlackBuild b/deps/accountsservice/accountsservice.SlackBuild
index fa52966..e5d65ca 100755
--- a/deps/accountsservice/accountsservice.SlackBuild
+++ b/deps/accountsservice/accountsservice.SlackBuild
@@ -1,6 +1,6 @@
#!/bin/sh
-# Copyright 2017 Eric Hameleers, Eindhoven, NL
+# Copyright 2017, 2020 Eric Hameleers, Eindhoven, NL
# Copyright 2017 Patrick J. Volkerding, Sebeka, MN, USA
# All rights reserved.
#
@@ -25,8 +25,8 @@
PKGNAM=accountsservice
-VERSION=${VERSION:-0.6.45}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-0.6.55}
+BUILD=${BUILD:-1}
CWD=$(pwd)
TMP=${TMP:-/tmp}
@@ -72,6 +72,7 @@ cd $TMP
rm -rf $PKGNAM-$VERSION
tar xvf $CWD/$PKGNAM-$VERSION.tar.?z || exit 1
cd $PKGNAM-$VERSION || exit 1
+
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
@@ -79,33 +80,31 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
-[ ! -x configure ] && autoreconf -vif
-
-LDFLAGS="$SLKLDFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-CFLAGS="$SLKCFLAGS" \
-./configure \
+export LDFLAGS="$SLKLDFLAGS"
+export CXXFLAGS="$SLKCFLAGS"
+export CFLAGS="$SLKCFLAGS"
+meson build \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--mandir=/usr/man \
- --docdir=/usr/doc/$PKGNAM-$VERSION \
--localstatedir=/var \
--sysconfdir=/etc \
- --disable-gtk-doc \
- --disable-systemd \
- --enable-admin-group=wheel \
- --program-prefix= \
- --program-suffix= \
- --build=$TARGET
+ -D admin-group=wheel \
+ -D docbook=false \
+ -D gtk-doc=true \
+ -D systemd=false \
+ -D systemdsystemunitdir=no \
+ -D user_heuristics=false \
+ || exit 1
# Build and install:
-make || exit 1
-make DESTDIR=$PKG install || exit 1
+"${NINJA:=ninja}" $NUMJOBS -C build || exit 1
+DESTDIR=$PKG meson install -C build || exit 1
# Add documentation:
mkdir -p $PKG/usr/doc/$PKGNAM-$VERSION
cp -a \
- AUTHORS COPYING NEWS README TODO \
+ AUTHORS COPYING NEWS README* TODO \
$PKG/usr/doc/$PKGNAM-$VERSION
# Compress the man page(s):