[arch-commits] Commit in at/trunk (PKGBUILD atd.service)
Eric Bélanger
eric at archlinux.org
Fri Oct 5 19:23:26 UTC 2012
Date: Friday, October 5, 2012 @ 15:23:26
Author: eric
Revision: 168097
upgpkg: at 3.1.13-2
Add systemd unit, Disable SMP build
Added:
at/trunk/atd.service
Modified:
at/trunk/PKGBUILD
-------------+
PKGBUILD | 9 ++++++---
atd.service | 9 +++++++++
2 files changed, 15 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2012-10-05 19:11:14 UTC (rev 168096)
+++ PKGBUILD 2012-10-05 19:23:26 UTC (rev 168097)
@@ -4,7 +4,7 @@
pkgname=at
pkgver=3.1.13
-pkgrel=1
+pkgrel=2
pkgdesc="AT and batch delayed command scheduling utility and daemon"
arch=('i686' 'x86_64')
url="http://packages.qa.debian.org/a/at.html"
@@ -12,10 +12,12 @@
depends=('pam')
makedepends=('ssmtp')
backup=('etc/at.deny')
+options=('!makeflags')
source=(http://ftp.debian.org/debian/pool/main/a/at/at_${pkgver}.orig.tar.gz
- atd)
+ atd atd.service)
md5sums=('1da61af6c29e323abaaf13ee1a8dad79'
- '35574e34829e7df07a3269d4ab646a29')
+ '35574e34829e7df07a3269d4ab646a29'
+ '33976a813f4fe7f5659354601044c6f8')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
@@ -30,4 +32,5 @@
cd "${srcdir}/${pkgname}-${pkgver}"
make IROOT="${pkgdir}" docdir=/usr/share/doc install
install -D -m755 "${srcdir}/atd" "${pkgdir}/etc/rc.d/atd"
+ install -D -m644 "${srcdir}/atd.service" "${pkgdir}/usr/lib/systemd/system/atd.service"
}
Added: atd.service
===================================================================
--- atd.service (rev 0)
+++ atd.service 2012-10-05 19:23:26 UTC (rev 168097)
@@ -0,0 +1,9 @@
+[Unit]
+Description=ATD daemon
+
+[Service]
+Type=forking
+ExecStart=/usr/sbin/atd
+
+[Install]
+WantedBy=multi-user.target
More information about the arch-commits
mailing list