[arch-commits] Commit in mdk3/repos (2 files)

Evangelos Foutras foutrelis at archlinux.org
Fri Nov 9 23:27:02 UTC 2018


    Date: Friday, November 9, 2018 @ 23:27:01
  Author: foutrelis
Revision: 405284

archrelease: copy trunk to community-staging-x86_64

Added:
  mdk3/repos/community-staging-x86_64/
  mdk3/repos/community-staging-x86_64/PKGBUILD
    (from rev 405283, mdk3/trunk/PKGBUILD)

----------+
 PKGBUILD |   33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)

Copied: mdk3/repos/community-staging-x86_64/PKGBUILD (from rev 405283, mdk3/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2018-11-09 23:27:01 UTC (rev 405284)
@@ -0,0 +1,33 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor: Andrés Cordero <arch at andrew67.com>
+# Contributor: Jens Pranaitis <jens at chaox.net>
+
+pkgname=mdk3
+pkgver=v6
+pkgrel=7
+pkgdesc="WLAN penetration tool"
+url="http://aspj.aircrack-ng.org/"
+arch=("x86_64")
+license=('GPL2')
+depends=('glibc')
+source=(${pkgname}-${pkgver}.tar.bz2::http://aspj.aircrack-ng.org/${pkgname}-${pkgver}.tar.bz2)
+sha512sums=('a5180fc231c2e041064467b9415d2d238ea680f19c88b2320983dd6dbe91a62af1a37da0fc548c1b0860ede046e1f9976dec729c919d8e6c0ab98231990dfec4')
+
+prepare() {
+  cd ${pkgname}-${pkgver}
+  sed "s|-g -O3|${CFLAGS}|g" -i Makefile
+  sed 's|sbin|bin|g' -i Makefile
+}
+
+build() {
+  cd ${pkgname}-${pkgver}
+  make -C osdep
+  make
+}
+package() {
+  cd ${pkgname}-${pkgver}
+  make DESTDIR="${pkgdir}" PREFIX="/usr" install
+  install -Dm 644 docs/*.html -t "${pkgdir}/usr/share/doc/${pkgname}"
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list