summaryrefslogtreecommitdiff
path: root/extra/at
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-10-09 00:33:26 -0700
committerroot <root@rshg054.dnsready.net>2012-10-09 00:33:26 -0700
commit965fe5dd2bc0fae6b53c10d880c15f494dd589ac (patch)
tree910883dffa913262b28fb7a0e3bc41c3325b1dd2 /extra/at
parent962d1e81a62d7259ccb686da1a44de2bb28e73a5 (diff)
Tue Oct 9 00:33:25 PDT 2012
Diffstat (limited to 'extra/at')
-rw-r--r--extra/at/PKGBUILD11
-rw-r--r--extra/at/atd.service9
2 files changed, 16 insertions, 4 deletions
diff --git a/extra/at/PKGBUILD b/extra/at/PKGBUILD
index 0f6736512..19267a906 100644
--- a/extra/at/PKGBUILD
+++ b/extra/at/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 138170 2011-09-18 03:48:48Z eric $
+# $Id: PKGBUILD 168299 2012-10-08 05:32:58Z eric $
# Maintainer: Judd Vinet <jvinet@zeroflux.org>
# Contributor: Todd Musall <tmusall@comcast.net>
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 @@ license=('GPL')
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 @@ package() {
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"
}
diff --git a/extra/at/atd.service b/extra/at/atd.service
new file mode 100644
index 000000000..ba359878c
--- /dev/null
+++ b/extra/at/atd.service
@@ -0,0 +1,9 @@
+[Unit]
+Description=ATD daemon
+
+[Service]
+Type=forking
+ExecStart=/usr/sbin/atd
+
+[Install]
+WantedBy=multi-user.target