#Packager: George Vlahavas # # Before building the package, make sure you have created a colord group # and a colord user: # # groupadd -g 303 colord # useradd -d /var/lib/colord -u 303 -g colord -s /bin/false colord pkgname=colord pkgver=1.2.12 pkgrel=1gv source=("https://www.freedesktop.org/software/colord/releases/colord-$pkgver.tar.xz") docs=("readme" "install" "copying" "changelog" "authors" "news" "todo") url=https://www.freedesktop.org/software/colord options=('noautodotnew') doinst() { if ! usr/bin/getent group colord 2>/dev/null 1>/dev/null ; then usr/sbin/groupadd -g 303 colord fi if ! usr/bin/getent passwd colord 2>/dev/null 1>/dev/null ; then usr/sbin/useradd -d /var/lib/colord -u 303 -g colord -s /bin/false colord fi } slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "colord (Color Profile System Service)" "colord is a system service that makes it easy to manage, install and" "generate color profiles to accurately color manage input and output" "devices." ) build() { cd $startdir/src/$pkgname-$pkgver ./configure --prefix=/usr \ --libdir=/usr/lib${LIBDIRSUFFIX} \ --localstatedir=/var --sysconfdir=/etc \ --disable-schemas-compile \ --disable-gtk-doc \ --disable-gtk-doc-html \ --disable-gtk-doc-pdf \ --disable-bash-completion \ --disable-systemd-login \ --disable-argyllcms-sensor \ --enable-vala \ --enable-sane \ --disable-static \ --with-daemon-user=colord \ --build=$arch-slackware-linux make -j $numjobs || return 1 make install DESTDIR=$startdir/pkg }