blob: da0a5e44b65343fe17bb1b105abb0a5b84b8e9a2 (
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
|
# Maintainer: Rafael Dominiquini <rafaeldominiquini at gmail dor com>
# Contributor: Xyne <xyne at archlinux dot org>
pkgname=bindfs
pkgver=1.18.0
pkgrel=1
pkgdesc="A FUSE filesystem for mirroring a directory to another directory, similar to 'mount --bind', with permission settings."
arch=('i686' 'x86_64' 'armv6h' 'armv6l' 'armv7h')
url="http://bindfs.org/"
license=('GPL')
depends=('fuse3')
source=("http://bindfs.org/downloads/${pkgname}-${pkgver}.tar.gz")
sha512sums=('c9e34da076434f7692338fe34bb57008bda07b76b46af9acbe0e8c766e058619e4d975232c985a5dad89c7370e1c55a3f435478a51b962d40b64e8e39b2b257a')
build() {
cd "$srcdir/$pkgname-$pkgver"
./autogen.sh
./configure --prefix=/usr
make CPUOPTIMIZATIONS="${CFLAGS}"
}
package() {
cd "$srcdir/$pkgname-$pkgver"
make DESTDIR="$pkgdir" install
ln -s bindfs "$pkgdir/usr/bin/mount.bindfs"
ln -s bindfs "$pkgdir/usr/bin/mount.fuse.bindfs"
install -Dm644 "COPYING" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
install -Dm644 "README.md" "${pkgdir}/usr/share/doc/${pkgname}/README.md"
}
|