summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 37dc9ee3802367949670b6a4fe64a4ecd54c7ed0 (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
# Package Imported from ArchStrike <team@archstrike.org>
# Maintainer in AUR: GI_Jack <GI_Jack@hackermail.com>

pkgname=mutator
pkgver=0.2.2
pkgrel=1
pkgdesc="This project aims to be a wordlist mutation with hormones"
url="https://bitbucket.org/alone/mutator"
arch=('x86_64' 'i686' 'arm6vh' 'arm7vh' 'aarch64')
license=('GPL3')
depends=('glibc')
source=("https://bitbucket.org/alone/mutator/downloads/mutator_release-v$pkgver-1-gc29ce2b.tar.gz")
sha512sums=('f3a3f27bb2c5090e27e6c72f0585f60d91e66cd7f95b105aa54789a3bec3faadb27876310c0b29ff4f61c4344e26ad21deaabab6a2625f2b1fa2d63dabc687f2')

build(){
  cd "$srcdir/mutator"
  make
}

package() {
  cd "$srcdir/mutator"

  #Base directories
  install -dm755 "$pkgdir/usr/bin/"
  install -dm755 "$pkgdir/usr/share/$pkgname"

  #Docs
  install -m644 README "$pkgdir/usr/share/$pkgname"
  install -m644 COPYING "$pkgdir/usr/share/$pkgname"

  #Bin
  install -m755 mutator "$pkgdir/usr/bin/mutator"

}