aboutsummaryrefslogtreecommitdiffstats
path: root/testing/polipo/APKBUILD
blob: b2461d517b0243e85cfc8e2395a680bb157a35f4 (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
# Contributor: Alexander Georgievskiy <galeksandrp@gmail.com>
# Maintainer:
pkgname=polipo
pkgver=1.1.1
pkgrel=0
pkgdesc="The Polipo caching HTTP proxy"
url="https://github.com/jech/$pkgname"
arch="all"
license="MIT"
depends=""
makedepends="texinfo"
install=""
subpackages="$pkgname-doc"
source="https://github.com/jech/$pkgname/archive/$pkgname-$pkgver.tar.gz"
builddir="$srcdir/$pkgname-$pkgname-$pkgver"
options="!check"

build() {
	cd "$builddir"

	make
}

package() {
	cd "$builddir"

	make PREFIX="$pkgdir/usr" MANDIR="$pkgdir/usr/share/man" INFODIR="$pkgdir/usr/share/info" LOCAL_ROOT="$pkgdir/usr/share/polipo/www" install
}

sha512sums="f99f4f7bbd39f2651a1df12e1c88d45938ddbc85ef10e2ce0e8a40e25019986a17e7cd449efcc0a268367297bc9597d935df2d1e4f48661cc8f28310a17b6327  polipo-1.1.1.tar.gz"