summaryrefslogtreecommitdiff
path: root/community/at/PKGBUILD
blob: 119ac60f8af1454bfbe9da1276d7d101eb0d102f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
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' 'mips64el')
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"
}