[arch-commits] Commit in tt-rss/trunk (PKGBUILD tt-rss.install)
Anatol Pomozov
anatolik at archlinux.org
Sat Jul 18 22:34:47 UTC 2015
Date: Sunday, July 19, 2015 @ 00:34:47
Author: anatolik
Revision: 137106
tt-rss is not going to use periodic releases anymore. Switch to git based source repository.
Modified:
tt-rss/trunk/PKGBUILD
tt-rss/trunk/tt-rss.install
----------------+
PKGBUILD | 16 ++++++++++++----
tt-rss.install | 1 -
2 files changed, 12 insertions(+), 5 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2015-07-18 21:43:29 UTC (rev 137105)
+++ PKGBUILD 2015-07-18 22:34:47 UTC (rev 137106)
@@ -5,7 +5,7 @@
# Contributor: Erik Mank <erik at braindisorder.org>
pkgname=tt-rss
-pkgver=1.15.3
+pkgver=1.15.3.r257
pkgrel=1
pkgdesc='Web-based news feed (RSS/Atom) aggregator'
arch=('any')
@@ -15,14 +15,22 @@
optdepends=('mysql'
'postgresql'
'php-gd: for coloured feed badges')
+makedepends=('git')
install=tt-rss.install
-source=($pkgname-$pkgver.tar.gz::https://github.com/gothfox/Tiny-Tiny-RSS/archive/$pkgver.tar.gz
+_commit=2caeb0f875d78aee4aa55
+# periodic releases are over https://tt-rss.org/forum/viewtopic.php?f=10&t=3262
+source=(git://github.com/gothfox/Tiny-Tiny-RSS#commit=$_commit
service)
-md5sums=('08b56d8f83fcd2a9abb9a331b9864b11'
+md5sums=('SKIP'
'cb9900413dd53d44a5ed1116c962dbcb')
+pkgver() {
+ cd Tiny-Tiny-RSS
+ git describe --tags | sed 's/\([^-]*\)-g.*/r\1/;s/-/./g'
+}
+
package() {
- cd Tiny-Tiny-RSS-$pkgver
+ cd Tiny-Tiny-RSS
_instdir="$pkgdir"/usr/share/webapps/$pkgname
install -d "$_instdir"
Modified: tt-rss.install
===================================================================
--- tt-rss.install 2015-07-18 21:43:29 UTC (rev 137105)
+++ tt-rss.install 2015-07-18 22:34:47 UTC (rev 137106)
@@ -1,4 +1,3 @@
post_upgrade() {
echo "===> Update config.php with new configuration data from config.php-dist if necessary."
- echo " Update CONFIG_VERSION to the new version afterwards."
}
More information about the arch-commits
mailing list