blob: 0659d30b8da6a5934bd4ee3ad334955a51defcd0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
# Maintainer: <n17ikh@gmail.com>
# Contributor: <igor.mogielnicki@gmail.com>
pkgname=mhddfs
pkgver=0.1.39
pkgrel=5
pkgdesc="fuse filesystem that combines several mount points into a single one."
arch=('i686' 'x86_64')
url="http://mhddfs.uvw.ru/"
license=('GPL3')
depends=('fuse'
'fuse3')
makedepends=('uthash')
source=("http://mhddfs.uvw.ru/downloads/${pkgname}_${pkgver}.tar.gz"
'pthreads.patch'
'use_after_free.patch'
'xattr_h.patch')
md5sums=('efc43fa9b4c1437bb233149bd624a459'
'd6476ffcc21897748014815c824652f7'
'c0b6d9d6e7968fd65dacd9ab2ef994f7'
'6287f30042db333ae49f01cfe0d06fab')
build() {
cd "$srcdir/${pkgname}-${pkgver}"
patch -p0 < ${srcdir}/pthreads.patch
patch -p1 < ${srcdir}/use_after_free.patch
patch -p0 < ${srcdir}/xattr_h.patch
make
}
package() {
mkdir -p $pkgdir/usr/bin \
$pkgdir/usr/share/doc/$pkgname \
$pkgdir/usr/share/man/man1
cp "$srcdir/${pkgname}-${pkgver}/mhddfs" "$pkgdir/usr/bin"
cp $srcdir/${pkgname}-${pkgver}/COPYING \
$srcdir/${pkgname}-${pkgver}/LICENSE \
$srcdir/${pkgname}-${pkgver}/README \
$srcdir/${pkgname}-${pkgver}/README.ru.UTF-8 \
$srcdir/${pkgname}-${pkgver}/ChangeLog \
$pkgdir/usr/share/doc/$pkgname
gzip -c $srcdir/${pkgname}-${pkgver}/mhddfs.1 > $pkgdir/usr/share/man/man1/mhddfs.1.gz
}
|