[arch-commits] Commit in tt-rss/repos (4 files)
Bartłomiej Piotrowski
bpiotrowski at nymeria.archlinux.org
Tue May 28 15:45:48 UTC 2013
Date: Tuesday, May 28, 2013 @ 17:45:47
Author: bpiotrowski
Revision: 91824
archrelease: copy trunk to community-any
Added:
tt-rss/repos/community-any/
tt-rss/repos/community-any/PKGBUILD
(from rev 91823, tt-rss/trunk/PKGBUILD)
tt-rss/repos/community-any/service
(from rev 91823, tt-rss/trunk/service)
tt-rss/repos/community-any/tt-rss.install
(from rev 91823, tt-rss/trunk/tt-rss.install)
----------------+
PKGBUILD | 42 ++++++++++++++++++++++++++++++++++++++++++
service | 13 +++++++++++++
tt-rss.install | 4 ++++
3 files changed, 59 insertions(+)
Copied: tt-rss/repos/community-any/PKGBUILD (from rev 91823, tt-rss/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD (rev 0)
+++ community-any/PKGBUILD 2013-05-28 15:45:47 UTC (rev 91824)
@@ -0,0 +1,42 @@
+# $Id$
+# Maintainer: Bartłomiej Piotrowski <nospam at bpiotrowski.pl>
+# 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=1.7.9
+pkgrel=1
+pkgdesc='Web-based news feed (RSS/Atom) aggregator'
+arch=('any')
+url='http://tt-rss.org/redmine/'
+license=('GPL')
+depends=('php')
+optdepends=('mysql' 'postgresql' 'php-curl')
+install=tt-rss.install
+source=(https://github.com/gothfox/Tiny-Tiny-RSS/archive/$pkgver.tar.gz
+ service)
+sha256sums=('972f0f8a1033f076093ad6ff6480a0c32166bddeec217c5176da19afd021e3ff'
+ '41309d75318b32a6a8152c36cbc8431a9173b58ca98f0b73d09b1d2242000737')
+
+package() {
+ cd Tiny-Tiny-RSS-$pkgver
+ _instdir="$pkgdir"/usr/share/webapps/$pkgname
+
+ install -d "$_instdir"
+ cp -ra * "$_instdir/"
+ rm -rf "$_instdir"/debian
+
+ install -d "$pkgdir"/etc/webapps/tt-rss
+ install -gm640 -g http config.php-dist "$pkgdir"/etc/webapps/tt-rss/config.php-dist
+ 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
+
+ install -Dm644 "$srcdir"/service "$pkgdir"/usr/lib/systemd/system/tt-rss.service
+}
Copied: tt-rss/repos/community-any/service (from rev 91823, tt-rss/trunk/service)
===================================================================
--- community-any/service (rev 0)
+++ community-any/service 2013-05-28 15:45:47 UTC (rev 91824)
@@ -0,0 +1,13 @@
+[Unit]
+Description=Tiny Tiny RSS feeds update daemon
+After=network.target
+After=mysqld.service
+After=postgresql.service
+
+[Service]
+ExecStart=/usr/bin/php /usr/share/webapps/tt-rss/update.php --daemon
+User=http
+StandardOutput=syslog
+
+[Install]
+WantedBy=multi-user.target
Copied: tt-rss/repos/community-any/tt-rss.install (from rev 91823, tt-rss/trunk/tt-rss.install)
===================================================================
--- community-any/tt-rss.install (rev 0)
+++ community-any/tt-rss.install 2013-05-28 15:45:47 UTC (rev 91824)
@@ -0,0 +1,4 @@
+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