[arch-commits] Commit in bup/repos (3 files)
Antonio Rojas
arojas at archlinux.org
Fri May 21 17:37:06 UTC 2021
Date: Friday, May 21, 2021 @ 17:37:06
Author: arojas
Revision: 940842
archrelease: copy trunk to community-x86_64
Added:
bup/repos/community-x86_64/
bup/repos/community-x86_64/PKGBUILD
(from rev 940841, bup/trunk/PKGBUILD)
bup/repos/community-x86_64/bup-readline.patch
(from rev 940841, bup/trunk/bup-readline.patch)
--------------------+
PKGBUILD | 40 ++++++++++++++++++++++++++++++++++++++++
bup-readline.patch | 19 +++++++++++++++++++
2 files changed, 59 insertions(+)
Copied: bup/repos/community-x86_64/PKGBUILD (from rev 940841, bup/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD (rev 0)
+++ community-x86_64/PKGBUILD 2021-05-21 17:37:06 UTC (rev 940842)
@@ -0,0 +1,40 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Contributor: João Figueiredo <jf.mundox at gmail.com> (11/07/2020)
+# Contributor: freggel.doe (Fixed i18n problem with make test, 13/07/2020)
+# Contributor: Christian Rebischke <chris.rebischke at archlinux.org>
+# Contributor: Bartłomiej Piotrowski <bpiotrowski at archlinux.org>
+# Contributor: Jakob Matthes <jakob.matthes at gmail.com>
+# Contributor: Bram Schoenmakers <me at bramschoenmakers.nl>
+# Contributor: henning mueller <henning at orgizm.net>
+# Contributor: rakoo (AUR)
+# Contributor: SanskritFritz (gmail)
+
+pkgname=bup
+pkgver=0.32
+pkgrel=2
+pkgdesc='Efficient backup system based on the git packfile format'
+arch=(x86_64)
+url='https://bup.github.io/'
+license=(GPL)
+depends=(python-fuse par2cmdline python-pyxattr git)
+optdepends=('python-tornado: for bup web')
+makedepends=(pandoc)
+source=(https://github.com/bup/bup/archive/$pkgver/$pkgname-$pkgver.tar.gz
+ bup-readline.patch)
+sha256sums=('a894cfa96c44b9ef48003b2c2104dc5fa6361dd2f4d519261a93178984a51259'
+ '9c786249699ee5f6580137745045a4030d8b61d85b4e3a3b576f6a91d09b2397')
+
+prepare() {
+ patch -d $pkgname-$pkgver -p0 < bup-readline.patch # Fix readline detection
+}
+
+build() {
+ cd $pkgname-$pkgver
+ ./configure
+ make
+}
+
+package() {
+ cd $pkgname-$pkgver
+ make DESTDIR="$pkgdir" PREFIX=/usr install
+}
Copied: bup/repos/community-x86_64/bup-readline.patch (from rev 940841, bup/trunk/bup-readline.patch)
===================================================================
--- community-x86_64/bup-readline.patch (rev 0)
+++ community-x86_64/bup-readline.patch 2021-05-21 17:37:06 UTC (rev 940842)
@@ -0,0 +1,19 @@
+--- config/configure.orig 2021-05-21 19:21:49.349482146 +0200
++++ config/configure 2021-05-21 19:23:05.320738847 +0200
+@@ -207,12 +207,14 @@
+ # It looks like it's not uncommon for pkg-config to provide a -I
+ # that doesn't support the documentation's specified #include
+ # <readline/readline.h>. See what's really going on.
+- if bup_try_c_code "#include <readline/readline.h> $readline_test_code" \
++ if bup_try_c_code "#include <stdio.h>
++ #include <readline/readline.h> $readline_test_code" \
+ "$bup_readline_cflags"
+ then
+ bup_have_readline=1
+ bup_readline_includes_in_subdir=1
+- elif bup_try_c_code "#include <readline.h> $readline_test_code" \
++ elif bup_try_c_code "#include <stdio.h>
++ #include <readline.h> $readline_test_code" \
+ "$bup_readline_cflags"
+ then
+ bup_have_readline=1
More information about the arch-commits
mailing list