mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-18 22:54:00 +00:00
60 lines
1.4 KiB
Bash
60 lines
1.4 KiB
Bash
|
# $Id$
|
||
|
# Maintainer: Ronald van Haren <ronald.archlinux.org>
|
||
|
# Contributor: Tom Gundersen <teg@jklm.no>
|
||
|
# Contributor: Mark Rosenstand <mark@archlinux.org>
|
||
|
|
||
|
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
||
|
# - patch for AArch64
|
||
|
|
||
|
pkgname=fuse
|
||
|
pkgver=2.9.5
|
||
|
pkgrel=1
|
||
|
pkgdesc="A library that makes it possible to implement a filesystem in a userspace program."
|
||
|
arch=('i686' 'x86_64')
|
||
|
url="http://fuse.sourceforge.net/"
|
||
|
license=('GPL2')
|
||
|
depends=('glibc')
|
||
|
makedepends=('pkg-config')
|
||
|
backup=(etc/fuse.conf)
|
||
|
_tag=fuse_${pkgver//./_}
|
||
|
source=(https://github.com/libfuse/libfuse/archive/$_tag.zip
|
||
|
'fuse.conf'
|
||
|
'aarch64.patch')
|
||
|
sha1sums=('3fec54328c8e7eec2cd2c22aefdf0ee93645ce84'
|
||
|
'3b42e37a741d4651099225987dc40e7f02a716ad'
|
||
|
'0065fcb1b576ed21560c715158a88dc5e71f6611')
|
||
|
|
||
|
prepare() {
|
||
|
cd libfuse-$_tag
|
||
|
|
||
|
patch -p1 -i ../aarch64.patch
|
||
|
}
|
||
|
|
||
|
build() {
|
||
|
cd libfuse-$_tag
|
||
|
|
||
|
./makeconf.sh
|
||
|
export MOUNT_FUSE_PATH=/usr/bin
|
||
|
./configure --prefix=/usr --libdir=/usr/lib --enable-lib --enable-util --disable-example
|
||
|
make
|
||
|
}
|
||
|
|
||
|
package() {
|
||
|
cd libfuse-$_tag
|
||
|
|
||
|
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 -rf ${pkgdir}/etc/init.d
|
||
|
|
||
|
# install sample config file
|
||
|
install -Dm644 ${srcdir}/fuse.conf ${pkgdir}/etc/fuse.conf
|
||
|
|
||
|
# remove udev rules (is in the udev package}
|
||
|
rm -rf ${pkgdir}/etc/udev
|
||
|
|
||
|
# static device nodes are handled by udev
|
||
|
rm -rf ${pkgdir}/dev
|
||
|
}
|