50 lines
1.4 KiB
Text
50 lines
1.4 KiB
Text
# Maintainer: Antoine Martin <antoine@ayakael.net>
|
|
pkgname=freshrss-smartmobilemenu
|
|
pkgver=0.1
|
|
pkgrel=0
|
|
pkgdesc="Minimizes the required button space and groups buttons"
|
|
url="https://github.com/langfeld/FreshRSS-extensions"
|
|
arch="noarch"
|
|
license="MIT"
|
|
depends="freshrss"
|
|
makedepends="git"
|
|
source="$pkgname-$pkgver.tar.gz"
|
|
_giturl="https://github.com/langfeld/FreshRSS-extensions"
|
|
_gittag="cb1503844f55fb5b07568ed98f601c547d1f1596"
|
|
builddir="$srcdir"
|
|
options="!check"
|
|
|
|
snapshot() {
|
|
mkdir -p "$srcdir"
|
|
cd "${SRCDEST:-$srcdir}"
|
|
if ! [ -d $pkgname.git ]; then
|
|
git clone $_giturl $pkgname.git || return 1
|
|
cd $pkgname.git
|
|
else
|
|
cd $pkgname.git
|
|
git fetch || return 1
|
|
fi
|
|
|
|
echo "Checking out"
|
|
git checkout $_gittag
|
|
echo "Repo archive"
|
|
git archive --prefix="$pkgname/" -o ${pkgname}-${pkgver}.tar --format "tar" $_gittag
|
|
|
|
|
|
gzip ${pkgname}-${pkgver}.tar -c > "$SRCDEST"/$pkgname-$pkgver.tar.gz
|
|
ln -s "$SRCDEST"/$pkgname-$pkgver.tar.gz "$startdir"/$pkgname-$pkgver.tar.gz
|
|
}
|
|
|
|
build() {
|
|
return 0
|
|
}
|
|
|
|
package() {
|
|
cd "$builddir"
|
|
mkdir -p "${pkgdir}/usr/share/webapps/freshrss/extensions"
|
|
cp -R "${pkgname}/xExtension-SmartMobileMenu" "${pkgdir}/usr/share/webapps/freshrss/extensions/"
|
|
}
|
|
|
|
|
|
|
|
sha512sums="99444bd061479a3bc5cdb1ae8d32a64654d5211182d8ed49b35bf0d9a383a7cc539fc6d09a3726ec8b290de222771afbc4b869e2a37e397dc3c365f20436b41f freshrss-smartmobilemenu-0.1.tar.gz"
|