summaryrefslogtreecommitdiff
path: root/community/at/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-04-18 00:07:00 -0700
committerroot <root@rshg054.dnsready.net>2013-04-18 00:07:00 -0700
commit55c3b92ede6a3b9eb17f254b338931f01a3ea5c6 (patch)
tree8d01afa98e716f4c647bfb7dfcc2c3ed885fddc7 /community/at/PKGBUILD
parent0f02baec6afdab918d86a226ee9a984482b5a534 (diff)
Thu Apr 18 00:06:59 PDT 2013
Diffstat (limited to 'community/at/PKGBUILD')
-rw-r--r--community/at/PKGBUILD36
1 files changed, 36 insertions, 0 deletions
diff --git a/community/at/PKGBUILD b/community/at/PKGBUILD
new file mode 100644
index 000000000..43bdaf5af
--- /dev/null
+++ b/community/at/PKGBUILD
@@ -0,0 +1,36 @@
+# $Id: PKGBUILD 88443 2013-04-17 18:45:36Z eric $
+# Maintainer: Judd Vinet <jvinet@zeroflux.org>
+# Contributor: Todd Musall <tmusall@comcast.net>
+
+pkgname=at
+pkgver=3.1.13
+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"
+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.service)
+md5sums=('1da61af6c29e323abaaf13ee1a8dad79'
+ '35574e34829e7df07a3269d4ab646a29'
+ '33976a813f4fe7f5659354601044c6f8')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ ./configure --prefix=/usr \
+ --mandir=/usr/share/man \
+ --with-jobdir=/var/spool/atd \
+ --with-atspool=/var/spool/atd
+ make
+}
+
+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"
+}