summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 3342af60c141ee345c68ce02fe4d96977f30d0f5 (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
34
35
36
# Maintainer:  Chris Severance aur.severach aATt spamgourmet dott com
# Contributor: DonVla <donvla@users.sourceforge.net>

set -u
pkgname='rdate'
pkgver='1.5'
pkgrel='3'
pkgdesc='Retrieves the date and time from other machines'
arch=('i686' 'x86_64')
url="http://www.aelius.com/njh/${pkgname}"
license=('GPL')
depends=('glibc')
source=("${url}/${pkgname}-${pkgver}.tar.gz")
sha256sums=('6e800053eaac2b21ff4486ec42f0aca7214941c7e5fceedd593fa0be99b9227d')

prepare() {
  set -u
  cd "${srcdir}/${pkgname}-${pkgver}"
  ./configure --prefix='/usr' --mandir='/usr/share/man'
  set +u
}

build() {
  set -u
  cd "${srcdir}/${pkgname}-${pkgver}"
  make
  set +u
}

package() {
  set -u
  cd "${srcdir}/${pkgname}-${pkgver}"
  make DESTDIR="${pkgdir}" install
  set +u
}
set +u