diff options
-rw-r--r-- | .SRCINFO | 5 | ||||
-rw-r--r-- | PKGBUILD | 11 |
2 files changed, 5 insertions, 11 deletions
@@ -1,13 +1,10 @@ pkgbase = httpdirfs pkgdesc = A filesystem which allows you to mount HTTP directory listings pkgver = 1.2.0 - pkgrel = 1 + pkgrel = 2 url = https://github.com/fangfufu/httpdirfs arch = any license = GPL - makedepends = gumbo-parser - makedepends = fuse2 - makedepends = openssl depends = gumbo-parser depends = fuse2 depends = openssl @@ -2,22 +2,19 @@ pkgname=httpdirfs pkgver=1.2.0 -pkgrel=1 +pkgrel=2 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=("5c9c31c39217da0a9ff44b4cae5704eb") prepare() { - cd "$pkgname-$pkgver" - - # Replace /usr/local prefix with /usr - sed -i 's/^prefix ?= \/usr\/local/prefix ?= \/usr/' Makefile + cd "$pkgname-$pkgver" } + build() { cd "$pkgname-$pkgver" make @@ -25,5 +22,5 @@ build() { package() { cd "$pkgname-$pkgver" - make DESTDIR="$pkgdir" install + make prefix=/usr DESTDIR="$pkgdir" install } |