summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 44b0cd964d5b7b71ea0da27cf8eb62511e7ff409 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# itsol!
pkgname=tt-rss-videoframes-git
_gitname=ttrss-videoframes
pkgver=v0.3.31.g58bcc5a
pkgrel=1
pkgdesc="TT-RSS plugin to enable embedded videos in feeds"
arch=('any')
url="https://github.com/tribut/ttrss-videoframes"
license=('GPL3')
depends=('tt-rss')
makedepends=('git')
provides=('tt-rss-videoframes')
conflicts=('tt-rss-videoframes')
source=('git+https://github.com/tribut/ttrss-videoframes.git')
md5sums=('SKIP') #generate with 'makepkg -g'

pkgver() {
  cd "$_gitname"
  git describe --always | sed 's|-|.|g'
}

package() {
  cd "$_gitname"
  install -d -m755 "$pkgdir/usr/share/webapps/tt-rss/plugins/videoframes/"
  install -D -m644 videoframes/init.php "$pkgdir/usr/share/webapps/tt-rss/plugins/videoframes/"
}

# vim:set ts=2 sw=2 et: