ayaports/user/freshrss-mobilescrollmenu/APKBUILD

29 lines
1.1 KiB
Text

# Maintainer: Antoine Martin (ayakael) <dev@ayakael.net>
# Contributor: Antoine Martin (ayakael) <dev@ayakael.net>
pkgname=freshrss-mobilescrollmenu
_pkgname=MobileScrollMenu
pkgver=0.2
pkgrel=0
pkgdesc="Automatically hides the header menu on mobile phones, when scrolling down and shows it when scrolling up"
url="https://github.com/FreshRSS/Extensions"
arch="!armv7 noarch"
license="MIT"
depends="freshrss"
_giturl="https://github.com/langfeld/FreshRSS-extensions"
_gittag="d02b2cb89f5ad16a9ee10c8eac578ead21c8c91d"
source="$pkgname-$_gittag.tar.gz::$_giturl/archive/$_gittag.tar.gz"
options="!check" # No testsuite
builddir="$srcdir"/FreshRSS-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="
6da85a18d0b8f386e7faff7c907057f5b99925f95a723fcb6c05f9e70bcd028a2f0406ec92828c6cf1865274b0f8b8be841c7017460ba37848183c7f4738981c freshrss-mobilescrollmenu-d02b2cb89f5ad16a9ee10c8eac578ead21c8c91d.tar.gz
"