diff options
-rw-r--r-- | .SRCINFO | 18 | ||||
-rw-r--r-- | PKGBUILD | 29 |
2 files changed, 47 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..b8e749d5132f --- /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 000000000000..c7b76024c0a0 --- /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 +} |