2023-01-10 19:17:05 +00:00
|
|
|
# Maintainer: Antoine Martin (ayakael) <dev@ayakael.net>
|
|
|
|
# Contributor: Antoine Martin (ayakael) <dev@ayakael.net>
|
|
|
|
|
2021-11-30 21:44:44 +00:00
|
|
|
pkgname=freshrss-readingtime
|
2023-01-10 19:17:05 +00:00
|
|
|
_pkgname=ReadingTime
|
2021-11-30 21:44:44 +00:00
|
|
|
pkgver=1.2
|
|
|
|
pkgrel=0
|
2023-01-10 19:17:05 +00:00
|
|
|
pkgdesc="Add a reading time estimation next to each article title"
|
|
|
|
url="https://github.com/FreshRSS/Extensions"
|
2023-05-07 22:41:06 +00:00
|
|
|
arch="!armv7 noarch"
|
2021-11-30 21:44:44 +00:00
|
|
|
license="MIT"
|
|
|
|
depends="freshrss"
|
2023-01-10 19:17:05 +00:00
|
|
|
_giturl="https://github.com/FreshRSS/Extensions"
|
|
|
|
_gittag="210b867bbf5f5b164fcb727b3b63c5342e1cb252"
|
|
|
|
source="$pkgname-$_gittag.tar.gz::$_giturl/archive/$_gittag.tar.gz"
|
|
|
|
options="!check" # No testsuite
|
|
|
|
builddir="$srcdir"/Extensions-$_gittag
|
|
|
|
pkgusers="freshrss"
|
|
|
|
pkggroups="www-data"
|
2021-11-30 21:44:44 +00:00
|
|
|
|
|
|
|
package() {
|
2023-01-10 19:17:05 +00:00
|
|
|
local appdir="/usr/share/webapps/${pkgname%%-*}/extensions"
|
|
|
|
install -d "$pkgdir"/$appdir
|
|
|
|
cp -R "$builddir"/xExtension-$_pkgname "$pkgdir"/$appdir
|
2021-11-30 21:44:44 +00:00
|
|
|
}
|
|
|
|
sha512sums="
|
2023-01-10 19:17:05 +00:00
|
|
|
d75950862e6fd13074999abeedf5011706eceea2a8bd281d6d23ffbd01ba9aea2e04fe8d01b2d2bb6ad87b5081884fc805e7b2b91d872a585d82f5d8bc922739 freshrss-readingtime-210b867bbf5f5b164fcb727b3b63c5342e1cb252.tar.gz
|
2021-11-30 21:44:44 +00:00
|
|
|
"
|