mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-05 14:57:15 +08:00
34 lines
1.0 KiB
Bash
34 lines
1.0 KiB
Bash
|
|
|
|
pkgname=systemd-units
|
|
pkgver=20120528
|
|
pkgrel=2
|
|
pkgdesc="Chakra GNU/Linux specific Systemd unit files"
|
|
arch=('any')
|
|
url="http://github.com/falconindy/systemd-arch-units"
|
|
license=('MIT')
|
|
depends=('systemd>=44')
|
|
groups=('systemd')
|
|
install=systemd-units.install
|
|
source=("http://chakra-linux.org/sources/${pkgname}/${pkgname}-${pkgver}.tar.xz")
|
|
md5sums=('1bef86deec263d52032114ee696323b2')
|
|
|
|
|
|
|
|
package() {
|
|
cd "$srcdir/${pkgname}-${pkgver}"
|
|
|
|
make DESTDIR="$pkgdir" install
|
|
|
|
sed -i 's/udev-settle/systemd-&/' "$pkgdir"/usr/lib/systemd/system/{lvm,dmraid}.service
|
|
rm "$pkgdir"/usr/lib/systemd/system/bluetooth.service
|
|
rm "$pkgdir"/usr/lib/systemd/system/cups.service
|
|
rm "$pkgdir"/usr/lib/systemd/system/ntpd.service
|
|
rm "$pkgdir"/usr/lib/systemd/system/laptop-mode-tools.service
|
|
rm "$pkgdir"/usr/lib/systemd/system/modem-manager.service
|
|
rm "$pkgdir"/usr/lib/systemd/system/nginx.service
|
|
rm "$pkgdir"/usr/lib/systemd/system/oss.service
|
|
rm "$pkgdir"/usr/lib/systemd/system/pommed.service
|
|
rm "$pkgdir"/usr/lib/systemd/system/postgresql.service
|
|
}
|