summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD22
1 files changed, 11 insertions, 11 deletions
diff --git a/PKGBUILD b/PKGBUILD
index eab0e1abbf3..093e82482f5 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,8 @@
# Maintainer: Fabian Maurer <dark.shadow4@web.de>
pkgname=sdfs
-pkgver=3.6.0.10
+pkgver=3.10.8.0
+_pkgver=b914fcfbd10198552a1c892dede83b16774ffb03
pkgrel=1
pkgdesc="Deduplication file system from Opendedup"
arch=('x86_64')
@@ -9,18 +10,20 @@ url="http://opendedup.org"
license=('GPL2')
makedepends=('maven')
depends=('libxml2' 'java-runtime' 'fuse')
-source=(https://github.com/opendedup/sdfs/archive/${pkgver}.zip
- https://raw.githubusercontent.com/opendedup/sdfs/3.7/install-packages/deb/usr/share/sdfs/mount.sdfs)
-md5sums=('144ea71338a8250216dbe446b1940eec'
- '591288969f6b79b4557b2ca8a1ac78f6')
+source=(https://github.com/opendedup/sdfs/archive/{$_pkgver}.zip
+ 'build-fix.patch'
+)
+md5sums=('6d230c16d98e41e42753cf275f718936'
+ 'f5435f9f678e9858512527f9211d3fdd')
build () {
- cd "${srcdir}/$pkgname-$pkgver"
+ cd "${srcdir}/$pkgname-$_pkgver"
+ patch -Np1 -i ${srcdir}/build-fix.patch
JAVA_HOME=/usr/lib/jvm/default/jre mvn package
}
package() {
- cd "${srcdir}/$pkgname-$pkgver/install-packages/deb"
+ cd "${srcdir}/$pkgname-$_pkgver/install-packages/deb"
if [ ! -d usr/share/sdfs/bin/jre ]; then
ln -s /usr/lib/jvm/default-runtime usr/share/sdfs/bin/jre
@@ -32,11 +35,8 @@ package() {
install -d "${pkgdir}/usr/bin/"
cp -dr --no-preserve=ownership sbin/* "${pkgdir}/usr/bin"
- cd "${srcdir}/$pkgname-$pkgver/target"
+ cd "${srcdir}/$pkgname-$_pkgver/target"
cp -dr --no-preserve=ownership lib/* "${pkgdir}/usr/share/sdfs/lib"
rm sdfs-*-with-dependencies.jar
cp --no-preserve=ownership sdfs-*.jar "${pkgdir}/usr/share/sdfs/lib/sdfs.jar"
-
- #Take newer version of 'mount.sdfs' since current version is broken
- cp "${srcdir}/mount.sdfs" "${pkgdir}/usr/share/sdfs/"
}