summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 94105ff14b8569c8e9775e52e373da2751bb2aae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# Maintainer: Zepman <the_zep_man@hotmail.com>
# Contributor: Christian Hesse <mail@eworm.de>
# Contributor: Constantinko <helllamer@gmail.com>
# Contributor: Agustín Dall'Alba <a@dallalba.com.ar>

_pkgname=httpfs2
pkgname=httpfs2-2gbplus
pkgver=0.1.5
pkgrel=1
pkgdesc='FUSE-based file system for HTTP access, patched with +2GB file support'
arch=('i686' 'x86_64')
url='http://httpfs.sourceforge.net/'
license=('GPL')
depends=('fuse' 'openssl')
makedepends=('asciidoc' 'dpkg')
provides=('httpfs2')
conflicts=('httpfs2')
source=("http://downloads.sourceforge.net/project/httpfs/httpfs2/${_pkgname}-${pkgver}.tar.gz"
        "https://sourceforge.net/p/httpfs/bugs/_discuss/thread/8a4f3458/b43f/attachment/httpfs.diff")
sha256sums=('01cb4bb38deb344f540da6f1464dc7edbdeb51213ad810b8c9c282c1e17e0fc1'
            'da1965ff43662ed1473699e94511d9ae1c493d071eee795cdb5ff22fabeebc56')

prepare() {
       cd "${srcdir}"/${_pkgname}-${pkgver}
       patch -p1 -i ../httpfs.diff
}

build() {
	cd "${srcdir}"/${_pkgname}-${pkgver}

	make
}

package() {
	cd "${srcdir}"/${_pkgname}-${pkgver}

	install -D -m0755 httpfs2 "${pkgdir}"/usr/bin/httpfs2
	install -D -m0755 httpfs2-ssl "${pkgdir}"/usr/bin/httpfs2-ssl

	install -D -m0644 httpfs2.1 "${pkgdir}"/usr/share/man/man1/httpfs2.1

	install -D -m0644 debian/copyright "${pkgdir}"/usr/share/doc/httpfs2/copyright
}