summaryrefslogtreecommitdiff
path: root/community/shfs-utils
diff options
context:
space:
mode:
Diffstat (limited to 'community/shfs-utils')
-rw-r--r--community/shfs-utils/PKGBUILD34
-rw-r--r--community/shfs-utils/shfs-utils-make.patch5
2 files changed, 39 insertions, 0 deletions
diff --git a/community/shfs-utils/PKGBUILD b/community/shfs-utils/PKGBUILD
new file mode 100644
index 000000000..f5e7e4045
--- /dev/null
+++ b/community/shfs-utils/PKGBUILD
@@ -0,0 +1,34 @@
+# $Id: PKGBUILD 92255 2013-06-03 11:15:28Z allan $
+# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
+# Contributor: Sébastien Luttringer
+# Contributor: Jaroslaw Swierczynski <swiergot@juvepoland.com>
+
+pkgname=shfs-utils
+pkgver=0.35
+pkgrel=5
+pkgdesc='SHell FileSystem Linux utils'
+url='http://shfs.sourceforge.net/'
+license=('GPL')
+arch=('i686' 'x86_64')
+depends=('glibc' 'openssh')
+makedepends=('patch')
+source=("http://downloads.sourceforge.net/sourceforge/shfs/shfs-$pkgver.tar.gz"
+ 'shfs-utils-make.patch')
+md5sums=('016f49d71bc32eee2b5d11fc1600cfbe'
+ '49fb94b139bc69927815127f0bf85159')
+
+prepare() {
+ patch -Np0 -d shfs-$pkgver < $pkgname-make.patch
+}
+
+build() {
+ cd shfs-$pkgver
+ make -j1 utils
+}
+
+package() {
+ cd shfs-$pkgver
+ make -j1 ROOT="$pkgdir" utils-install
+ # remove sbin symlinks
+ rm -r "$pkgdir/sbin"
+}
diff --git a/community/shfs-utils/shfs-utils-make.patch b/community/shfs-utils/shfs-utils-make.patch
new file mode 100644
index 000000000..7f7609558
--- /dev/null
+++ b/community/shfs-utils/shfs-utils-make.patch
@@ -0,0 +1,5 @@
+--- shfsmount/Makefile.orig 2010-08-29 21:50:47.000000000 +0200
++++ shfsmount/Makefile 2010-08-29 21:50:47.000000000 +0200
+@@ -10 +10 @@
+-SEARCHDIRS := -I- -I. -I../shfs/Linux-2.4/
++SEARCHDIRS := -I. -I../shfs/Linux-2.4/