1 # Contributor: Matias De la Puente <mfpuente.ar@gmail.com>
5 pkgdesc="RSS downloader for Linux based systems, capable of adding downloaded torrents directly to Transmission"
7 url="http://kylek.is-a-geek.org:31337/Automatic/"
9 depends=('curl' 'libxml2' 'pcre')
10 optdepends=('transmission-cli')
11 backup=('etc/conf.d/automaticd')
12 source=(http://kylek.is-a-geek.org:31337/files/$pkgname-$pkgver-src.tar.gz
15 sha256sums=('7bfc5c9da80030b12a19f2b9b72dd3b9d7cc6f576ee6b3c37b7c747a23ebac8e'
16 '6830dd6b19d233c3d7a7b83ead466b0ea2cb23ee88cd15d5aeffa50716c02d9e'
17 'ed4cdf8ef72840fdb57b7670d114372bb68153cdfae731d1102687b568a71940')
20 cd "$srcdir/$pkgname-$pkgver"
22 ./configure --prefix=/usr
27 cd "$srcdir/$pkgname-$pkgver"
29 make DESTDIR="$pkgdir/" install
30 install -d "$pkgdir/etc/rc.d"
31 install -m755 "$srcdir/automaticd.rc" "$pkgdir/etc/rc.d/automaticd"
32 install -D -m644 "$srcdir/automaticd.conf" "$pkgdir/etc/conf.d/automaticd"