updated on Wed Jan 11 00:07:16 UTC 2012
[aur-mirror.git] / automatic / PKGBUILD
blob761c6aa593f152cf7b1dddb3b020b61426f750f0
1 # Contributor: Matias De la Puente <mfpuente.ar@gmail.com>
2 pkgname=automatic
3 pkgver=0.7.1
4 pkgrel=1
5 pkgdesc="RSS downloader for Linux based systems, capable of adding downloaded torrents directly to Transmission"
6 arch=('i686' 'x86_64')
7 url="http://kylek.is-a-geek.org:31337/Automatic/"
8 license=('GPLv2')
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
13         automaticd.rc
14         automaticd.conf)
15 sha256sums=('7bfc5c9da80030b12a19f2b9b72dd3b9d7cc6f576ee6b3c37b7c747a23ebac8e'
16             '6830dd6b19d233c3d7a7b83ead466b0ea2cb23ee88cd15d5aeffa50716c02d9e'
17             'ed4cdf8ef72840fdb57b7670d114372bb68153cdfae731d1102687b568a71940')
19 build() {
20   cd "$srcdir/$pkgname-$pkgver"
22   ./configure --prefix=/usr
23   make
26 package () {
27   cd "$srcdir/$pkgname-$pkgver"
28   
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"