summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authoranthraxx2016-08-18 04:14:45 +0200
committeranthraxx2016-08-18 04:14:45 +0200
commitf71660d24074ba9267f9401270a49d1da50d7da9 (patch)
tree9979fb0e151ca806f1eec7321b8d25e4f2d12ca3
parente273359e03090ab5263cd3f4860619fe9e4b5d8d (diff)
downloadaur-f71660d24074ba9267f9401270a49d1da50d7da9.tar.gz
upgpkg: metasploit 4.12.20-1 (cleanup + zsh-comp)
-rw-r--r--.SRCINFO3
-rw-r--r--PKGBUILD7
2 files changed, 4 insertions, 6 deletions
diff --git a/.SRCINFO b/.SRCINFO
index dfded7b85cb2..4a41efd921a5 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,5 +1,5 @@
# Generated by mksrcinfo v8
-# Thu Aug 18 01:28:26 UTC 2016
+# Thu Aug 18 02:14:45 UTC 2016
pkgbase = metasploit
pkgdesc = Advanced open-source platform for developing, testing, and using exploit code
pkgver = 4.12.20
@@ -15,7 +15,6 @@ pkgbase = metasploit
depends = sqlite
depends = libxslt
depends = git
- optdepends = java-runtime: msfgui support
optdepends = ruby-pg: database support
options = !strip
options = !emptydirs
diff --git a/PKGBUILD b/PKGBUILD
index a947ac01b4f5..d885e4be3e25 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -10,8 +10,7 @@ url='https://www.metasploit.com/'
arch=('i686' 'x86_64')
license=('BSD')
depends=('ruby' 'libpcap' 'postgresql-libs' 'ruby-bundler' 'sqlite' 'libxslt' 'git')
-optdepends=('java-runtime: msfgui support'
- 'ruby-pg: database support')
+optdepends=('ruby-pg: database support')
options=('!strip' '!emptydirs')
source=(${pkgname}-${pkgver}.tar.gz::https://github.com/rapid7/metasploit-framework/archive/${pkgver}.tar.gz)
sha512sums=('e120c95968bf9eaa45f9bd053bd9cfd049b60c2b0e1f137b5e1769155c9895f135da531643cdd0493be8eba06b7a4d5c6d67592624ff3a1f19ae329622e9ea3f')
@@ -40,8 +39,8 @@ package() {
chmod 755 ${_msffile}
done
- install -Dm 644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
- install -Dm 644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
+ install -Dm 644 external/zsh/_* -t "${pkgdir}/usr/share/zsh/site-functions"
+ install -Dm 644 LICENSE COPYING -t "${pkgdir}/usr/share/licenses/${pkgname}"
install -d "${pkgdir}/usr/share/doc"
mv "${pkgdir}/opt/${pkgname}/documentation" "${pkgdir}/usr/share/doc/${pkgname}"
rm "${pkgdir}/usr/bin/msfupdate"