summaryrefslogtreecommitdiff
path: root/extra/xdelta/PKGBUILD
blob: 6fecbfc1808e3789ffb53b3c7d561c492db59991 (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 145275 2011-12-21 01:19:51Z allan $
# Maintainer: Allan McRae <allan@archlinux.org>
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>

pkgname=xdelta
pkgver=1.1.4
pkgrel=4.1
pkgdesc="binary file delta generator"
arch=('i686' 'x86_64' 'mips64el')
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
}