updated on Mon Jan 23 12:00:23 UTC 2012
[aur-mirror.git] / evilgrade / PKGBUILD
blob8f8368ed80dce6bacb4437ba5d05dfbbfca7414c
1 # Contributor: Jens Pranaitis <jens@chaox.net>
2 pkgname=evilgrade
3 pkgver=2.0.0
4 pkgrel=4
5 pkgdesc="Modular framework that takes advantage of poor upgrade implementations by injecting fake updates"
6 arch=("i686" "x86_64")
7 url="http://www.infobyte.com.ar/developments.html"
8 license=('GPL')
9 depends=(       'perl-data-dump'
10                 'perl-io-socket-ssl'
11                 'perl-time-hires'
12                 'perl-digest-md5'
13                 'perl-digest-sha1'
16 source=("http://www.infobyte.com.ar/down/isr-$pkgname-$pkgver.tar.gz"
17         "$pkgname")
18 md5sums=('eea56454613528ea4cf28f916e2eacb2'
19          '9887bc389768f4171e8e4828b03b0b19')
20 build() {
21  cd "$srcdir/isr-$pkgname"
22  mkdir -p "$pkgdir"/usr/share/$pkgname/
23  cp -r {agent,evilgrade,include,isrcore,modules} "$pkgdir"/usr/share/$pkgname/ || return 1
24  for doc in docs/{AUTHOR,CHANGES,CONTRIBUTORS,FILES,README}
25  do
26  doc=$(basename $doc)
27  install -Dm644 docs/$doc "$pkgdir"/usr/share/doc/$pkgname/$doc || return 1
28  done
29  install -Dm755 "$srcdir"/$pkgname "$pkgdir"/usr/bin/$pkgname