[arch-commits] Commit in netperf/trunk (PKGBUILD netperf.install)
Sébastien Luttringer
seblu at archlinux.org
Sat May 14 13:26:23 UTC 2016
Date: Saturday, May 14, 2016 @ 15:26:23
Author: seblu
Revision: 175357
upgpkg: netperf 2.7.0-2
https://www.archlinux.org/todo/hooks-part-1
Modified:
netperf/trunk/PKGBUILD
Deleted:
netperf/trunk/netperf.install
-----------------+
PKGBUILD | 3 +--
netperf.install | 20 --------------------
2 files changed, 1 insertion(+), 22 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2016-05-14 13:22:11 UTC (rev 175356)
+++ PKGBUILD 2016-05-14 13:26:23 UTC (rev 175357)
@@ -5,13 +5,12 @@
pkgname=netperf
pkgver=2.7.0
-pkgrel=1
+pkgrel=2
pkgdesc='Benchmarking tool for many different types of networking'
url='http://www.netperf.org/'
license=('custom')
arch=('i686' 'x86_64')
depends=('glibc' 'libsmbios' 'lksctp-tools')
-install=$pkgname.install
source=("ftp://ftp.netperf.org/netperf/$pkgname-$pkgver.tar.bz2"
"$pkgname.service"
'001-fix-inlining.patch')
Deleted: netperf.install
===================================================================
--- netperf.install 2016-05-14 13:22:11 UTC (rev 175356)
+++ netperf.install 2016-05-14 13:26:23 UTC (rev 175357)
@@ -1,20 +0,0 @@
-infodir=/usr/share/info
-filelist=(netperf.info)
-
-post_install() {
- [[ -x usr/bin/install-info ]] || return 0
- for file in "${filelist[@]}"; do
- install-info $infodir/$file.gz $infodir/dir 2> /dev/null
- done
-}
-
-post_upgrade() {
- post_install "$1"
-}
-
-pre_remove() {
- [[ -x usr/bin/install-info ]] || return 0
- for file in "${filelist[@]}"; do
- install-info --delete $infodir/$file.gz $infodir/dir 2> /dev/null
- done
-}
More information about the arch-commits
mailing list