aboutsummaryrefslogtreecommitdiffstats
path: root/main/libfetch/APKBUILD
blob: f695eef8e594a8de45acd4b9b797010ccd4299cb (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libfetch
pkgver=2.33
pkgrel=1
pkgdesc="URL based download library"
url="http://cvsweb.netbsd.org/bsdweb.cgi/pkgsrc/net/libfetch/"
arch="all"
license="BSD"
depends=
makedepends_build=""
makedepends_host="openssl-dev"
makedepends="$makedepends_build $makedepends_host"
subpackages="$pkgname-dev $pkgname-doc"
source="Makefile
	https://sources.archlinux.org/other/libfetch/libfetch-$pkgver.tar.gz
	"

_builddir="$srcdir"/$pkgname-$pkgver
prepare() {
	cp "$srcdir"/Makefile "$_builddir" 
}

build () { 
	cd "$_builddir"
	make
}

package() {
	cd "$_builddir"
	make DESTDIR=$pkgdir install
}
md5sums="f04e037d98dcf18d37564a998d0ea9b1  Makefile
a176b94f7f30344ef8a71c047ca2136b  libfetch-2.33.tar.gz"
sha256sums="184cc1eae43e1336d39e183402c1835edfec89449163dcdc9f170d0d535b6e4d  Makefile
3226f53d5ad29cc27510db968ef0d37bf4554b8aaaeadcd56e23067213b08943  libfetch-2.33.tar.gz"
sha512sums="58f5606de94077f01528d9081be9b605c394fcc5e481102cdba999b175b390e2549aa8c849666b0caa2c44c2b0638843d3108c8b4c27ddee3293c61eb2a012b6  Makefile
2d1fcd663733f5f44d9e87aa69a46e9aecfb465d1547d1469727c1a169768a8731c2f37761b93f35cfedba772dc8d66e472b26e10e2b7c6f7bf857d46f19af18  libfetch-2.33.tar.gz"