aboutsummaryrefslogblamecommitdiffstats
path: root/community/openrc-settingsd/APKBUILD
blob: 16e90987342de9b61610c218c39acc3e4fa2fc1b (plain) (tree)
1
2
3
4
5



                                               
        






































                                                                                                                                                                           
                                                                                                                                                                     
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=openrc-settingsd
pkgver=1.0.1
pkgrel=1
pkgdesc="System settings D-Bus service for OpenRC"
url="https://gitweb.gentoo.org/proj/openrc-settingsd.git"
arch="all"
license="GPL-2.0-or-later"
makedepends="glib-dev dbus-dev openrc-dev polkit-dev libdaemon-dev automake autoconf
	libtool bash"
subpackages="$pkgname-doc $pkgname-openrc"
source="https://gitweb.gentoo.org/proj/openrc-settingsd.git/snapshot/openrc-settingsd-$pkgver.tar.gz
	use-profiled-instead-of-envd.patch"

prepare() {
	default_prepare

	sed -i -e 's:/sbin/runscript:/sbin/openrc-run:g' data/init.d/openrc-settingsd.in

	autoreconf -if
}

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var \
		--with-pidfile=/run/openrc-settingsd.pid
	make SHELL="/bin/bash"
}

check() {
	make check
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="bca589de7d2c96d8d15d93882b7296523a0d6301fe1d33f7fc03386544b5c050f2d819b9e1f005ee10a794883175ea1b1172411aad3598f967a6a5677a5c4aad  openrc-settingsd-1.0.1.tar.gz
71e2c01120b4b30af7988129aeea5c61fbc273f169b50e09809519a93910e22aedea71682328b32d6da1e3106a75595b0bf5c3ab38ed3c9f8ffb179f29adf83a  use-profiled-instead-of-envd.patch"