forked from archlinux/svntogit-packages
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
archrelease: copy trunk to testing-x86_64
git-svn-id: file:///srv/repos/svn-packages/svn@342979 eb2447ed-0c53-47e4-bac8-5bc4a241df78
- Loading branch information
anatolik
committed
Jan 5, 2019
1 parent
b941661
commit 72a12f0
Showing
1 changed file
with
48 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
# Maintainer: Ronald van Haren <ronald.archlinux.org> | ||
# Contributor: Tom Gundersen <[email protected]> | ||
# Contributor: Mark Rosenstand <[email protected]> | ||
|
||
pkgname=fuse2 | ||
pkgver=2.9.9 | ||
pkgrel=1 | ||
pkgdesc="A library that makes it possible to implement a filesystem in a userspace program." | ||
arch=('x86_64') | ||
url='https://github.com/libfuse/libfuse' | ||
license=('GPL2') | ||
provides=(fuse=$pkgver) # TODO: remove it once all packages start to use 'fuse2' name | ||
replaces=('fuse') | ||
conflicts=('fuse') | ||
depends=('glibc' 'fuse-common') | ||
makedepends=('pkg-config') | ||
options=(!emptydirs) | ||
source=(https://github.com/libfuse/libfuse/releases/download/fuse-$pkgver/fuse-$pkgver.tar.gz{,.asc}) | ||
sha1sums=('943ba651b14bc4a3c6fd959ed4b8c04f4a59032d' | ||
'SKIP') | ||
validpgpkeys=(ED31791B2C5C1613AF388B8AD113FCAC3C4E599F) # Nikolaus Rath <[email protected]> | ||
|
||
build() { | ||
cd fuse-$pkgver | ||
|
||
export MOUNT_FUSE_PATH=/usr/bin | ||
./configure --prefix=/usr --libdir=/usr/lib --enable-lib --enable-util --disable-example | ||
make | ||
} | ||
|
||
package() { | ||
cd fuse-$pkgver | ||
|
||
make DESTDIR=${pkgdir} install | ||
|
||
# Remove init script in wrong path | ||
# Don't add our own for now, as fusectl fs oopses on 2.6.18 | ||
rm -r ${pkgdir}/etc/init.d | ||
|
||
# remove udev rules (is in the udev package} | ||
rm -rf ${pkgdir}/etc/udev | ||
|
||
# static device nodes are handled by udev | ||
rm -r ${pkgdir}/dev | ||
|
||
# part of fuse-common package | ||
rm ${pkgdir}/usr/share/man/man8/mount.fuse.8 ${pkgdir}/usr/bin/mount.fuse | ||
} |