[arch-commits] Commit in nbtscan/repos (3 files)

Felix Yan felixonmars at archlinux.org
Tue Jul 7 14:02:36 UTC 2020


    Date: Tuesday, July 7, 2020 @ 14:02:35
  Author: felixonmars
Revision: 658686

archrelease: copy trunk to community-staging-x86_64

Added:
  nbtscan/repos/community-staging-x86_64/
  nbtscan/repos/community-staging-x86_64/PKGBUILD
    (from rev 658685, nbtscan/trunk/PKGBUILD)
  nbtscan/repos/community-staging-x86_64/nbtscan.1.gz
    (from rev 658685, nbtscan/trunk/nbtscan.1.gz)

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

Copied: nbtscan/repos/community-staging-x86_64/PKGBUILD (from rev 658685, nbtscan/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2020-07-07 14:02:35 UTC (rev 658686)
@@ -0,0 +1,35 @@
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: Sergio Rubio <rubiojr at biondofu.net>
+
+pkgname=nbtscan
+pkgver=1.5.1
+pkgrel=8
+pkgdesc="NBTscan is a program for scanning IP networks for NetBIOS name information."
+arch=('x86_64')
+license=('GPL')
+depends=(glibc)
+url="http://www.inetcat.net/software/nbtscan.html"
+#source=(http://www.sourcefiles.org/Networking/Tools/Miscellanenous/nbtscan-$pkgver.tar.gz
+source=(https://sources.archlinux.org/other/community/$pkgname/$pkgname-$pkgver.tar.gz
+	nbtscan.1.gz)
+sha256sums=('f9f95d5555356c8d467a576e69d9d348bf2a821ded9a85f895b5e6d21e2aa7eb'
+            '286b73168554e0e481d8a1b4b9a728bedcde0f5d32f2e022f6a142fd7a8bfdad')
+
+build() {
+    cd "$srcdir"/$pkgname-${pkgver}a
+    ./configure --prefix=/usr
+    make
+}
+
+package() {
+    cd "$srcdir"/$pkgname-${pkgver}a
+
+    # Copy the binary
+    mkdir -p "$pkgdir"/usr/bin
+    cp nbtscan "$pkgdir"/usr/bin
+
+    cd "$srcdir"
+    # Include the nbtscan debian man page
+    mkdir -p "$pkgdir"/usr/share/man/man1
+    cp nbtscan.1.gz "$pkgdir"/usr/share/man/man1
+}

Copied: nbtscan/repos/community-staging-x86_64/nbtscan.1.gz (from rev 658685, nbtscan/trunk/nbtscan.1.gz)
===================================================================
(Binary files differ)



More information about the arch-commits mailing list