Advertisement
Guest User

Untitled

a guest
Jun 6th, 2012
251
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.24 KB | None | 0 0
  1. # Contributor: David Rosenstrauch <darose@darose.net>
  2. # Contributor: Erik Mank <erik@braindisorder.org>
  3. # Maintainer: Clément Démoulins <clement@archivel.fr>
  4.  
  5. pkgname=tt-rss
  6. pkgver=1.5.11
  7. pkgrel=1
  8. 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."
  9. arch=('any')
  10. url="http://tt-rss.org/redmine/"
  11. license=('GPL')
  12. depends=('php')
  13. optdepends=('apache' 'mysql' 'postgresql' 'php-curl')
  14. backup=()
  15. install=tt-rss.install
  16.  
  17. source=(http://tt-rss.org/download/$pkgname-$pkgver.tar.gz tt-rss-updated.rc output.diff)
  18. md5sums=('970c7181828533bc1a83f0725324308c'
  19. '162188e3206f2fe337a9d7090b28246b'
  20. 'e90ac3a19e28e97ceffc747a72d29d3f')
  21.  
  22. package() {
  23. cd "$srcdir/$pkgname-$pkgver"
  24. _instdir=${pkgdir}/usr/share/webapps/${pkgname}
  25.  
  26. patch -p1 < ../output.diff
  27. # install tt-rss
  28. mkdir -p ${_instdir}
  29. cp -ra * ${_instdir}/
  30. rm -rf ${_instdir}/debian
  31.  
  32. # add a daemon
  33. install -D -m755 ${srcdir}/tt-rss-updated.rc ${pkgdir}/etc/rc.d/tt-rss-updated
  34.  
  35. # make several directories writable by http user
  36. chown -R http:root ${_instdir}/{lock,feed-icons,cache}
  37. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement