blob: 0487320e7fe717ca7752ba6b4e9693956b9d647f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
|
# This is an example rePKGBUILD file. Use this as a start to creating your own,
# and remove these comments. For more information, see 'man PKGBUILD'.
# NOTE: Please fill out the license field for your package! If it is unknown,
# then please put 'unknown'.
# Maintainer: Nicolas Reynolds <fauno@kiwwwi.com.ar>
# Maintainer: André Silva <andre.paulista@adinet.com.uy>
source PKGBUILD
unset build package md5sums source check
_repo=testing
pkgname='systemd'
options=(!strip)
source=(PKGBUILD
http://mirrors.kernel.org/archlinux/${_repo}/os/$CARCH/${pkgbase}-${pkgver}-${pkgrel}-${CARCH}${PKGEXT}
# files for pkg modifications
os-release)
build() {
cd "${srcdir}/"
rm -v .{INSTALL,PKGINFO} $pkgname-$pkgver-$pkgrel-$CARCH$PKGEXT || true
# put actions for package modifications below this line
rm -v etc/os-release
}
package_systemd() {
pkgdesc="system and service manager (Parabola rebranded)"
depends=('acl' 'dbus-core' "libsystemd=$pkgver" 'kmod' 'libcap' 'pam'
"systemd-tools=$pkgver" 'util-linux' 'xz')
optdepends=('dbus-python: systemd-analyze'
'initscripts: legacy support for hostname and vconsole setup'
'initscripts-systemd: native boot and initialization scripts'
'python2-cairo: systemd-analyze'
'systemd-arch-units: collection of native unit files for Arch daemon/init scripts'
'systemd-sysvcompat: symlink package to provide sysvinit binaries')
backup=(etc/dbus-1/system.d/org.freedesktop.systemd1.conf
etc/dbus-1/system.d/org.freedesktop.hostname1.conf
etc/dbus-1/system.d/org.freedesktop.login1.conf
etc/dbus-1/system.d/org.freedesktop.locale1.conf
etc/dbus-1/system.d/org.freedesktop.timedate1.conf
etc/systemd/system.conf
etc/systemd/user.conf
etc/systemd/logind.conf
etc/systemd/journald.conf)
install="systemd.install"
# Install Parabola os-release
install -Dm644 "$srcdir/os-release" "$pkgdir/etc/os-release"
find ${srcdir} -maxdepth 1 -type l -delete
cp -a ${srcdir}/* ${pkgdir}
}
|