summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorOwen Trigueros2019-10-25 09:20:37 +0200
committerOwen Trigueros2019-10-25 09:20:37 +0200
commitb4ab190e90e5e3c5c2d5a78216e04c023f156939 (patch)
treeb168125cc391fb7327c23af9b42ddf3841ad3c93
downloadaur-b4ab190e90e5e3c5c2d5a78216e04c023f156939.tar.gz
Initial commit with httpdirfs 1.10.0
-rw-r--r--.SRCINFO18
-rw-r--r--PKGBUILD29
2 files changed, 47 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..b8e749d5132
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,18 @@
+pkgbase = httpdirfs
+ pkgdesc = A filesystem which allows you to mount HTTP directory listings
+ pkgver = 1.1.10
+ pkgrel = 1
+ url = https://github.com/fangfufu/httpdirfs
+ arch = any
+ license = GPL
+ makedepends = gumbo-parser
+ makedepends = fuse2
+ makedepends = openssl
+ depends = gumbo-parser
+ depends = fuse2
+ depends = openssl
+ source = https://github.com/fangfufu/httpdirfs/archive/1.1.10.tar.gz
+ md5sums = cfe5321a3de14cade2ce7bcbfcfde018
+
+pkgname = httpdirfs
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..c7b76024c0a
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,29 @@
+# Maintainer: Owen Trigueros <owentrigueros@gmail.com>
+
+pkgname=httpdirfs
+pkgver=1.1.10
+pkgrel=1
+pkgdesc="A filesystem which allows you to mount HTTP directory listings"
+arch=('any')
+url="https://github.com/fangfufu/httpdirfs"
+license=('GPL')
+depends=('gumbo-parser' 'fuse2' 'openssl')
+makedepends=('gumbo-parser' 'fuse2' 'openssl')
+source=("https://github.com/fangfufu/$pkgname/archive/$pkgver.tar.gz")
+md5sums=("cfe5321a3de14cade2ce7bcbfcfde018")
+
+prepare() {
+ cd "$pkgname-$pkgver"
+
+ # Replace /usr/local prefix with /usr
+ sed -i 's/^prefix ?= \/usr\/local/prefix ?= \/usr/' Makefile
+}
+build() {
+ cd "$pkgname-$pkgver"
+ make
+}
+
+package() {
+ cd "$pkgname-$pkgver"
+ make DESTDIR="$pkgdir" install
+}