1 # Maintainer: Juho Rutila <juho.rutila@gmail.com>
6 pkgdesc="SwarmTv is a broadcatching tool with a stable commandline interface. "
8 url="http://swarmtv.nl/"
11 depends=(sqlite3 pcre curl libxml2 libesmtp)
20 install=swarmtv.install
22 source=(http://swarmtv.nl/download/$pkgname-$pkgver.tar.gz
23 databaseimpl-rsst_dir.diff
28 md5sums=('09c28b519e7a56c9eef8a99924b83255'
29 'af08bbc15bd2da68bc849bbd4ede7d43'
30 'd5c38b38ecf3f5ef7f4d4b02045253e9'
31 '10d0aba6693004b61effeed9ef9633bc')
34 cd "$srcdir/$pkgname-$pkgver"
35 patch -uN libswarmtv/databaseimpl.h ../databaseimpl-rsst_dir.diff || return 1
36 cmake -DCMAKE_INSTALL_PREFIX=/usr .
41 install -Dm755 swarmtv.rc $pkgdir/etc/rc.d/swarmtv
42 cd "$srcdir/$pkgname-$pkgver"
43 make DESTDIR="$pkgdir/" install
44 mkdir -p $pkgdir/var/lib/swarmtv
47 # vim:set ts=2 sw=2 et: