[arch-commits] Commit in (6 files)
Bartłomiej Piotrowski
bpiotrowski at nymeria.archlinux.org
Tue May 28 15:44:07 UTC 2013
Date: Tuesday, May 28, 2013 @ 17:44:07
Author: bpiotrowski
Revision: 91823
newpkg: tt-rss 1.7.9-1
Added:
tt-rss/
tt-rss/repos/
tt-rss/trunk/
tt-rss/trunk/PKGBUILD
tt-rss/trunk/service
tt-rss/trunk/tt-rss.install
----------------+
PKGBUILD | 42 ++++++++++++++++++++++++++++++++++++++++++
service | 13 +++++++++++++
tt-rss.install | 4 ++++
3 files changed, 59 insertions(+)
Added: tt-rss/trunk/PKGBUILD
===================================================================
--- tt-rss/trunk/PKGBUILD (rev 0)
+++ tt-rss/trunk/PKGBUILD 2013-05-28 15:44:07 UTC (rev 91823)
@@ -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
+}
Property changes on: tt-rss/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
Added: tt-rss/trunk/service
===================================================================
--- tt-rss/trunk/service (rev 0)
+++ tt-rss/trunk/service 2013-05-28 15:44:07 UTC (rev 91823)
@@ -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
Added: tt-rss/trunk/tt-rss.install
===================================================================
--- tt-rss/trunk/tt-rss.install (rev 0)
+++ tt-rss/trunk/tt-rss.install 2013-05-28 15:44:07 UTC (rev 91823)
@@ -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