[arch-commits] Commit in xdelta3/trunk (PKGBUILD)
Alexander Rødseth
arodseth at nymeria.archlinux.org
Mon Sep 30 09:15:46 UTC 2013
Date: Monday, September 30, 2013 @ 11:15:46
Author: arodseth
Revision: 97822
Minor changes
Modified:
xdelta3/trunk/PKGBUILD
----------+
PKGBUILD | 33 ++++++++++++++++++++-------------
1 file changed, 20 insertions(+), 13 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2013-09-30 07:27:41 UTC (rev 97821)
+++ PKGBUILD 2013-09-30 09:15:46 UTC (rev 97822)
@@ -1,5 +1,6 @@
# $Id$
-# Maintainer: Allan McRae <allan at archlinux.org>
+# Maintainer: Alexander Rødseth <rodseth at gmail.com>
+# Contributor: Allan McRae <allan at archlinux.org>
# Contributor: Eduard "bekks" Warkentin <eduard.warkentin at gmail.com>
# Contributor: Henning Garus <henning.garus at gmail.com>
@@ -6,33 +7,39 @@
pkgname=xdelta3
pkgver=3.0.7
pkgrel=1
-pkgdesc="Diff utility which works with binary files"
-arch=('i686' 'x86_64')
-url="http://xdelta.org/"
+pkgdesc='Diff utility which works with binary files'
+arch=('x86_64' 'x86_64')
+url='http://xdelta.org/'
license=('GPL')
depends=('xz')
-source=(http://xdelta.googlecode.com/files/$pkgname-$pkgver.tar.gz
- xdelta-3.0.7-regtest_size_t.patch)
-md5sums=('ef6631e4f9219a80bcb9e3020962b6ec'
+source=("http://${pkgname/3}.googlecode.com/files/$pkgname-$pkgver.tar.gz"
+ "${pkgname/3/}-$pkgver-regtest_size_t.patch")
+sha256sums=('ef6631e4f9219a80bcb9e3020962b6ec'
'450492f0065160c2287b7e89223726e0')
prepare() {
- cd $pkgname-$pkgver
- patch -Np1 -i ../xdelta-3.0.7-regtest_size_t.patch
+ cd "$pkgname-$pkgver"
+
+ patch -Np1 -i "../${pkgname/3}-$pkgver-regtest_size_t.patch"
}
build() {
- cd $pkgname-$pkgver
+ cd "$pkgname-$pkgver"
+
./configure --prefix=/usr
make
}
check() {
- cd $pkgname-$pkgver
- ./xdelta3 test
+ cd "$pkgname-$pkgver"
+
+ "./$pkgname" test
}
package() {
- cd $pkgname-$pkgver
+ cd "$pkgname-$pkgver"
+
make DESTDIR="$pkgdir" install
}
+
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list