summaryrefslogtreecommitdiff
path: root/community/at
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-08-13 01:33:19 -0700
committerroot <root@rshg054.dnsready.net>2013-08-13 01:33:19 -0700
commit7a65a910b77ad191d69881098c47f9b0c852d92e (patch)
tree9564e611af1442f8952a8cbddb3b0ad25ed71aab /community/at
parent60da6abff6c9577a783d72865f11de7a585e912e (diff)
Tue Aug 13 01:31:08 PDT 2013
Diffstat (limited to 'community/at')
-rw-r--r--community/at/PKGBUILD33
-rw-r--r--community/at/atd.service9
2 files changed, 42 insertions, 0 deletions
diff --git a/community/at/PKGBUILD b/community/at/PKGBUILD
new file mode 100644
index 000000000..da3a905ac
--- /dev/null
+++ b/community/at/PKGBUILD
@@ -0,0 +1,33 @@
+# $Id: PKGBUILD 90448 2013-05-12 14:38:17Z eric $
+# Maintainer: Judd Vinet <jvinet@zeroflux.org>
+# Contributor: Todd Musall <tmusall@comcast.net>
+
+pkgname=at
+pkgver=3.1.13
+pkgrel=3
+pkgdesc="AT and batch delayed command scheduling utility and daemon"
+arch=('i686' 'x86_64')
+url="http://packages.qa.debian.org/a/at.html"
+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.service)
+md5sums=('1da61af6c29e323abaaf13ee1a8dad79'
+ '58856a1081e101ed6f0f02f9a20ada4e')
+
+build() {
+ cd ${pkgname}-${pkgver}
+ ./configure --prefix=/usr --sbindir=/usr/bin \
+ --with-jobdir=/var/spool/atd \
+ --with-atspool=/var/spool/atd
+ make
+}
+
+package() {
+ cd ${pkgname}-${pkgver}
+ make IROOT="${pkgdir}" docdir=/usr/share/doc install
+ install -D -m644 "${srcdir}/atd.service" "${pkgdir}/usr/lib/systemd/system/atd.service"
+}
diff --git a/community/at/atd.service b/community/at/atd.service
new file mode 100644
index 000000000..df754956a
--- /dev/null
+++ b/community/at/atd.service
@@ -0,0 +1,9 @@
+[Unit]
+Description=ATD daemon
+
+[Service]
+Type=forking
+ExecStart=/usr/bin/atd
+
+[Install]
+WantedBy=multi-user.target