[arch-commits] Commit in medusa/trunk (PKGBUILD)

Levente Polyak anthraxx at archlinux.org
Thu Jan 7 22:16:31 UTC 2016


    Date: Thursday, January 7, 2016 @ 23:16:30
  Author: anthraxx
Revision: 155665

upgpkg: medusa 2.2-2

upgpkg: medusa 2.2-2

Modified:
  medusa/trunk/PKGBUILD

----------+
 PKGBUILD |   10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-01-07 19:45:49 UTC (rev 155664)
+++ PKGBUILD	2016-01-07 22:16:30 UTC (rev 155665)
@@ -3,7 +3,7 @@
 
 pkgname=medusa
 pkgver=2.2
-pkgrel=1
+pkgrel=2
 pkgdesc="Speedy, massively parallel and modular login brute-forcer for network "
 url="http://www.foofus.net/jmk/medusa/medusa.html"
 arch=('i686' 'x86_64')
@@ -21,9 +21,13 @@
 source=(${pkgname}-${pkgver}.tar.gz::http://www.foofus.net/jmk/tools/${pkgname}-${pkgver}.tar.gz)
 sha512sums=('4117c95e9a93c1cdf275c33f86046811b7100bfc4430464d66051e736dcf105a0733855d896ee0ea85c02a6dd3d3c060c8a84bb795f9870ec589fd9a87232690')
 
+prepare() {
+  cd ${pkgname}-${pkgver}
+  autoreconf --force --install
+}
+
 build() {
   cd ${pkgname}-${pkgver}
-  autoreconf --force --install
   ./configure --prefix=/usr
   make
 }
@@ -32,7 +36,7 @@
   cd ${pkgname}-${pkgver}
   make DESTDIR="${pkgdir}" install
   install -Dm 644 misc/zsh/_medusa "${pkgdir}/usr/share/zsh/site-functions/_medusa"
-  install -Dm 644 doc/*.html README NEWS -t "${pkgdir}/usr/share/doc/${pkgname}"
+  install -Dm 644 doc/*.html README NEWS ChangeLog -t "${pkgdir}/usr/share/doc/${pkgname}"
 }
 
 # vim: ts=2 sw=2 et:



More information about the arch-commits mailing list