[arch-commits] Commit in tt-rss/repos (3 files)

Anatol Pomozov anatolik at archlinux.org
Mon Aug 20 18:25:30 UTC 2018


    Date: Monday, August 20, 2018 @ 18:25:29
  Author: anatolik
Revision: 372885

archrelease: copy trunk to community-testing-any

Added:
  tt-rss/repos/community-testing-any/
  tt-rss/repos/community-testing-any/PKGBUILD
    (from rev 372884, tt-rss/trunk/PKGBUILD)
  tt-rss/repos/community-testing-any/service
    (from rev 372884, tt-rss/trunk/service)

----------+
 PKGBUILD |   53 +++++++++++++++++++++++++++++++++++++++++++++++++++++
 service  |   12 ++++++++++++
 2 files changed, 65 insertions(+)

Copied: tt-rss/repos/community-testing-any/PKGBUILD (from rev 372884, tt-rss/trunk/PKGBUILD)
===================================================================
--- community-testing-any/PKGBUILD	                        (rev 0)
+++ community-testing-any/PKGBUILD	2018-08-20 18:25:29 UTC (rev 372885)
@@ -0,0 +1,53 @@
+# $Id$
+# Maintainer:  Anatol Pomozov <anatol at archlinux.org>
+# Contributor: Bartłomiej Piotrowski <bpiotrowski at archlinux.org>
+# Contributor: Clément Démoulins <clement at archivel.fr>
+# Contributor: David Rosenstrauch <darose at darose.net>
+# Contributor: Erik Mank <erik at braindisorder.org>
+
+pkgname=tt-rss
+pkgver=17.4.r518.g02bb26a9
+pkgrel=1
+epoch=1
+pkgdesc='Web-based news feed (RSS/Atom) aggregator'
+arch=(any)
+url='http://tt-rss.org'
+license=(GPL)
+backup=(etc/webapps/tt-rss/config.php)
+depends=(php)
+optdepends=('mysql'
+            'postgresql'
+            'php-gd: for coloured feed badges')
+makedepends=('git')
+_commit=02bb26a93ff5b60e7bc3236ef3f62c818d32bd12
+# periodic releases are over https://tt-rss.org/forum/viewtopic.php?f=10&t=3262
+source=(git+https://tt-rss.org/gitlab/fox/tt-rss.git#commit=$_commit
+        service)
+sha1sums=('SKIP'
+          'e3277cd1d717e7803cdc41a0275dcc7c188ef8db')
+
+pkgver() {
+  cd tt-rss
+  git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
+}
+
+package() {
+  cd tt-rss
+  _instdir="$pkgdir"/usr/share/webapps/$pkgname
+
+  install -d "$_instdir"
+  cp -ra * "$_instdir/"
+
+  install -Dm640 -g http config.php-dist "$pkgdir"/etc/webapps/tt-rss/config.php
+  ln -s /etc/webapps/tt-rss/config.php "$_instdir"/config.php
+
+  install -d "$pkgdir"/var/lib/tt-rss
+  mv "$_instdir"/{lock,feed-icons,cache} "$pkgdir"/var/lib/tt-rss
+  ln -s /var/lib/tt-rss/lock "$_instdir"/lock
+  ln -s /var/lib/tt-rss/feed-icons "$_instdir"/feed-icons
+  ln -s /var/lib/tt-rss/cache "$_instdir"/cache
+  chown -R 33:33 "$pkgdir"/var/lib/tt-rss
+  chmod -R 777 "$pkgdir"/var/lib/tt-rss/*
+
+  install -Dm644 "$srcdir"/service "$pkgdir"/usr/lib/systemd/system/tt-rss.service
+}

Copied: tt-rss/repos/community-testing-any/service (from rev 372884, tt-rss/trunk/service)
===================================================================
--- community-testing-any/service	                        (rev 0)
+++ community-testing-any/service	2018-08-20 18:25:29 UTC (rev 372885)
@@ -0,0 +1,12 @@
+[Unit]
+Description=Tiny Tiny RSS feeds update daemon
+After=network.target mysqld.service postgresql.service
+
+[Service]
+ExecStart=/usr/bin/php /usr/share/webapps/tt-rss/update.php --daemon
+User=http
+StandardOutput=null
+StandardError=syslog
+
+[Install]
+WantedBy=multi-user.target



More information about the arch-commits mailing list