updated on Sun Jan 22 20:01:29 UTC 2012
[aur-mirror.git] / swarmtv / PKGBUILD
blobc07a10789c6917014e49df38707cc26d76612224
1 # Maintainer: Juho Rutila <juho.rutila@gmail.com>
2 pkgname=swarmtv
3 pkgver=0.9.2
4 pkgrel=1
5 epoch=
6 pkgdesc="SwarmTv is a broadcatching tool with a stable commandline interface. "
7 arch=('x86_64')
8 url="http://swarmtv.nl/"
9 license=('GPLv3')
10 groups=()
11 depends=(sqlite3 pcre curl libxml2 libesmtp)
12 makedepends=()
13 checkdepends=()
14 optdepends=()
15 provides=()
16 conflicts=()
17 replaces=()
18 backup=()
19 options=()
20 install=swarmtv.install
21 changelog=
22 source=(http://swarmtv.nl/download/$pkgname-$pkgver.tar.gz
23 databaseimpl-rsst_dir.diff
24 swarmtv.install
25 swarmtv.rc
27 noextract=()
28 md5sums=('09c28b519e7a56c9eef8a99924b83255'
29          'af08bbc15bd2da68bc849bbd4ede7d43'
30          'd5c38b38ecf3f5ef7f4d4b02045253e9'
31          '10d0aba6693004b61effeed9ef9633bc')
33 build() {
34   cd "$srcdir/$pkgname-$pkgver"
35   patch -uN libswarmtv/databaseimpl.h ../databaseimpl-rsst_dir.diff || return 1
36   cmake -DCMAKE_INSTALL_PREFIX=/usr .
37   make swarmtv
40 package() {
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: