aboutsummaryrefslogtreecommitdiffstats
path: root/main/snownews/APKBUILD
blob: 65814340f7a6091cf72e41b06fbb62bae373b16c (plain) (blame)
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
# Contributor: ScrumpyJack <scrumpyjack@st.ilet.to>
# Maintainer: ScrumpyJack <scrumpyjack@st.ilet.to>
pkgname=snownews
pkgver=1.5.12
pkgrel=8
pkgdesc="Snownews is a text mode RSS/RDF newsreader"
url="https://kiza.eu/software/snownews/"
arch="all"
license="GPL"
depends="ncurses"
depends_dev="libintl openssl-dev perl ncurses-dev libxml2-dev readline-dev gettext-dev"
makedepends="$depends_dev"
install=""
subpackages="$pkgname-lang $pkgname-doc"
source="https://kiza.eu/media/software/snownews/${pkgname}-${pkgver}.tar.gz
	configure.patch
	openssl-1.1.patch
	"

builddir="$srcdir/$pkgname-$pkgver"

build() {
	cd "$builddir"
        ./configure --prefix=/usr
        make
}

package() {
	cd "$builddir"
        make DESTDIR="$pkgdir" install
}

sha512sums="7a7ccd5ea57f8bbb73f1429ab931a38203e858c74a383c5347e66088b84f6a7240feeee99e179687ce0a7a89c6c1406ce20d6c5d6771d25a0a0301fa5526e220  snownews-1.5.12.tar.gz
d7ed00a401c1963a5619b0b221ae354e5a8a8423f75313e906f43b5a64c099fac8239d7eb1a34d47c284e96b9ad2965f1ecdad58fb28101f7397143847a5e230  configure.patch
4e5e2b6d2859ed68ced43df31463c1d6a4d817c4cafcf3889cdaed6b744f2d3d061a53395b6e3c72889afefa71371d8e26e777110d6fe9ea3875e1a5e2af4c77  openssl-1.1.patch"