updated on Tue Jan 10 04:01:21 UTC 2012
[aur-mirror.git] / automatic / PKGBUILD
blobde7a3315366c65c8a531e327d7d98a90552cc074
1 # Contributor: Matias De la Puente <mfpuente.ar@gmail.com>
2 pkgname=automatic
3 pkgver=0.7.0
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=('a33a747142ae558e163f5ba79f2030446a9f14723e64dd1017088c70b4b92e5c'
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"