updated on Wed Jan 11 00:07:16 UTC 2012
[aur-mirror.git] / delta / PKGBUILD
blobdef299300c5c074b422d8501f2ae106d11bf5873
1 # Maintainer: Merkil <merkil@savhon.org>
3 pkgname=delta
4 pkgver=20060803
5 pkgrel=1
6 dapkgver=2006.08.03
7 license=('BSD')
8 url="http://delta.tigris.org/"
9 pkgdesc="An useful tool that lets you minimize interesting files subject to a test of their interestingness."
10 arch=(i686 x86_64)
11 depends=('perl')
12 makedepends=('make' 'gcc' 'flex')
13 source=("http://delta.tigris.org/files/documents/3103/33566/delta-${dapkgver}.tar.gz")
14 md5sums=('7be4ac4ae9c1eb01ccf29d413d4cc64a')
16 build() {
17   cd "${srcdir}/${pkgname}-${dapkgver}/"
18   make clean
19   make || return 1
20   make check || return 1
23 package() {
24   cd "${srcdir}/${pkgname}-${dapkgver}/"
25   install -Dm 755 ./topformflat "${pkgdir}/usr/bin/topformflat"
26   install -Dm 755 ./delta "${pkgdir}/usr/bin/delta"
27   install -Dm 755 ./multidelta "${pkgdir}/usr/bin/multidelta"
28   install -Dm 644 ./License.txt "${pkgdir}/usr/share/licenses/${pkgname}/License.txt"