core/systemd-units/PKGBUILD

30 lines
847 B
Bash
Raw Normal View History

2012-06-11 11:58:37 +08:00
2011-06-17 20:40:10 +08:00
pkgname=systemd-units
2012-06-11 11:58:37 +08:00
pkgver=20120528
2012-06-20 06:05:50 +08:00
pkgrel=2
2011-06-17 20:40:10 +08:00
pkgdesc="Chakra GNU/Linux specific Systemd unit files"
arch=('any')
2012-06-11 11:58:37 +08:00
url="http://github.com/falconindy/systemd-arch-units"
2011-06-17 20:40:10 +08:00
license=('MIT')
depends=('systemd>=44')
2011-06-17 20:40:10 +08:00
groups=('systemd')
install=systemd-units.install
2012-06-11 11:58:37 +08:00
source=("http://chakra-linux.org/sources/${pkgname}/${pkgname}-${pkgver}.tar.xz")
md5sums=('1bef86deec263d52032114ee696323b2')
2011-06-17 20:40:10 +08:00
package() {
2012-06-11 11:58:37 +08:00
cd "$srcdir/${pkgname}-${pkgver}"
2011-06-17 20:40:10 +08:00
make DESTDIR="$pkgdir" install
2012-06-11 11:58:37 +08:00
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
2012-06-20 04:30:36 +08:00
rm "$pkgdir"/usr/lib/systemd/system/ntpd.service
2012-06-20 06:05:50 +08:00
rm "$pkgdir"/usr/lib/systemd/system/laptop-mode-tools.service
2012-06-21 05:14:16 +08:00
rm "$pkgdir"/usr/lib/systemd/system/modem-manager.service
2012-06-20 04:30:36 +08:00
}