From 23f3537e5b60a2f663f02b321f51632201050236 Mon Sep 17 00:00:00 2001 From: Antoine Martin Date: Tue, 10 Jan 2023 14:17:05 -0500 Subject: [PATCH] user/freshrss: match to MR --- user/freshrss-auto-refresh/APKBUILD | 50 +++++----------- user/freshrss-customcss/APKBUILD | 28 +++++++++ user/freshrss-customjs/APKBUILD | 28 +++++++++ user/freshrss-fixednavmenu/APKBUILD | 51 +++++------------ user/freshrss-imageproxy/APKBUILD | 57 ++++++------------- user/freshrss-keepfolderstate/APKBUILD | 54 ++++++------------ user/freshrss-latex/APKBUILD | 51 ++++++----------- user/freshrss-mobilescrollmenu/APKBUILD | 55 ++++++------------ user/freshrss-quickcollapse/APKBUILD | 28 +++++++++ user/freshrss-readingtime/APKBUILD | 55 ++++++------------ user/freshrss-redditimage/APKBUILD | 50 +++++----------- user/freshrss-sharebyemail/APKBUILD | 28 +++++++++ user/freshrss-smartmobilemenu/APKBUILD | 51 +++++------------ user/freshrss-threepanesview/APKBUILD | 48 +++++----------- user/freshrss-titlewrap/APKBUILD | 28 +++++++++ user/freshrss-touchcontrol/APKBUILD | 53 ++++++----------- user/freshrss-ttrss-api/APKBUILD | 28 +++++++++ user/freshrss-wallabag/APKBUILD | 29 +++++----- user/freshrss-youtube/APKBUILD | 49 +++++----------- user/freshrss-youtubechannel2rssfeed/APKBUILD | 53 ++++++----------- user/freshrss/APKBUILD | 50 ++++++++-------- 21 files changed, 414 insertions(+), 510 deletions(-) create mode 100644 user/freshrss-customcss/APKBUILD create mode 100644 user/freshrss-customjs/APKBUILD create mode 100644 user/freshrss-quickcollapse/APKBUILD create mode 100644 user/freshrss-sharebyemail/APKBUILD create mode 100644 user/freshrss-titlewrap/APKBUILD create mode 100644 user/freshrss-ttrss-api/APKBUILD diff --git a/user/freshrss-auto-refresh/APKBUILD b/user/freshrss-auto-refresh/APKBUILD index 0ec60fb..c1282de 100644 --- a/user/freshrss-auto-refresh/APKBUILD +++ b/user/freshrss-auto-refresh/APKBUILD @@ -1,50 +1,28 @@ -# Maintainer: Antoine Martin +# Maintainer: Antoine Martin (ayakael) +# Contributor: Antoine Martin (ayakael) + pkgname=freshrss-auto-refresh -pkgver=1.3 +pkgver=1.4 pkgrel=0 pkgdesc="Automatically refreshes FreshRSS page once in a minute when there is no activity detected." url="https://github.com/Eisa01/FreshRSS---Auto-Refresh-Extension" arch="noarch" license="MIT" depends="freshrss" -makedepends="git" -_gittag=4f9add4567b595b2a7bdff432b0b6b8ff6912d5e -source="https://github.com/Eisa01/FreshRSS---Auto-Refresh-Extension/archive/$_gittag.tar.gz" _giturl="https://github.com/Eisa01/FreshRSS---Auto-Refresh-Extension" -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 -} +_gittag="4f9add4567b595b2a7bdff432b0b6b8ff6912d5e" +source="$pkgname-$_gittag.tar.gz::$_giturl/archive/$_gittag.tar.gz" +options="!check" # No testsuite +builddir="$srcdir"/FreshRSS---Auto-Refresh-Extension-$_gittag +pkgusers="freshrss" +pkggroups="www-data" package() { - cd "$builddir" - mkdir -p "${pkgdir}/usr/share/webapps/freshrss/extensions" - cp -R "${pkgname}/xExtension-AutoRefresh" "${pkgdir}/usr/share/webapps/freshrss/extensions/" + local appdir="/usr/share/webapps/${pkgname%%-*}/extensions" + install -d "$pkgdir"/$appdir + cp -R "$builddir"/xExtension-AutoRefresh "$pkgdir"/$appdir } sha512sums=" -b949e46ce3765f2708a9bef413d0673f8caa706cd266e335808c158f66f1e6b1240fb7cc496cd43672a2ac83e0b58be38f749081568db08ff234772cce65d9bc 4f9add4567b595b2a7bdff432b0b6b8ff6912d5e.tar.gz +b949e46ce3765f2708a9bef413d0673f8caa706cd266e335808c158f66f1e6b1240fb7cc496cd43672a2ac83e0b58be38f749081568db08ff234772cce65d9bc freshrss-auto-refresh-4f9add4567b595b2a7bdff432b0b6b8ff6912d5e.tar.gz " diff --git a/user/freshrss-customcss/APKBUILD b/user/freshrss-customcss/APKBUILD new file mode 100644 index 0000000..ec027d7 --- /dev/null +++ b/user/freshrss-customcss/APKBUILD @@ -0,0 +1,28 @@ +# Maintainer: Antoine Martin (ayakael) +# Contributor: Antoine Martin (ayakael) + +pkgname=freshrss-customcss +_pkgname=CustomCSS +pkgver=0.2 +pkgrel=0 +pkgdesc="Give possibility to overwrite the CSS with a user-specific rules" +url="https://github.com/FreshRSS/Extensions" +arch="noarch" +license="MIT" +depends="freshrss" +_giturl="https://github.com/FreshRSS/Extensions" +_gittag="195afe21308bf2282b078ea2e831b124581454ac" +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=" +2dc261c7a07bfe7579f39742d403da44cea3f415752b389d4a4c6c3f484a36503ddb4e4174583f7239de97b69f1e1cd49df640ad343ccc5b3b2fb9d152c9ecc9 freshrss-customcss-195afe21308bf2282b078ea2e831b124581454ac.tar.gz +" diff --git a/user/freshrss-customjs/APKBUILD b/user/freshrss-customjs/APKBUILD new file mode 100644 index 0000000..061c203 --- /dev/null +++ b/user/freshrss-customjs/APKBUILD @@ -0,0 +1,28 @@ +# Maintainer: Antoine Martin (ayakael) +# Contributor: Antoine Martin (ayakael) + +pkgname=freshrss-customjs +_pkgname=CustomJS +pkgver=0.2 +pkgrel=0 +pkgdesc="Give possibility to overwrite the JS with a user-specific rules" +url="https://github.com/FreshRSS/Extensions" +arch="noarch" +license="MIT" +depends="freshrss" +_giturl="https://github.com/FreshRSS/Extensions" +_gittag="5e4939e392872f78da633a17a8500c9a05362634" +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=" +5474d4fddde1d5c80a137dc363d8904dcfb4170aba24855594ae7298ca1505beb58d21ab03e4e112ab06e77d49ba24c6ca4bea1587c9823d0818ed4c868ceff7 freshrss-customjs-5e4939e392872f78da633a17a8500c9a05362634.tar.gz +" diff --git a/user/freshrss-fixednavmenu/APKBUILD b/user/freshrss-fixednavmenu/APKBUILD index 6e8d3b8..7c7886e 100644 --- a/user/freshrss-fixednavmenu/APKBUILD +++ b/user/freshrss-fixednavmenu/APKBUILD @@ -1,5 +1,8 @@ -# Maintainer: Antoine Martin +# Maintainer: Antoine Martin (ayakael) +# Contributor: Antoine Martin (ayakael) + pkgname=freshrss-fixednavmenu +_pkgname=FixedNavMenu pkgver=0.1 pkgrel=0 pkgdesc="Sets the position of the navigation menu to fixed when scrolling down" @@ -7,44 +10,20 @@ 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="8ae060d5103082485edcf20c4ac0308508461492" -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 -} +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() { - cd "$builddir" - mkdir -p "${pkgdir}/usr/share/webapps/freshrss/extensions" - cp -R "${pkgname}/xExtension-FixedNavMenu" "${pkgdir}/usr/share/webapps/freshrss/extensions/" + local appdir="/usr/share/webapps/${pkgname%%-*}/extensions" + install -d "$pkgdir"/$appdir + cp -R "$builddir"/xExtension-$_pkgname "$pkgdir"/$appdir } - - -sha512sums="cabbc3ff578fff675bbccb47c1868390f2096c7317b68b8537bbd442d77d9897d4cbe8ae90db8cd82f47e56d4d3fb1ed93319e8c5282e2b9e004e5802209aa35 freshrss-fixednavmenu-0.1.tar.gz" +sha512sums=" +c809df7970eacbe8c421a3d6dc8b08aee1faca7f6aca204f00a4a3be63b53a926971091153fce5b080afc15364fdb3dd6309b11e7f6da59151b87516024fbce7 freshrss-fixednavmenu-8ae060d5103082485edcf20c4ac0308508461492.tar.gz +" diff --git a/user/freshrss-imageproxy/APKBUILD b/user/freshrss-imageproxy/APKBUILD index 6fe3e26..c8e977a 100644 --- a/user/freshrss-imageproxy/APKBUILD +++ b/user/freshrss-imageproxy/APKBUILD @@ -1,50 +1,29 @@ -# Maintainer: Antoine Martin +# Maintainer: Antoine Martin (ayakael) +# Contributor: Antoine Martin (ayakael) + pkgname=freshrss-imageproxy -pkgver=0.5.1 -pkgrel=1 +_pkgname=ImageProxy +pkgver=0.5 +pkgrel=0 pkgdesc="No insecure content warnings or disappearing images" url="https://github.com/FreshRSS/Extensions" arch="noarch" license="GPL-3.0-only" depends="freshrss" -makedepends="git" -source="$pkgname-$pkgver.tar.gz" _giturl="https://github.com/FreshRSS/Extensions" -_gittag="c233bf5" -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 -} +_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() { - cd "$builddir" - mkdir -p "${pkgdir}/usr/share/webapps/freshrss/extensions" - cp -R "${pkgname}/xExtension-ImageProxy" "${pkgdir}/usr/share/webapps/freshrss/extensions/" + local appdir="/usr/share/webapps/${pkgname%%-*}/extensions" + install -d "$pkgdir"/$appdir + cp -R "$builddir"/xExtension-$_pkgname "$pkgdir"/$appdir } - - -sha512sums="9b07f4050ad06ff10ad6e35bc105d4778597cc9d6ecaa033fa8b414c0f7de3c85db02b14d28503a2c5e9be205abf7c740eba804d9035ef005afc4fc407096c4f freshrss-imageproxy-0.5.1.tar.gz" +sha512sums=" +d75950862e6fd13074999abeedf5011706eceea2a8bd281d6d23ffbd01ba9aea2e04fe8d01b2d2bb6ad87b5081884fc805e7b2b91d872a585d82f5d8bc922739 freshrss-imageproxy-210b867bbf5f5b164fcb727b3b63c5342e1cb252.tar.gz +" diff --git a/user/freshrss-keepfolderstate/APKBUILD b/user/freshrss-keepfolderstate/APKBUILD index f15e32f..b7a4590 100644 --- a/user/freshrss-keepfolderstate/APKBUILD +++ b/user/freshrss-keepfolderstate/APKBUILD @@ -1,50 +1,28 @@ -# Maintainer: Antoine Martin +# Maintainer: Antoine Martin (ayakael) +# Contributor: Antoine Martin (ayakael) + pkgname=freshrss-keepfolderstate +_pkgname=KeepFolderState pkgver=0.1 -pkgrel=1 +pkgrel=0 pkgdesc="Stores the state of the folders locally and expand them automatically if necessary" 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="0b5b158c97601d44829975e03a9321fd797c623c" -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 -} +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() { - cd "$builddir" - mkdir -p "${pkgdir}/usr/share/webapps/freshrss/extensions" - cp -R "${pkgname}/xExtension-KeepFolderState" "${pkgdir}/usr/share/webapps/freshrss/extensions/" + local appdir="/usr/share/webapps/${pkgname%%-*}/extensions" + install -d "$pkgdir"/$appdir + cp -R "$builddir"/xExtension-$_pkgname "$pkgdir"/$appdir } - - - -sha512sums="b36e03d5dca7cb0e2e11a0b2505a88e73f657bf03df97c14f603cb492f8e2036b1688c12ffdc029ce38c6d5ff3f5ccf76d297cdd83a66fe0b4c5e06c660aa79f freshrss-keepfolderstate-0.1.tar.gz" +sha512sums=" +c6ed8959da22f2c9d0010489bc8e770c6f320dfb0b01cde13ce316c8406a1349d722b8bb0cc148da24216b6bf39565c33a2135be01d6ce24d593f08a1d9425ad freshrss-keepfolderstate-0b5b158c97601d44829975e03a9321fd797c623c.tar.gz +" diff --git a/user/freshrss-latex/APKBUILD b/user/freshrss-latex/APKBUILD index 30e3186..ff2209a 100644 --- a/user/freshrss-latex/APKBUILD +++ b/user/freshrss-latex/APKBUILD @@ -1,48 +1,29 @@ -# Maintainer: Antoine Martin +# Maintainer: Antoine Martin (ayakael) +# Contributor: Antoine Martin (ayakael) + pkgname=freshrss-latexsupport +_pkgname=LatexSupport pkgver=0.1.4 pkgrel=0 pkgdesc="A FreshRSS extension which add LaTeX support" url="https://github.com/aledeg/xExtension-LatexSupport" arch="noarch" -license="AGPL3" +license="AGPL-3.0-only" depends="freshrss" -makedepends="git" -source="$pkgname-$pkgver.tar.gz" _giturl="https://github.com/aledeg/xExtension-LatexSupport" -_gittag="2767caec86437e92b748cd770ddc51e79b113a7c" +_gittag="f0472a9603d1308081542fc3c0b962c54bebf3a9" +source="$pkgname-$_gittag.tar.gz::$_giturl/archive/$_gittag.tar.gz" +options="!check" # No testsuite 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 -} +pkgusers="freshrss" +pkggroups="www-data" package() { - cd "$builddir" - mkdir -p "${pkgdir}/usr/share/webapps/freshrss/extensions/xExtension-LatexSupport" - cp -R "${pkgname}/"* "${pkgdir}/usr/share/webapps/freshrss/extensions/xExtension-LatexSupport" + local appdir="/usr/share/webapps/${pkgname%%-*}/extensions" + install -d "$pkgdir"/$appdir + cp -R "$builddir"/xExtension-$_pkgname-$_gittag "$pkgdir"/$appdir//xExtension-$_pkgname } -sha512sums="db3f90146f6b1f18338c187b1bb9363e7c25b9e84483c9835968ad79ad9edcf570088674f114d1f5e6de8913f9d096109e493e726622fd75923d896f91ce0512 freshrss-latexsupport-0.1.4.tar.gz" +sha512sums=" +0adf522ac547107096ed532a03e2ef7cb5f26403674959602bd7f27e3bfdfc91aa35bbabc30cae12e3909994fa6733e075b647d14c102ec7dfd3e7da54e05aa0 freshrss-latexsupport-f0472a9603d1308081542fc3c0b962c54bebf3a9.tar.gz +" diff --git a/user/freshrss-mobilescrollmenu/APKBUILD b/user/freshrss-mobilescrollmenu/APKBUILD index d7512a4..a1543f9 100644 --- a/user/freshrss-mobilescrollmenu/APKBUILD +++ b/user/freshrss-mobilescrollmenu/APKBUILD @@ -1,50 +1,29 @@ -# Maintainer: Antoine Martin +# Maintainer: Antoine Martin (ayakael) +# Contributor: Antoine Martin (ayakael) + pkgname=freshrss-mobilescrollmenu +_pkgname=MobileScrollMenu pkgver=0.2 -pkgrel=1 -pkgdesc="utomatically hides the header menu on mobile phones, when scrolling down and shows it when scrolling up" +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="noarch" license="MIT" depends="freshrss" -makedepends="git" -source="$pkgname-$pkgver.tar.gz" _giturl="https://github.com/langfeld/FreshRSS-extensions" _gittag="d02b2cb89f5ad16a9ee10c8eac578ead21c8c91d" -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 -} +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() { - cd "$builddir" - mkdir -p "${pkgdir}/usr/share/webapps/freshrss/extensions" - cp -R "${pkgname}/xExtension-MobileScrollMenu" "${pkgdir}/usr/share/webapps/freshrss/extensions/" + local appdir="/usr/share/webapps/${pkgname%%-*}/extensions" + install -d "$pkgdir"/$appdir + cp -R "$builddir"/xExtension-$_pkgname "$pkgdir"/$appdir } - - -sha512sums="02dd7eb7e2bd9442e359d00b28ff84add2af13396bc27e2a0cdc4d12677ef60012db16a70826a8003efc1ac644947b6129e3a65632924a2bfde650cf1b9b6047 freshrss-mobilescrollmenu-0.2.tar.gz" +sha512sums=" +6da85a18d0b8f386e7faff7c907057f5b99925f95a723fcb6c05f9e70bcd028a2f0406ec92828c6cf1865274b0f8b8be841c7017460ba37848183c7f4738981c freshrss-mobilescrollmenu-d02b2cb89f5ad16a9ee10c8eac578ead21c8c91d.tar.gz +" diff --git a/user/freshrss-quickcollapse/APKBUILD b/user/freshrss-quickcollapse/APKBUILD new file mode 100644 index 0000000..6d38a4d --- /dev/null +++ b/user/freshrss-quickcollapse/APKBUILD @@ -0,0 +1,28 @@ +# Maintainer: Antoine Martin (ayakael) +# Contributor: Antoine Martin (ayakael) + +pkgname=freshrss-readingtime +_pkgname=QuickCollapse +pkgver=0.1 +pkgrel=0 +pkgdesc="Quickly change from folded to unfolded articles" +url="https://github.com/FreshRSS/Extensions" +arch="noarch" +license="MIT" +depends="freshrss" +_giturl="https://github.com/FreshRSS/Extensions" +_gittag="ad61438c3d26f312d85c7d9da2668c8816996939" +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=" +3b699098906a522599b06c6400d2ada2097c087a08ed1d1264b672c023c0766b76a832d903d92bfaa37738ad39578bb2b1f327b08d4626ea9bcbdb69528bb97f freshrss-readingtime-ad61438c3d26f312d85c7d9da2668c8816996939.tar.gz +" diff --git a/user/freshrss-readingtime/APKBUILD b/user/freshrss-readingtime/APKBUILD index 97a3c63..92786c8 100644 --- a/user/freshrss-readingtime/APKBUILD +++ b/user/freshrss-readingtime/APKBUILD @@ -1,49 +1,28 @@ -# Maintainer: Antoine Martin +# Maintainer: Antoine Martin (ayakael) +# Contributor: Antoine Martin (ayakael) + pkgname=freshrss-readingtime +_pkgname=ReadingTime pkgver=1.2 pkgrel=0 -pkgdesc="Add a reading time estimation next to each article." -url="https://framagit.org/Lapineige/FreshRSS_Extension-ReadingTime" +pkgdesc="Add a reading time estimation next to each article title" +url="https://github.com/FreshRSS/Extensions" arch="noarch" license="MIT" depends="freshrss" -makedepends="git" -source="$pkgname-$pkgver.tar.gz" -_giturl="https://framagit.org/Lapineige/FreshRSS_Extension-ReadingTime" -_gittag="29a744a8" -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 -} +_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() { - cd "$builddir" - mkdir -p "${pkgdir}/usr/share/webapps/freshrss/extensions" - cp -R "${pkgname}" "${pkgdir}/usr/share/webapps/freshrss/extensions/" + local appdir="/usr/share/webapps/${pkgname%%-*}/extensions" + install -d "$pkgdir"/$appdir + cp -R "$builddir"/xExtension-$_pkgname "$pkgdir"/$appdir } sha512sums=" -3553ccb978164faeda623864ca890815fb8276f3b4610941bf82c6a3abe4b86be76a5e33b99d708cccfa78e898604fe6e145b5e0166dc1a804601660200a02ce freshrss-readingtime-1.2.tar.gz +d75950862e6fd13074999abeedf5011706eceea2a8bd281d6d23ffbd01ba9aea2e04fe8d01b2d2bb6ad87b5081884fc805e7b2b91d872a585d82f5d8bc922739 freshrss-readingtime-210b867bbf5f5b164fcb727b3b63c5342e1cb252.tar.gz " diff --git a/user/freshrss-redditimage/APKBUILD b/user/freshrss-redditimage/APKBUILD index 6fc9a60..f703b08 100644 --- a/user/freshrss-redditimage/APKBUILD +++ b/user/freshrss-redditimage/APKBUILD @@ -1,50 +1,28 @@ -# Maintainer: Antoine Martin +# Maintainer: Antoine Martin (ayakael) +# Contributor: Antoine Martin (ayakael) + pkgname=freshrss-redditimage -pkgver=0.12.0 +_pkgname=RedditImage +pkgver=0.12.1 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" +_gittag="0a5dc951bcba85741acd0426c907a1efc12819cd" +source="$pkgname-$_gittag.tar.gz::$_giturl/archive/$_gittag.tar.gz" +options="!check" # No testsuite 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 -} +pkgusers="freshrss" +pkggroups="www-data" package() { - cd "$builddir" - mkdir -p "${pkgdir}/usr/share/webapps/freshrss/extensions/xExtension-RedditImage" - cp -R "${pkgname}/"* "${pkgdir}/usr/share/webapps/freshrss/extensions/xExtension-RedditImage" + local appdir="/usr/share/webapps/${pkgname%%-*}/extensions" + install -d "$pkgdir"/$appdir + cp -R "$builddir"/xExtension-$_pkgname-$_gittag "$pkgdir"/$appdir//xExtension-$_pkgname } - sha512sums=" -3bdcbbd13b2b3388e876404f836d63bf0176ee1ecdc55f9bd137f65b526674fbbd57a610ddcb2ef4098698c8a8f3a5809040ac54e56412dea1fe0733ef4cc32a v0.12.0.tar.gz +8bde0c3acc0331978c486782415b4c199dfc0b41132d3115f571f900c30dc22c997f298bc57d922e32ab71b79c33cc6c4ae5189334033c957c168df774846e6a freshrss-redditimage-0a5dc951bcba85741acd0426c907a1efc12819cd.tar.gz " diff --git a/user/freshrss-sharebyemail/APKBUILD b/user/freshrss-sharebyemail/APKBUILD new file mode 100644 index 0000000..276920f --- /dev/null +++ b/user/freshrss-sharebyemail/APKBUILD @@ -0,0 +1,28 @@ +# Maintainer: Antoine Martin (ayakael) +# Contributor: Antoine Martin (ayakael) + +pkgname=freshrss-sharebyemail +_pkgname=ShareByEmail +pkgver=0.1 +pkgrel=0 +pkgdesc="Improve the sharing by email system" +url="https://github.com/FreshRSS/Extensions" +arch="noarch" +license="MIT" +depends="freshrss" +_giturl="https://github.com/FreshRSS/Extensions" +_gittag="6934fc40f3ed4e44a9908e05ce8f4d2438bb3a5f" +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=" +53b8ebaa749db6871ced9933d23aefe4e1e4a168182c2421456978525564a2c2c163789b823f998a4836e4c7eb84afa2eb93e3699902bfccf123f4e017a7541f freshrss-sharebyemail-6934fc40f3ed4e44a9908e05ce8f4d2438bb3a5f.tar.gz +" diff --git a/user/freshrss-smartmobilemenu/APKBUILD b/user/freshrss-smartmobilemenu/APKBUILD index 8afff6d..d7b5a0a 100644 --- a/user/freshrss-smartmobilemenu/APKBUILD +++ b/user/freshrss-smartmobilemenu/APKBUILD @@ -1,5 +1,8 @@ -# Maintainer: Antoine Martin +# Maintainer: Antoine Martin (ayakael) +# Contributor: Antoine Martin (ayakael) + pkgname=freshrss-smartmobilemenu +_pkgname=SmartMobileMenu pkgver=0.1 pkgrel=0 pkgdesc="Minimizes the required button space and groups buttons" @@ -7,44 +10,20 @@ 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 -} +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() { - cd "$builddir" - mkdir -p "${pkgdir}/usr/share/webapps/freshrss/extensions" - cp -R "${pkgname}/xExtension-SmartMobileMenu" "${pkgdir}/usr/share/webapps/freshrss/extensions/" + local appdir="/usr/share/webapps/${pkgname%%-*}/extensions" + install -d "$pkgdir"/$appdir + cp -R "$builddir"/xExtension-$_pkgname "$pkgdir"/$appdir } - - -sha512sums="99444bd061479a3bc5cdb1ae8d32a64654d5211182d8ed49b35bf0d9a383a7cc539fc6d09a3726ec8b290de222771afbc4b869e2a37e397dc3c365f20436b41f freshrss-smartmobilemenu-0.1.tar.gz" +sha512sums=" +2ee381842a279c88b191ac19c3bffb52fb2d5be543c34578b6715d6db033abdefd630592086da0e4ac11fc10ec6ca5313f6c654a26ce61b80cf8543f47acff14 freshrss-smartmobilemenu-cb1503844f55fb5b07568ed98f601c547d1f1596.tar.gz +" diff --git a/user/freshrss-threepanesview/APKBUILD b/user/freshrss-threepanesview/APKBUILD index ffd1128..77fd6d5 100644 --- a/user/freshrss-threepanesview/APKBUILD +++ b/user/freshrss-threepanesview/APKBUILD @@ -1,5 +1,8 @@ -# Maintainer: Antoine Martin +# Maintainer: Antoine Martin (ayakael) +# Contributor: Antoine Martin (ayakael) + pkgname=freshrss-threepanesview +_pkgname=ThreePanesView pkgver=1.11 pkgrel=0 pkgdesc="Adds a third vertical pane along the articles list, to display the articles content" @@ -7,43 +10,20 @@ url="https://framagit.org/nicofrand/xextension-threepanesview" arch="noarch" license="MIT" depends="freshrss" -makedepends="git" -_gittag=d61fa8c94693b971198bead74b367dabc4bdda5b -source="https://framagit.org/nicofrand/xextension-threepanesview/-/archive/$_gittag/xextension-threepanesview-$_gittag.tar.gz" _giturl="https://framagit.org/nicofrand/xextension-threepanesview" -builddir="$srcdir/xextension-threepanesview-$_gittag" -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 -} +_gittag="d61fa8c94693b971198bead74b367dabc4bdda5b" +source="$pkgname-$_gittag.tar.gz::$_giturl/-/archive/$_gittag.tar.gz" +options="!check" # No testsuite +builddir="$srcdir" +pkgusers="freshrss" +pkggroups="www-data" package() { - mkdir -p "${pkgdir}/usr/share/webapps/freshrss/extensions/xExtension-ThreePanesView" - cp -R "$builddir" "${pkgdir}/usr/share/webapps/freshrss/extensions/xExtension-ThreePanesView" + local appdir="/usr/share/webapps/${pkgname%%-*}/extensions" + install -d "$pkgdir"/$appdir + cp -R "$builddir"/xextension-threepanesview-$_gittag "$pkgdir"/$appdir/xExtension-$_pkgname } sha512sums=" -2a0f9765670d499a0be7b38b2323b9abab20cc9f026259dd6b4fd3f7ae0366e70d9d95b2f38148093a4a1f7cfb10b03195e8fd857d3e28b908b6cbadcffb8b70 xextension-threepanesview-d61fa8c94693b971198bead74b367dabc4bdda5b.tar.gz +2a0f9765670d499a0be7b38b2323b9abab20cc9f026259dd6b4fd3f7ae0366e70d9d95b2f38148093a4a1f7cfb10b03195e8fd857d3e28b908b6cbadcffb8b70 freshrss-threepanesview-d61fa8c94693b971198bead74b367dabc4bdda5b.tar.gz " diff --git a/user/freshrss-titlewrap/APKBUILD b/user/freshrss-titlewrap/APKBUILD new file mode 100644 index 0000000..773163e --- /dev/null +++ b/user/freshrss-titlewrap/APKBUILD @@ -0,0 +1,28 @@ +# Maintainer: Antoine Martin (ayakael) +# Contributor: Antoine Martin (ayakael) + +pkgname=freshrss-titlewrap +_pkgname=TitleWrap +pkgver=0.1 +pkgrel=0 +pkgdesc="Applies a line-wrap to long article titles, as opposed to truncating the title when it overflows its display area" +url="https://github.com/FreshRSS/Extensions" +arch="noarch" +license="MIT" +depends="freshrss" +_giturl="https://github.com/FreshRSS/Extensions" +_gittag="8b50f74fd00a2619154c702f4136a71ff6a7862b" +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=" +5c9d0c025848565baee3f49b140326a651db9368e058399fbf752e9b2d96d250de36eac3abb63d42f65619e6cb8c63c471a088c1ad72804045302ba16967a085 freshrss-titlewrap-8b50f74fd00a2619154c702f4136a71ff6a7862b.tar.gz +" diff --git a/user/freshrss-touchcontrol/APKBUILD b/user/freshrss-touchcontrol/APKBUILD index d9f4eee..bd43b70 100644 --- a/user/freshrss-touchcontrol/APKBUILD +++ b/user/freshrss-touchcontrol/APKBUILD @@ -1,50 +1,29 @@ -# Maintainer: Antoine Martin +# Maintainer: Antoine Martin (ayakael) +# Contributor: Antoine Martin (ayakael) + pkgname=freshrss-touchcontrol +_pkgname=TouchControl pkgver=0.2 -pkgrel=1 +pkgrel=0 pkgdesc="Add touch gestures to FreshRSS." 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="d02b2cb89f5ad16a9ee10c8eac578ead21c8c91d" -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 -} +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() { - cd "$builddir" - mkdir -p "${pkgdir}/usr/share/webapps/freshrss/extensions" - cp -R "${pkgname}/xExtension-TouchControl" "${pkgdir}/usr/share/webapps/freshrss/extensions/" + local appdir="/usr/share/webapps/${pkgname%%-*}/extensions" + install -d "$pkgdir"/$appdir + cp -R "$builddir"/xExtension-$_pkgname "$pkgdir"/$appdir } - - -sha512sums="e471c2fe77ce9533eca6133a9fec1210e4c243daa7b624882b233643a31130e1507ed1465a95bea09a7ffd1e5aa23cf267090aab8656ae92841529077a501c14 freshrss-touchcontrol-0.2.tar.gz" +sha512sums=" +6da85a18d0b8f386e7faff7c907057f5b99925f95a723fcb6c05f9e70bcd028a2f0406ec92828c6cf1865274b0f8b8be841c7017460ba37848183c7f4738981c freshrss-touchcontrol-d02b2cb89f5ad16a9ee10c8eac578ead21c8c91d.tar.gz +" diff --git a/user/freshrss-ttrss-api/APKBUILD b/user/freshrss-ttrss-api/APKBUILD new file mode 100644 index 0000000..d97c356 --- /dev/null +++ b/user/freshrss-ttrss-api/APKBUILD @@ -0,0 +1,28 @@ +# Maintainer: Antoine Martin (ayakael) +# Contributor: Antoine Martin (ayakael) + +pkgname=freshrss-ttrss-api +_pkgname=TTRSS_API +pkgver=0.1 +pkgrel=0 +pkgdesc="Provides an API compliant with TinyTinyRSS applications" +url="https://github.com/FreshRSS/Extensions" +arch="noarch" +license="AGPL-3.0-only" +depends="freshrss" +_giturl="https://github.com/FreshRSS/Extensions" +_gittag="6ac80cbdb903a918c6c1f3665e074cb27cc929e3" +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=" +1a27cba4642689a606b37203e8d3e1d7d79a3ed52d6b40bbe8989a70cccfe6cd6beff85d29fc654b8f3e7f21a52de4ac08ac2c6ab02ac0d599ffa4c6c786596c freshrss-ttrss-api-6ac80cbdb903a918c6c1f3665e074cb27cc929e3.tar.gz +" diff --git a/user/freshrss-wallabag/APKBUILD b/user/freshrss-wallabag/APKBUILD index 45404b9..d362cd8 100644 --- a/user/freshrss-wallabag/APKBUILD +++ b/user/freshrss-wallabag/APKBUILD @@ -1,25 +1,28 @@ -# Maintainer: Antoine Martin +# Maintainer: Antoine Martin (ayakael) +# Contributor: Antoine Martin (ayakael) + pkgname=freshrss-wallabag +_pkgname=Wallabag pkgver=0.1 -pkgrel=2 +pkgrel=0 pkgdesc="This FreshRSS extension adds a button to each article which adds the respective article to your Wallabag installation." url="https://github.com/youknow0/freshrss-wallabag" arch="noarch" -license="GAGPL-3.0-only" +license="AGPL-3.0-only" depends="freshrss" -makedepends="git" -_gittag=fd71dc759dc8b8d0b6247a5e6a10a9832f117564 -source="https://codeload.github.com/youknow0/freshrss-wallabag/zip/$_gittag" +_giturl="https://github.com/gbossss/freshrss-wallabag" +_gittag="86de03d1c0e3b798fee4e795376fb0641c7e9318" +source="$pkgname-$_gittag.tar.gz::$_giturl/archive/$_gittag.tar.gz" +options="!check" # No testsuite builddir="$srcdir" -options="!check" - +pkgusers="freshrss" +pkggroups="www-data" package() { - cd "$builddir" - mkdir -p "${pkgdir}/usr/share/webapps/freshrss/extensions" - cp -R "${pkgname}" "${pkgdir}/usr/share/webapps/freshrss/extensions/" + local appdir="/usr/share/webapps/${pkgname%%-*}/extensions" + install -d "$pkgdir"/$appdir + cp -R "$builddir"/$pkgname-$_gittag "$pkgdir"/$appdir/xExtension-$_pkgname } - sha512sums=" -c64d3033108e9e2ea964ff5dad57f5b5b9adccecbd3d3eed779b408fe6418be74fb251090b503aaa106ed33ae133899ec4ec066bfa3a22dd33f8f5803acd4397 fd71dc759dc8b8d0b6247a5e6a10a9832f117564 +225df6635bf4a5239087f17e3e23409135434602302c1b07f23adf94b0a01bebeb9fd5c85d95d99cf63334ba62d4874d9e3dbd77e70f44e1467bcf7aab48be57 freshrss-wallabag-86de03d1c0e3b798fee4e795376fb0641c7e9318.tar.gz " diff --git a/user/freshrss-youtube/APKBUILD b/user/freshrss-youtube/APKBUILD index ed9aacb..30d2e0d 100644 --- a/user/freshrss-youtube/APKBUILD +++ b/user/freshrss-youtube/APKBUILD @@ -1,49 +1,28 @@ -# Maintainer: Antoine Martin +# Maintainer: Antoine Martin (ayakael) +# Contributor: Antoine Martin (ayakael) + pkgname=freshrss-youtube +_pkgname=YouTube pkgver=0.10.2 pkgrel=0 pkgdesc="Embed YouTube/PeerTube feeds inside article content." url="https://github.com/kevinpapst/freshrss-youtube" arch="noarch" -license="MIT" +license="GPL-3.0-only" depends="freshrss" -makedepends="git" -source="$pkgname-$pkgver.tar.gz::https://github.com/kevinpapst/freshrss-youtube/archive/refs/tags/$pkgver.tar.gz" _giturl="https://github.com/kevinpapst/freshrss-youtube" -_gittag="0.10.2" +_gittag="$pkgver" +source="$pkgname-$_gittag.tar.gz::$_giturl/archive/$_gittag.tar.gz" +options="!check" # No testsuite 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 -} +pkgusers="freshrss" +pkggroups="www-data" package() { - cd "$builddir" - mkdir -p "${pkgdir}/usr/share/webapps/freshrss/extensions" - cp -R "${pkgname}/xExtension-YouTube" "${pkgdir}/usr/share/webapps/freshrss/extensions/" + local appdir="/usr/share/webapps/${pkgname%%-*}/extensions" + install -d "$pkgdir"/$appdir + cp -R "$builddir"/$pkgname-$_gittag/xExtension-$_pkgname "$pkgdir"/$appdir } sha512sums=" -cb6330dee43f4c7494484ed8b49047d5ea619e2eee48dc8430b8f316b1642c5f05f65e900b86a9b4d228c223b805c7d8fc1147c3cc3006ad0196834a1340cff2 freshrss-youtube-0.10.2.tar.gz +3374dbbf71f803a7761191d8c6290d589a9d1900912fad16d6edc8d8defcf068bb94476083fdf8ec32999f6917ac632cdb8236e75785e096ca26a1e671c85dc3 freshrss-youtube-0.10.2.tar.gz " diff --git a/user/freshrss-youtubechannel2rssfeed/APKBUILD b/user/freshrss-youtubechannel2rssfeed/APKBUILD index a505a89..87ace8f 100644 --- a/user/freshrss-youtubechannel2rssfeed/APKBUILD +++ b/user/freshrss-youtubechannel2rssfeed/APKBUILD @@ -1,48 +1,29 @@ -# Maintainer: Antoine Martin +# Maintainer: Antoine Martin (ayakael) +# Contributor: Antoine Martin (ayakael) + pkgname=freshrss-youtubechannel2rssfeed -pkgver=0.2.1 +_pkgname=YouTubeChannel2RssFeed +pkgver=0.3 pkgrel=0 pkgdesc="Transfer YouTube Channel URL into RSS Feed URL." url="https://github.com/cn-tools/cntools_FreshRssExtensions" arch="noarch" license="MIT" depends="freshrss" -makedepends="git" -source="$pkgname-$pkgver.tar.gz" _giturl="https://github.com/cn-tools/cntools_FreshRssExtensions" -_gittag="92f2048a9a27b7fb18054caf31ecc84d271882a0" -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 -} +_gittag="44ffb1c6a7608ab9b156b73d8286953e306719b2" +source="$pkgname-$_gittag.tar.gz::$_giturl/archive/$_gittag.tar.gz" +options="!check" # No testsuite +builddir="$srcdir"/cntools_FreshRssExtensions-$_gittag +pkgusers="freshrss" +pkggroups="www-data" package() { - cd "$builddir" - mkdir -p "${pkgdir}/usr/share/webapps/freshrss/extensions" - cp -R "${pkgname}/xExtension-YouTubeChannel2RssFeed" "${pkgdir}/usr/share/webapps/freshrss/extensions/" + local appdir="/usr/share/webapps/${pkgname%%-*}/extensions" + install -d "$pkgdir"/$appdir + cp -R "$builddir"/xExtension-$_pkgname "$pkgdir"/$appdir } -sha512sums="100299ab4d9a52522dc08663157f4a0d0e95c5040fbc3ee495d2b0075c3de1b5acc741cfcb7b760767e5e701639ea41f0a85d1c2824c48f0011e3cb400781714 freshrss-youtubechannel2rssfeed-0.2.1.tar.gz" +sha512sums=" +596d8ada15a756dbb749df1277da1a1f725d3ce6e492eb196ec64616989b241209459fc81b69c6f73d38517943d8ba142572d84d86cefd195611ba12a388258e freshrss-youtubechannel2rssfeed-44ffb1c6a7608ab9b156b73d8286953e306719b2.tar.gz +" diff --git a/user/freshrss/APKBUILD b/user/freshrss/APKBUILD index 98bb967..5b863b6 100644 --- a/user/freshrss/APKBUILD +++ b/user/freshrss/APKBUILD @@ -1,31 +1,35 @@ -# Maintainer: Antoine Martin +# Maintainer: Antoine Martin (ayakael) +# Contributor: Antoine Martin (ayakael) -pkgname=freshrss -pkgver=1.18.1 +pkgname=freshrss +pkgver=1.20.0 pkgrel=0 pkgdesc="FreshRSS is a self-hosted RSS feed aggregator" -arch='noarch' +arch="noarch" url="http://freshrss.org" -license='AGPL' -depends='nginx php7 php7-fileinfo php7-curl php7-dom php7-xml php7-session php7-ctype php7-pdo_mysql php7-json php7-gmp php7-intl php7-mbstring php7-iconv php7-zip php7-zlib' -source="https://github.com/FreshRSS/FreshRSS/archive/${pkgver}.zip" -builddir="${srcdir}/FreshRSS-${pkgver}" -options='!check' - -build() { - return 0 -} +license="AGPL-3.0-only" +_php=php81 +_php_mods="-ctype -curl -dom -fileinfo -gmp -iconv -intl -json -mbstring + -openssl -phar -session -simplexml -tokenizer -xml -xmlreader -xmlwriter + -zip -zlib" +depends="$_php ${_php_mods//-/$_php-}" +source="$pkgname-$pkgver.tar.gz::https://github.com/FreshRSS/FreshRSS/archive/$pkgver.tar.gz" +builddir="$srcdir/FreshRSS-$pkgver" +options='!check' # No testsuite +pkgusers="freshrss" +pkggroups="www-data" package() { - cd ${builddir} - install -d "${pkgdir}/usr/share/webapps/${pkgname}" - mkdir -p "${pkgdir}/var/lib/freshrss" - cp -r ./data/. "${pkgdir}/var/lib/${pkgname}/" - cp -r . "${pkgdir}/usr/share/webapps/${pkgname}/" - rm -R "${pkgdir}/usr/share/webapps/${pkgname}/data" - ln -s "/var/lib/freshrss" "${pkgdir}/usr/share/webapps/${pkgname}/data" - chown 100:101 -R "${pkgdir}/usr/share/webapps/${pkgname}/data" + local datadir="/var/lib/$pkgname" + local wwwdir="/usr/share/webapps/$pkgname" + local confdir="/etc/$pkgname" + + install -d "$pkgdir"/$datadir "$pkgdir"/$wwwdir "$pkgdir"/$confdir + cp -r "$builddir"/. "$pkgdir"/$wwwdir + mv "$pkgdir"/$wwwdir/data "$pkgdir"/$datadir + ln -s "/var/lib/freshrss" "$pkgdir"/$wwwdir/data } - -sha512sums="d18bca33c6c4626806bc027111aa1da126e4198dcba27e276c1c1c17a9cc27bfac83a3b4d2bc0644721a3b905b6b239cbac734ec2c052974785258103cabd741 1.18.1.zip" +sha512sums=" +335bc471950ac150ee3e1a56504ce6111c29497ec1bc5d5eb44b263a8b8aadb701c20ad56578caacc4493ce70dfd8c6f88ff0cec87a9542d444b6a0648fe8561 freshrss-1.20.0.tar.gz +"