summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD13
1 files changed, 10 insertions, 3 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 55d8aa9d8c9..7928f36be46 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,14 +1,21 @@
# Maintainer: Baptiste Jonglez <baptiste--aur at jonglez dot org>
pkgname=bdsync
-pkgver=0.10.1
-pkgrel=2
+pkgver=0.11.1
+pkgrel=1
pkgdesc="Fast block device synchronizing tool"
arch=("i686" "x86_64")
url="https://github.com/TargetHolding/bdsync"
license=('GPL')
depends=("openssl")
+makedepends=("pandoc")
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/TargetHolding/$pkgname/archive/v$pkgver.tar.gz")
-sha256sums=('a75a1636636bfd4990bbc5dd78b048e81984ebdd4ac841f8e055198961e7525e')
+sha256sums=('ee24781c9b063bd9da2c10a82b8c75dee1a813d0472d2dcce2b783a7dd9b55c7')
+
+prepare() {
+ cd "$srcdir/$pkgname-$pkgver"
+ sed -i -e 's/^CFLAGS=/#CFLAGS=/' Makefile
+ sed -i -e 's/\$(CRYPTO_LDFLAGS)$/$(CRYPTO_LDFLAGS) $(LDFLAGS)/' Makefile
+}
build() {
cd "$srcdir/$pkgname-$pkgver"