core/systemd-units/PKGBUILD
2012-06-20 22:16:35 +00:00

33 lines
1002 B
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
}