summaryrefslogtreecommitdiff
path: root/extra/ethtool/PKGBUILD
blob: c91c11a967dfe5ca69e16dcb0fe8c66674c33e7e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# $Id: PKGBUILD 206117 2014-02-19 03:37:03Z dan $
# Maintainer : Ionut Biru <ibiru@archlinux.org>
# Contributor: Paul Mattal <paul@archlinux.org>
# Contributor: Martin Kemp <mdkemp@elys.com>

pkgname=ethtool
pkgver=3.13
pkgrel=1
epoch=1
pkgdesc="Utility for controlling network drivers and hardware"
arch=('i686' 'x86_64' 'mips64el')
url="https://www.kernel.org/pub/software/network/ethtool/"
license=('GPL')
depends=('glibc')
source=(https://www.kernel.org/pub/software/network/$pkgname/$pkgname-$pkgver.tar.xz)
md5sums=('dcb8f345d44ee79108282e7d0bdf5013')

build() {
    cd $pkgname-$pkgver
    ./configure --prefix=/usr --mandir=/usr/share/man \
        --sbindir=/usr/bin
    make
}

package() {
    cd $pkgname-$pkgver
    make DESTDIR="$pkgdir" install
}