summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 54aa5951a9a7d44296d58ec91c81ff38ca3cda10 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Maintainer: Anders Damsgaard <anders@adamsgaard.dk>
pkgname=hurl-grab
pkgver=0.8
pkgrel=1
pkgdesc='HTTP/HTTPS/Gopher file grabber'
arch=('i686' 'x86_64' 'armv6h' 'armv7h')
url='https://codemadness.org/hurl.html'
_url_source='https://codemadness.org/releases/hurl'
license=('ISC')
depends=('libretls')
conflicts=('hurl' 'hurl-bin')
source=("${_url_source}/hurl-${pkgver}.tar.gz")
sha256sums=('00facf1f6aa507af8544f50ad6722d1f13724b3553dba2aed1ab86c4d76b42c1')

build() {
	make -C "hurl-${pkgver}"
}

package() {
	make DESTDIR="${pkgdir}" PREFIX='/usr' MANDIR='/usr/share/man' -C "hurl-${pkgver}" install
	install -Dvm644 "hurl-${pkgver}/LICENSE" -t "${pkgdir}/usr/share/licenses/${pkgname}"
}