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
|
2011-06-17 20:40:10 +08:00
|
|
|
pkgrel=1
|
|
|
|
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')
|
2011-11-01 19:25:29 +08:00
|
|
|
depends=('systemd>=37')
|
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
|
2011-06-17 20:40:10 +08:00
|
|
|
}
|