diff --git a/repo/httpfs2-2gbplus/PKGBUILD b/repo/httpfs2-2gbplus/PKGBUILD new file mode 100644 index 0000000..94105ff --- /dev/null +++ b/repo/httpfs2-2gbplus/PKGBUILD @@ -0,0 +1,44 @@ +# Maintainer: Zepman +# Contributor: Christian Hesse +# Contributor: Constantinko +# Contributor: Agustín Dall'Alba + +_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 +} +