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

Levente Polyak anthraxx at archlinux.org
Sat Jun 12 00:35:19 UTC 2021


    Date: Saturday, June 12, 2021 @ 00:35:18
  Author: anthraxx
Revision: 963021

archrelease: copy trunk to community-x86_64

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-06-12 00:35:01 UTC (rev 963020)
+++ PKGBUILD	2021-06-12 00:35:18 UTC (rev 963021)
@@ -1,35 +0,0 @@
-# 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-x86_64/PKGBUILD (from rev 963020, nbtscan/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-06-12 00:35:18 UTC (rev 963021)
@@ -0,0 +1,33 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor: Sergio Rubio <rubiojr at biondofu.net>
+
+pkgname=nbtscan
+pkgver=1.6
+pkgrel=1
+pkgdesc='Scan networks searching for NetBIOS information'
+url='https://github.com/resurrecting-open-source-projects/nbtscan'
+arch=('x86_64')
+license=('GPL2')
+depends=(glibc)
+source=(https://github.com/resurrecting-open-source-projects/nbtscan/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz)
+sha256sums=('9fc1bf325c37b1c9a3e4abec3bf2e5116f20c552a6ae5dc21d581c926ae02262')
+b2sums=('3e38e946aa875be2bca8ad0155a5bf4c612cecda3761623d75657b2ab54aa7a7526d284a78db764518748e092c2719a4c02bcdce32095c87537c9979571c10f7')
+
+prepare() {
+	cd ${pkgname}-${pkgver}
+	autoreconf -fiv
+}
+
+build() {
+	cd ${pkgname}-${pkgver}
+  ./configure --prefix=/usr
+  make
+}
+
+package() {
+	cd ${pkgname}-${pkgver}
+	make DESTDIR="$pkgdir" install
+  install -Dm 644 README.md ChangeLog -t "${pkgdir}/usr/share/doc/${pkgname}"
+}
+
+# vim: ts=2 sw=2 et:

Deleted: nbtscan.1.gz
===================================================================
(Binary files differ)



More information about the arch-commits mailing list