blob: b11f08c1170130015028538cb9dc41b61a497615 (
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
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libfetch
pkgver=2.33
pkgrel=0
pkgdesc="URL based download library"
url="http://cvsweb.netbsd.org/bsdweb.cgi/pkgsrc/net/libfetch/"
arch="all"
license="BSD"
depends=
makedepends="openssl-dev"
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="cf18907a75c67f543b1173d7f87830af Makefile
a176b94f7f30344ef8a71c047ca2136b libfetch-2.33.tar.gz"
sha256sums="3329069346b1f325d2c8da55ecf77f341b01bd567d722dae009493aa8450e628 Makefile
3226f53d5ad29cc27510db968ef0d37bf4554b8aaaeadcd56e23067213b08943 libfetch-2.33.tar.gz"
sha512sums="a712af971389d8eb182bc8f5c79f519785ed0f9aac6b71833d0a245a371720fe0dd0100de3d8d1071e94cd4c3b881d3345bf220fd76e0374b13934c8ff56ef45 Makefile
2d1fcd663733f5f44d9e87aa69a46e9aecfb465d1547d1469727c1a169768a8731c2f37761b93f35cfedba772dc8d66e472b26e10e2b7c6f7bf857d46f19af18 libfetch-2.33.tar.gz"
|