ayaports/apk/main/freshrss-redditimage/APKBUILD
build@apk-groulx c405869d60 * testing/craftbukkit-plugin-vault: move from main
* main/dotnet{21,31,5,6}: removed as in Alpine aports
* main/freshrss-auto-refresh: upgrade
* main/freshrss-redditimage: upgrade
* main/freshrss-threepanesview: upgrade
* main/freshrss-wallabag: upgrade
* main/freshrss-youtube: upgrade
* main/hsxkpasswd: new aport
* main/jellyfin: upgrade
* main/jellyfin-ffmpeg: upgrade
* main/perl-file-share: new aport
* main/paperless-ng: upgrade
* main/pass: upgrade
* main/py3-daemon: new aport
* main/py3-poetry-core: upgrade
* main/roxy-wi: rename from haproxy-wi
* main/signal-desktop: new aport
* main/skia-sharp: upgrade
* testing/dam: upgrade
* testing/firefly-iii-plaid-connector: upgrade
2022-07-29 15:01:12 +00:00

50 lines
1.4 KiB
Text

# Maintainer: Antoine Martin <antoine@ayakael.net>
pkgname=freshrss-redditimage
pkgver=0.12.0
pkgrel=0
pkgdesc="Modify reddit entries by displaying known medias and easing access to the linked resource"
url="https://github.com/aledeg/xExtension-RedditImage"
arch="noarch"
license="MIT"
depends="freshrss"
makedepends="git"
source="https://github.com/aledeg/xExtension-RedditImage/archive/refs/tags/v$pkgver.tar.gz"
_giturl="https://github.com/aledeg/xExtension-RedditImage"
_gittag="ae1c643445c7e9a0f326bdff4d432bdada6e589d"
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/xExtension-RedditImage"
cp -R "${pkgname}/"* "${pkgdir}/usr/share/webapps/freshrss/extensions/xExtension-RedditImage"
}
sha512sums="
3bdcbbd13b2b3388e876404f836d63bf0176ee1ecdc55f9bd137f65b526674fbbd57a610ddcb2ef4098698c8a8f3a5809040ac54e56412dea1fe0733ef4cc32a v0.12.0.tar.gz
"