summaryrefslogtreecommitdiff
path: root/extra/usbview/PKGBUILD
blob: 093b7007de79cc31fc9641ce6e7d875a21b6b7bf (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
29
30
31
32
# $Id: PKGBUILD 143990 2011-12-01 15:29:15Z giovanni $
# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
# Contributor: Jason Chu <jason@archlinux.org>

pkgname=usbview
pkgver=1.1
pkgrel=3
pkgdesc="USB Viewer"
arch=('i686' 'x86_64')
url="http://www.kroah.com/linux-usb/"
license=('GPL')
depends=('gtk2')
makedepends=('pkg-config')
source=("http://www.kroah.com/linux-usb/${pkgname}-${pkgver}.tar.gz")
md5sums=('8bf5e66351156356f3ad07454123affa')

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"

  ./configure --prefix=/usr \
              --sysconfdir=/etc \
	      --localstatedir=/var
  make
}

package() {
  cd "${srcdir}/${pkgname}-${pkgver}"

  make prefix="${pkgdir}/usr" \
       sysconfdir="${pkgdir}/etc" \
       localstatedir="${pkgdir}/var" install
}