arch/pkg/de-p1st-systemd/PKGBUILD

32 lines
709 B
Bash
Raw Normal View History

2021-04-20 11:38:42 +02:00
# Maintainer: Daniel Langbein <daniel@systemli.org>
_pkgname=systemd
2021-04-26 18:28:17 +02:00
_reponame=arch
2021-04-20 11:38:42 +02:00
pkgname="de-p1st-$_pkgname"
2021-04-29 12:09:36 +02:00
pkgver=0.0.2
2021-04-20 11:38:42 +02:00
pkgrel=1
pkgdesc="systemd with configuration"
arch=('any')
2021-04-26 18:25:29 +02:00
url="https://codeberg.org/privacy1st/${_reponame}"
2021-04-20 11:38:42 +02:00
license=('MIT')
groups=()
depends=('systemd')
2021-04-22 13:37:47 +02:00
makedepends=('git')
2021-04-20 11:38:42 +02:00
optdepends=()
provides=()
conflicts=()
replaces=()
backup=()
options=()
install="${pkgname}.install"
2021-04-20 11:38:42 +02:00
changelog=
source=("git+${url}.git")
noextract=()
sha256sums=('SKIP')
package() {
cd "${_reponame}/pkg/${pkgname}"
2021-04-20 11:48:53 +02:00
install -Dm0644 00-journal-size.conf "$pkgdir"/etc/systemd.conf.d/00-journal-size.conf
install -Dm0644 systemd.preset "$pkgdir"/usr/lib/systemd/system-preset/"$pkgname".preset
2021-04-20 11:38:42 +02:00
}