summaryrefslogtreecommitdiff
path: root/extra/at/PKGBUILD
blob: 12689eb01beb5496be4a29cb14d422e997338779 (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
# $Id: PKGBUILD 67220 2010-02-04 22:36:24Z giovanni $
# Maintainer: Judd Vinet <jvinet@zeroflux.org>
# Contributor: Todd Musall <tmusall@comcast.net>

pkgname=at
pkgver=3.1.12
pkgrel=1
pkgdesc="AT and batch delayed command scheduling utility and daemon."
arch=('i686' 'x86_64' 'mips64el')
url="http://www.debian.org"
license=('GPL')
depends=('pam')
makedepends=('ssmtp')
backup=('etc/at.deny')
source=(http://ftp.debian.org/debian/pool/main/a/at/at_${pkgver}.orig.tar.gz
        atd)
md5sums=('1e67991776148fb319fd77a2e599a765'
         '35574e34829e7df07a3269d4ab646a29')

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"

  ./configure --prefix=/usr \
              --mandir=/usr/share/man  \
              --with-jobdir=/var/spool/atd \
              --with-atspool=/var/spool/atd || return 1
  make || return 1
  make IROOT="${pkgdir}" docdir=/usr/share/doc install || return 1
  install -D -m755 ${srcdir}/atd "${pkgdir}/etc/rc.d/atd" || return 1
}