diff --git a/repo/httpdirfs/PKGBUILD b/repo/httpdirfs/PKGBUILD new file mode 100644 index 0000000..9d6a2ad --- /dev/null +++ b/repo/httpdirfs/PKGBUILD @@ -0,0 +1,25 @@ +# Maintainer: Owen Trigueros + +pkgname=httpdirfs +pkgver=1.2.5 +pkgrel=1 +pkgdesc="A filesystem which allows you to mount HTTP directory listings" +arch=('x86_64') +url="https://github.com/fangfufu/httpdirfs" +license=('GPL') +depends=('gumbo-parser' 'fuse2' 'curl' 'expat') +makedepends=('help2man' 'doxygen') +source=("$pkgname-$pkgver.tar.gz::https://github.com/fangfufu/$pkgname/archive/$pkgver.tar.gz") +md5sums=("77910de057b196ed7b3714f7a0698203") + +build() { + cd "$pkgname-$pkgver" + make man + make doc + make +} + +package() { + cd "$pkgname-$pkgver" + make prefix=/usr DESTDIR="$pkgdir" install +}