aboutsummaryrefslogtreecommitdiffstats
path: root/featherweight/PKGBUILD
blob: 63daa5084f8a01e465cc8ad45847fd82a1f795e3 (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
# Maintainer: Mattias Andrée <`base64 -d`(bWF0dGlhcy5hbmRyZWU)@protonmail.com>

pkgname=featherweight
pkgver=1428444876
pkgrel=2
pkgdesc="A lightweight news syndication aggregator for your terminal shell"
url="https://github.com/GNU-Pony/featherweight"
arch=(any)
license=(GPL3)
depends=(python3 coreutils wget pytagomacs html2text-with-utf8)
makedepends=(make coreutils python3 zip texinfo)
install=featherweight.install
source=("${url}/archive/${pkgver}.tar.gz")
sha256sums=(17e8031bec3a68171acc182d925a684b53a2f28c9275362b5592510c07fe2c3b)


build() {
	cd "${srcdir}/featherweight-${pkgver}"
	make PREFIX=/usr PY_MAJOR=3 PY_MINOR=4
}

package() {
	cd "${srcdir}/featherweight-${pkgver}"
	make PREFIX=/usr PY_MAJOR=3 PY_MINOR=4 DESTDIR="${pkgdir}" install
	
	_dir="${pkgdir}/usr/share/licenses/${pkgname}"
	ln -sf -- "/usr/share/licenses/common/GPL3" "${_dir}/LICENSE"
}