summaryrefslogtreecommitdiff
path: root/extra/eventlog/PKGBUILD
blob: c0f983253ec7ab1eee61437bd33ec274251e601c (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
# $Id: PKGBUILD 170165 2012-11-04 01:36:23Z dreisner $
# Maintainer:
# Contributor: Eric Belanger <eric@archlinux.org>
# Contributor: Judd Vinet <jvinet@zeroflux.org>

pkgname=eventlog
pkgver=0.2.12
pkgrel=3
pkgdesc="API to format and send structured log messages"
arch=('i686' 'x86_64' 'mips64el')
url="http://www.balabit.com/support/community/products/"
license=('BSD')
depends=('glibc')
options=('!libtool')
changelog=ChangeLog
source=("http://www.balabit.com/downloads/files/${pkgname}/${pkgver%.*}/${pkgname}_${pkgver}.tar.gz")
sha1sums=('3e35a634e7de029ab9d36995a085bfcb00ed6a4d')

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  ./configure --prefix=/usr \
    --sysconfdir=/etc \
    --localstatedir=/var
  make
}

package() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  make DESTDIR="${pkgdir}" install
  install -D -m644 COPYING \
    "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
}