Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Contributor: David Rosenstrauch <darose@darose.net>
- # Contributor: Erik Mank <erik@braindisorder.org>
- # Maintainer: Clément Démoulins <clement@archivel.fr>
- pkgname=tt-rss
- pkgver=1.5.11
- pkgrel=1
- pkgdesc="Tiny Tiny RSS is an open source web-based news feed (RSS/Atom) aggregator, designed to allow you to read news from any location, while feeling as close to a real desktop application as possible."
- arch=('any')
- url="http://tt-rss.org/redmine/"
- license=('GPL')
- depends=('php')
- optdepends=('apache' 'mysql' 'postgresql' 'php-curl')
- backup=()
- install=tt-rss.install
- source=(http://tt-rss.org/download/$pkgname-$pkgver.tar.gz tt-rss-updated.rc output.diff)
- md5sums=('970c7181828533bc1a83f0725324308c'
- '162188e3206f2fe337a9d7090b28246b'
- 'e90ac3a19e28e97ceffc747a72d29d3f')
- package() {
- cd "$srcdir/$pkgname-$pkgver"
- _instdir=${pkgdir}/usr/share/webapps/${pkgname}
- patch -p1 < ../output.diff
- # install tt-rss
- mkdir -p ${_instdir}
- cp -ra * ${_instdir}/
- rm -rf ${_instdir}/debian
- # add a daemon
- install -D -m755 ${srcdir}/tt-rss-updated.rc ${pkgdir}/etc/rc.d/tt-rss-updated
- # make several directories writable by http user
- chown -R http:root ${_instdir}/{lock,feed-icons,cache}
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement