[arch-commits] Commit in tt-rss/repos/community-any (5 files)
Anatol Pomozov
anatolik at archlinux.org
Fri Sep 4 04:12:38 UTC 2015
Date: Friday, September 4, 2015 @ 06:12:37
Author: anatolik
Revision: 139183
archrelease: copy trunk to community-any
Added:
tt-rss/repos/community-any/PKGBUILD
(from rev 139182, tt-rss/trunk/PKGBUILD)
tt-rss/repos/community-any/service
(from rev 139182, tt-rss/trunk/service)
Deleted:
tt-rss/repos/community-any/PKGBUILD
tt-rss/repos/community-any/service
tt-rss/repos/community-any/tt-rss.install
----------------+
PKGBUILD | 105 +++++++++++++++++++++++++++----------------------------
service | 24 ++++++------
tt-rss.install | 3 -
3 files changed, 64 insertions(+), 68 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2015-09-04 04:11:12 UTC (rev 139182)
+++ PKGBUILD 2015-09-04 04:12:37 UTC (rev 139183)
@@ -1,53 +0,0 @@
-# $Id$
-# Maintainer: 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=1.15.3.r257
-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-gd: for coloured feed badges')
-makedepends=('git')
-install=tt-rss.install
-_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=('SKIP'
- 'cb9900413dd53d44a5ed1116c962dbcb')
-
-pkgver() {
- cd Tiny-Tiny-RSS
- git describe --tags | sed 's/\([^-]*\)-g.*/r\1/;s/-/./g'
-}
-
-package() {
- cd Tiny-Tiny-RSS
- _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
- 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-any/PKGBUILD (from rev 139182, tt-rss/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2015-09-04 04:12:37 UTC (rev 139183)
@@ -0,0 +1,52 @@
+# $Id$
+# Maintainer: 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=r7810
+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=b717c65e4e1b636370cf1a9df613a46e272d6f6d
+# periodic releases are over https://tt-rss.org/forum/viewtopic.php?f=10&t=3262
+source=(git+https://tt-rss.org/git/tt-rss.git#commit=$_commit
+ service)
+sha1sums=('SKIP'
+ 'e3277cd1d717e7803cdc41a0275dcc7c188ef8db')
+
+pkgver() {
+ cd tt-rss
+ echo r$(git rev-list --count HEAD)
+}
+
+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
+}
Deleted: service
===================================================================
--- service 2015-09-04 04:11:12 UTC (rev 139182)
+++ service 2015-09-04 04:12:37 UTC (rev 139183)
@@ -1,12 +0,0 @@
-[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
Copied: tt-rss/repos/community-any/service (from rev 139182, tt-rss/trunk/service)
===================================================================
--- service (rev 0)
+++ service 2015-09-04 04:12:37 UTC (rev 139183)
@@ -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
Deleted: tt-rss.install
===================================================================
--- tt-rss.install 2015-09-04 04:11:12 UTC (rev 139182)
+++ tt-rss.install 2015-09-04 04:12:37 UTC (rev 139183)
@@ -1,3 +0,0 @@
-post_upgrade() {
- echo "===> Update config.php with new configuration data from config.php-dist if necessary."
-}
More information about the arch-commits
mailing list