summaryrefslogtreecommitdiff
path: root/community/xdelta/PKGBUILD
blob: c1fef78a1f4925e0f40c1b1b0832bcdfe6a4b81e (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
# $Id: PKGBUILD 83064 2013-01-27 09:58:41Z andrea $
# Maintainer: Allan McRae <allan@archlinux.org>
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>

pkgname=xdelta
pkgver=1.1.4
pkgrel=4
pkgdesc="binary file delta generator"
arch=('i686' 'x86_64')
url="http://sourceforge.net/projects/xdelta/"
license=('GPL')
depends=('glib' 'zlib')
options=('!libtool')
source=(http://xdelta.googlecode.com/files/$pkgname-$pkgver.tar.gz
        xdelta-1.1.4-aclocal.patch)
md5sums=('1b896c01ebf0e353b7e3c3071b05f496'
         '1d8ab5909bdf977a2783c164b66906fd')

build() {
  cd $srcdir/$pkgname-$pkgver
  patch -Np1 -i $srcdir/xdelta-1.1.4-aclocal.patch
  ./configure --prefix=/usr --mandir=/usr/share/man
  make
}

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