summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 982493597e3c063ed5573044b6fd253696340b48 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Maintainer: Hans-Nikolai Viessmann <hv15 AT hw.ac.uk>
# Contributor: Guten Ye

_pkgname='autodl-rutorrent-community'
_installdir='usr/share/webapps/rutorrent/plugins/autodl-irssi'
pkgname='rutorrent-autodl-irssi-community'
pkgver=2.0.0
pkgrel=1
pkgdesc='Community fork of the autodl-irssi rutorrent plugin.'
arch=('any')
url='https://github.com/autodl-community/autodl-rutorrent'
license=('MPL')
install='rutorrent-autodl-irssi-community.install'
depends=('rutorrent' 'autodl-irssi-community>=2.0.0')
provides=('rutorrent-autodl-irssi')
replaces=('rutorrent-autodl-irssi-svn')
conflicts=('rutorrent-autodl-irssi-svn')
backup=("${_installdir}/conf.php")
source=("https://github.com/autodl-community/autodl-rutorrent/archive/community-v${pkgver}.tar.gz")
md5sums=('766f092b272a57aa4cb308db551a963a')

build() {
  cd "$srcdir/$_pkgname-v$pkgver"
  mv _conf.php conf.php
}

package() {
  cd "$srcdir/$_pkgname-v$pkgver"

  install -dm755 "$pkgdir/$_installdir"
  cp -r * "$pkgdir/$_installdir"
}

# vim:set ts=2 sw=2 et: