28 lines
1,003 B
Text
28 lines
1,003 B
Text
# Maintainer: Antoine Martin (ayakael) <dev@ayakael.net>
|
|
# Contributor: Antoine Martin (ayakael) <dev@ayakael.net>
|
|
|
|
pkgname=freshrss-readingtime
|
|
_pkgname=ReadingTime
|
|
pkgver=1.2
|
|
pkgrel=0
|
|
pkgdesc="Add a reading time estimation next to each article title"
|
|
url="https://github.com/FreshRSS/Extensions"
|
|
arch="noarch"
|
|
license="MIT"
|
|
depends="freshrss"
|
|
_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"
|
|
|
|
package() {
|
|
local appdir="/usr/share/webapps/${pkgname%%-*}/extensions"
|
|
install -d "$pkgdir"/$appdir
|
|
cp -R "$builddir"/xExtension-$_pkgname "$pkgdir"/$appdir
|
|
}
|
|
sha512sums="
|
|
d75950862e6fd13074999abeedf5011706eceea2a8bd281d6d23ffbd01ba9aea2e04fe8d01b2d2bb6ad87b5081884fc805e7b2b91d872a585d82f5d8bc922739 freshrss-readingtime-210b867bbf5f5b164fcb727b3b63c5342e1cb252.tar.gz
|
|
"
|