[arch-commits] Commit in xdelta3/repos/community-x86_64 (PKGBUILD PKGBUILD)
Alexander Rødseth
arodseth at archlinux.org
Thu Apr 8 14:35:31 UTC 2021
Date: Thursday, April 8, 2021 @ 14:35:31
Author: arodseth
Revision: 914022
archrelease: copy trunk to community-x86_64
Added:
xdelta3/repos/community-x86_64/PKGBUILD
(from rev 914021, xdelta3/trunk/PKGBUILD)
Deleted:
xdelta3/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 86 ++++++++++++++++++++++++++++++++++++-------------------------
1 file changed, 51 insertions(+), 35 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-04-08 14:35:26 UTC (rev 914021)
+++ PKGBUILD 2021-04-08 14:35:31 UTC (rev 914022)
@@ -1,35 +0,0 @@
-# $Id$
-# Maintainer: Alexander F. Rødseth <xyproto at archlinux.org>
-# Contributor: Allan McRae <allan at archlinux.org>
-# Contributor: Eduard "bekks" Warkentin <eduard.warkentin at gmail.com>
-# Contributor: Henning Garus <henning.garus at gmail.com>
-
-pkgname=xdelta3
-pkgver=3.1.0
-pkgrel=1
-pkgdesc='Diff utility which works with binary files'
-arch=('x86_64')
-url='http://xdelta.org/'
-license=('GPL')
-source=("https://github.com/jmacd/xdelta-devel/releases/download/v$pkgver/$pkgname-$pkgver.tar.gz")
-sha256sums=('114543336ab6cee3764e3c03202701ef79d7e5e8e4863fe64811e4d9e61884dc')
-
-build() {
- cd "$pkgname-$pkgver"
-
- ./configure --prefix=/usr
- make
-}
-
-check() {
- cd "$pkgname-$pkgver"
-
- ./$pkgname test
-}
-
-package() {
- DESTDIR="$pkgdir" make -C "$pkgname-$pkgver" install
-}
-
-# getver: github.com/jmacd/xdelta
-# vim: ts=2 sw=2 et:
Copied: xdelta3/repos/community-x86_64/PKGBUILD (from rev 914021, xdelta3/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-04-08 14:35:31 UTC (rev 914022)
@@ -0,0 +1,51 @@
+# Maintainer: Alexander F. Rødseth <xyproto at archlinux.org>
+# Contributor: Allan McRae <allan at archlinux.org>
+# Contributor: Eduard "bekks" Warkentin <eduard.warkentin at gmail.com>
+# Contributor: Henning Garus <henning.garus at gmail.com>
+
+pkgname=xdelta3
+pkgver=3.1.0
+pkgrel=2
+pkgdesc='Diff utility for binary files'
+arch=(x86_64)
+# No HTTPS available
+url='http://xdelta.org/'
+license=(Apache)
+depends=(ncompress)
+makedepends=(git python)
+source=("git+https://github.com/jmacd/xdelta#commit=4b4aed71a959fe11852e45242bb6524be85d3709") # tag: v3.1.0
+b2sums=(SKIP)
+
+build() {
+ cd xdelta/xdelta3
+
+ export CFLAGS="$CFLAGS -w"
+ export CXXFLAGS="$CFLAGS -w"
+
+ aclocal
+ autoreconf --install
+ libtoolize
+ autoconf
+ autoheader
+ automake --add-missing
+ automake
+
+ ./configure --disable-dependency-tracking --prefix=/usr --with-liblzma
+ make
+}
+
+check() {
+ cd xdelta/xdelta3/testing
+
+ # Thanks Gentoo <3
+ 2to3 -w -n --no-diffs *.py
+ sed -i -e '/python/s:2.6:2:' xdelta3-regtest.py
+ sed -i -e '/python/s:2.7:2:' xdelta3-test.py
+ ../xdelta3regtest
+}
+
+package() {
+ DESTDIR="$pkgdir" make -C xdelta/xdelta3 install
+}
+
+# getver: github.com/jmacd/xdelta
More information about the arch-commits
mailing list