summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: c94ee643732073a458dafda31345e372195ab5bb (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
# Added to AUR4: GI_Jack <iamjacksemail@hackermail.com>
# Contributor: Jens Pranaitis <jens@chaox.net>
pkgname=evilgrade
pkgver=2.0.9
pkgrel=4
pkgdesc="Modular framework that takes advantage of poor upgrade implementations by injecting fake updates"
arch=("i686" "x86_64")
url="https://github.com/infobyte/evilgrade"
license=('GPL')
depends=('perl-data-dump'
	'perl-io-socket-ssl'
	'perl-time-hires'
	'perl-digest-md5'
	'perl-digest-sha1')

source=("${pkgname}-${pkgver}.tar.gz::https://github.com/infobyte/evilgrade/archive/v${pkgver}.tar.gz"
        "$pkgname")

sha256sums=('65840e21a7f5c2c62e2af87b28b2a713d89ede977aa9c5a82fb264b03fb06357'
            '2f5a693b909037a6b670b8b403d28674b793596df4215b0face0ed32fbd29bf5')
package() {
 cd "$srcdir/${pkgname}-${pkgver}"
 mkdir -p "$pkgdir"/usr/share/$pkgname/
 cp -r {agent,evilgrade,include,isrcore,modules} "$pkgdir"/usr/share/$pkgname/ || return 1
 for doc in docs/{AUTHOR,CHANGES,CONTRIBUTORS,FILES,README}
 do
 doc=$(basename $doc)
 install -Dm644 docs/$doc "$pkgdir"/usr/share/doc/$pkgname/$doc || return 1
 done
 install -Dm755 "$srcdir"/$pkgname "$pkgdir"/usr/bin/$pkgname
}