summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorJameson Pugh2019-08-26 16:30:23 -0400
committerJameson Pugh2019-08-26 16:30:23 -0400
commitc38fff094fb25c84fe1e4ebf2cf0aaec5115e857 (patch)
tree890f570dae773deb2e310d2dbf3e97c60071c378 /PKGBUILD
downloadaur-c38fff094fb25c84fe1e4ebf2cf0aaec5115e857.tar.gz
initial commit
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD24
1 files changed, 24 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..de21b17d7bb
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,24 @@
+# Maintainer: Jameson Pugh <imntreal@gmail.com>
+
+pkgname=smbmap
+pkgver=1.0.5
+pkgrel=1
+pkgdesc='SMB enumeration tool'
+arch=('any')
+url='https://github.com/ShawnDEvans/smbmap'
+license=('GPL')
+depends=('impacket')
+checkdepends=('python2')
+source=("https://github.com/ShawnDEvans/smbmap/archive/${pkgver}.tar.gz")
+sha256sums=('b1f5145a3dde44c5dc32aa7ed7a6517f37def216b15ef1b5a68b5074b1491f4d')
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ install -v -m755 -d "${pkgdir}/usr/bin"
+ install -v -m755 -d "${pkgdir}/usr/share/doc/${pkgname}"
+ install -v -m644 {README.md,LICENSE} "${pkgdir}/usr/share/doc/${pkgname}/"
+ install -v -m755 "${pkgname}.py" "${pkgdir}/usr/bin/${pkgname}.py"
+}
+
+# vim:set ts=2 sw=2 et: