aboutsummaryrefslogtreecommitdiffstats
path: root/testing/rsstail/APKBUILD
blob: 6f819ca0f0592ec93d1f1ee1514864f8bc1c48e8 (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
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=rsstail
pkgver=2.1
pkgrel=0
pkgdesc="tail for rss feeds"
url="https://www.vanheusden.com/rsstail/"
arch="all"
license="GPL-2.0-only"
makedepends="libmrss-dev curl-dev"
checkdepends="cppcheck"
subpackages="$pkgname-doc"
source="https://www.vanheusden.com/$pkgname/$pkgname-$pkgver.tgz
	fix-build.patch
	makefile-suppor-install-destdir-path.patch"
builddir="$srcdir/$pkgname-$pkgver"

build() {
	cd "$builddir"
	return 0
}

check() {
	cd "$builddir"
	make check
}

package() {
	cd "$builddir"
	mkdir -p "$pkgdir"/usr/bin
	make DESTDIR=$pkgdir install
}

sha512sums="61eec722e4c519b5ccebae93849f3f88810a1ff2e70dc311ad55fd15b7751d3d4dedf65e1c0ff875bee58df998f48aba7337a20bcebd2121dcead4ab1ac7ff1f  rsstail-2.1.tgz
997088b1e608b2c341f5e090e7cf39db8140919812eb7238daa5e908300c84e2dd39f4b4b4bdd3b4e15a08c26380ccc92f68fec62a9bb2c63a1e8522d61ea89e  fix-build.patch
a1bb0e08203e9db22e240f1b63019f447d7dc1cae729ce0f64c47df71ab2f7b1ad4af5faa04df2223ebb7bd8a5ff0f4525a271754ec53696a7ea5f15aee67a5a  makefile-suppor-install-destdir-path.patch"