[arch-commits] Commit in horst/trunk (PKGBUILD)

Baptiste Jonglez zorun at archlinux.org
Fri Apr 14 21:04:18 UTC 2017


    Date: Friday, April 14, 2017 @ 21:04:17
  Author: zorun
Revision: 223047

upgpkg: horst 5.0-2

Add missing manpage and config file (FS#53668)

Modified:
  horst/trunk/PKGBUILD

----------+
 PKGBUILD |   19 +++++++++++--------
 1 file changed, 11 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-04-14 19:42:48 UTC (rev 223046)
+++ PKGBUILD	2017-04-14 21:04:17 UTC (rev 223047)
@@ -1,27 +1,30 @@
 # $Id$
-# Maintainer: Anatol Pomozov 
+# Maintainer: Baptiste Jonglez
+# Contributor: Anatol Pomozov 
 # Contributor: Reza Jelveh (reza.jelveh at tuhh.de)
 # Contributor: Shalygin Konstantin (kostya at opentech.ru)
 
 pkgname=horst
 pkgver=5.0
-pkgrel=1
+pkgrel=2
 pkgdesc='A small, lightweight IEEE802.11 wireless LAN analyzer with a text interface'
-arch=(i686 x86_64)
+arch=("i686" "x86_64")
 url='http://br1.einfach.org/tech/horst'
-depends=(ncurses iw)
-license=(GPL)
-source=($pkgname-$pkgver::"https://github.com/br101/horst/archive/version-$pkgver.tar.gz")
+depends=("ncurses" "libnl")
+license=("GPL2")
+source=("${pkgname}-${pkgver}.tar.gz"::"https://github.com/br101/horst/archive/version-${pkgver}.tar.gz")
 sha256sums=('ea19cc0565b0bc8e001d11d4480030ef8ade67f85b2ddd28f6eb9233cb1e5c5b')
 
 build() {
-  cd horst-version-$pkgver
+  cd "${pkgname}-version-${pkgver}"
   make
 }
 
 package() {
-  cd horst-version-$pkgver
+  cd "${pkgname}-version-${pkgver}"
 
   install -Dm755 horst "$pkgdir/usr/bin/horst"
+  install -Dm644 horst.conf "$pkgdir/etc/horst.conf"
   install -Dm644 horst.1 "$pkgdir/usr/share/man/man1/horst.1"
+  install -Dm644 horst.conf.5 "$pkgdir/usr/share/man/man5/horst.conf.5"
 }



More information about the arch-commits mailing list