updated on Tue Jan 10 12:02:00 UTC 2012
[aur-mirror.git] / bes / PKGBUILD
blob1be911fe6254fdb20987fdf5ac9d30ccb607e918
1 #Maintainer: Nathan O <ndowens.aur at gmail dot com> 
2 pkgname=bes
3 pkgver=3.9.0
4 pkgrel=1
5 arch=('i686' 'x86_64')
6 pkgdesc="A high-performance back-end server software framework that allows data providers more flexibility in providing end users views of
7 their data"
8 url="http://www.opendap.org/download/BES.html"
9 license="LGPL"
10 depends=('libxml2' 'openssl' 'bash' 'bzip2')
11 options=('!libtool' '!emptydirs')
12 backup=('etc/bes/bes.conf')
13 install=(${pkgname}.install)
14 source=("http://www.opendap.org/pub/source/$pkgname-$pkgver.tar.gz" "patch")
15 md5sums=('2a062618914d9ca4fe246e4a64f49233'
16          '775de7329eb276a455c4ed47a9a87471')
17                  
18 build() {
20         cd ${srcdir}/${pkgname}-${pkgver}
22         ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var
24         patch -Np0 -i $srcdir/patch
26         make
29 package() {
31         cd $srcdir/$pkgname-$pkgver
33         install -d $pkgdir/etc/rc.d
35         make DESTDIR=$pkgdir install
37         sed -i 's|. /etc/rc.d/init.d/functions|. /etc/rc.d/functions|g' $pkgdir/usr/bin/besd
39         mv $pkgdir/usr/bin/besd $pkgdir/etc/rc.d/besd