mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-04 18:47:15 +08:00
35 lines
864 B
Bash
35 lines
864 B
Bash
# Platform Packages for Chakra, part of chakra-project.org
|
|
#
|
|
# maintainer: Neophytos Kolokotronis
|
|
# Contributors from Arch: Allan McRae <allan@archlinux.org>
|
|
# Eduard "bekks" Warkentin <eduard.warkentin@gmail.com>
|
|
# Henning Garus <henning.garus@gmail.com>
|
|
|
|
pkgname=xdelta3
|
|
pkgver=3.0.4
|
|
pkgrel=1
|
|
pkgdesc="A diff utility which works with binary files"
|
|
arch=('x86_64')
|
|
url="http://xdelta.org/"
|
|
license=('GPL')
|
|
makedepends=('python2')
|
|
optdepends=('python2: for python modules')
|
|
source=("http://xdelta.googlecode.com/files/$pkgname-$pkgver.tar.gz")
|
|
md5sums=('c04f7fd9da45741a0095438cfe527b89')
|
|
|
|
build() {
|
|
cd "$srcdir/$pkgname-$pkgver"
|
|
./configure --prefix=/usr
|
|
make
|
|
}
|
|
|
|
check() {
|
|
cd "$srcdir/$pkgname-$pkgver"
|
|
./xdelta3 test
|
|
}
|
|
|
|
package() {
|
|
cd "$srcdir/$pkgname-$pkgver"
|
|
make DESTDIR="${pkgdir}" install
|
|
}
|