blob: 24fab23a0715c07e456e9a747625afe4c3fe2061 (
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
37
38
39
40
41
42
43
44
45
46
47
|
# Contributor: Frédéric Guillot <fred@miniflux.net>
# Maintainer: Frédéric Guillot <fred@miniflux.net>
pkgname=miniflux
pkgver=2.0.18
pkgrel=0
pkgdesc="Minimalist and opionated feed reader"
url="https://miniflux.app/"
arch="all"
license="Apache-2.0"
makedepends="go"
install="$pkgname.pre-install"
subpackages="$pkgname-openrc $pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/miniflux/miniflux/archive/$pkgver.tar.gz
miniflux.initd
miniflux.confd
miniflux.conf
miniflux.logrotate
"
pkggroups="miniflux"
build() {
make miniflux VERSION=$pkgver
}
check() {
CGO_ENABLED=0 go test ./...
}
package() {
install -m755 -D $pkgname "$pkgdir"/usr/bin/$pkgname
install -m755 -D "$srcdir"/$pkgname.initd \
"$pkgdir"/etc/init.d/$pkgname
install -m644 -D "$srcdir"/$pkgname.confd \
"$pkgdir"/etc/conf.d/$pkgname
install -m640 -o root -g miniflux -D "$srcdir/$pkgname.conf" \
"$pkgdir/etc/$pkgname.conf"
install -m644 -D "$srcdir"/$pkgname.logrotate \
"$pkgdir"/etc/logrotate.d/$pkgname
install -m644 -D miniflux.1 \
"$pkgdir/usr/share/man/man1/miniflux.1"
}
sha512sums="235cfd81551d29b4542a4618854bce618e3e361e0f6e20f7e7838a80cc163942d0c6e196096daa08f41f6c6d71e0ddf1fa46bc17469fa4e82a13b3527230fa89 miniflux-2.0.18.tar.gz
31d3d5928d1021cdd276868f1c66414a24e644965d4140cf4412b6dabd102e7e310195b14543eeb4040f0399b6faffafed2b1c8d95ce52fa9824ecfb2d71dd22 miniflux.initd
a1fca92e9005b9c8c80310060b0c23d91c435ef57d12c138d7f4a6ffb6a23ebc9bfc76e963385dfd4f9cef4ea1c7009521595f621617e56eae6efd3e54670d56 miniflux.confd
fc0084e0d31a4ce29fc0110411dba8f9fd60c16af08a3364b3f828558981a308a5f9871908594753d868cdf9faf86f84f95e0134afdff8983da2b179ebdd24c1 miniflux.conf
f9d594df6ea267b6d1f060090d39825998a03af02751ee5af446e84c84794ae01d16617c2737f00c3af5325fb27f26aa680b4ba1747dcf16acb22dbc23477e7d miniflux.logrotate"
|