diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2024-08-18 07:43:37 -0500 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2024-08-27 18:01:51 -0500 |
commit | 3519a7ac26ec394231840d3d24af38f9f00efb90 (patch) | |
tree | 25bbd7f4ef472631ac9c7fd99c28f60abce7d29f /user/systemd/APKBUILD | |
parent | 8e27e3945b2ea31b99a2d3ca5b84bb19263f7062 (diff) | |
download | packages-3519a7ac26ec394231840d3d24af38f9f00efb90.tar.gz packages-3519a7ac26ec394231840d3d24af38f9f00efb90.tar.bz2 packages-3519a7ac26ec394231840d3d24af38f9f00efb90.tar.xz packages-3519a7ac26ec394231840d3d24af38f9f00efb90.zip |
user/systemd: [WIP] New package
Diffstat (limited to 'user/systemd/APKBUILD')
-rw-r--r-- | user/systemd/APKBUILD | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/user/systemd/APKBUILD b/user/systemd/APKBUILD new file mode 100644 index 000000000..802e45962 --- /dev/null +++ b/user/systemd/APKBUILD @@ -0,0 +1,39 @@ +# Maintainer: A. Wilcox <awilfox@adelielinux.org> +pkgname=systemd +pkgver=256.5 +pkgrel=0 +pkgdesc="System and service manager" +url="https://systemd.io/" +arch="all" +license="GPL-2.0-only" +depends="" +makedepends="utmps-dev linux-pam-dev acl-dev libidn2-dev libqrencode-dev libgpg-error-dev libgcrypt-dev gnutls-dev bzip2-dev xz-dev lz4-dev zstd-dev pcre2-dev py3-jinja2 meson util-linux-dev libcap-dev" +subpackages="$pkgname-dev $pkgname-doc" +source="systemd-$pkgver.tar.gz::https://github.com/systemd/systemd/archive/refs/tags/v$pkgver.tar.gz + amalgamation.patch + " + +build() { + meson setup \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --localstatedir=/var \ + --wrap-mode=nofallback \ + -Dgshadow=false \ + -Ddns-servers=9.9.9.9 \ + -Dsupport-url=https://bts.adelielinux.org/ \ + -Dnss-systemd=false -Dnss-myhostname=false -Dnss-mymachines=disabled -Dnss-resolve=disabled \ + . build + meson compile -C build +} + +check() { + meson test -C build +} + +package() { + DESTDIR="$pkgdir" meson install -C build +} + +sha512sums="40558194e05a17b218adf3d6df48b738c866855d43d09c1e9381c2c568a44a8f1617b64476736fc7e34416ad9e8d25dc023cf9de090b4ef9079866919377009f systemd-256.5.tar.gz +564a854361ddd4287b44b159e2b6dc9e7fd2f2ed1b84375d20b8b73e3409f5dd3add5ae741f68729d39cba0abf161b4faef7c712bffe7a8a149e0a781f19960e amalgamation.patch" |