summaryrefslogtreecommitdiff
path: root/extra/usbview/PKGBUILD
blob: 84dc43232aa55d680b2a80b3a71e7b7d09e885b7 (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
# $Id: PKGBUILD 68125 2010-02-10 20:30:36Z giovanni $
# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
# Contributor: Jason Chu <jason@archlinux.org>

pkgname=usbview
pkgver=1.1
pkgrel=2
pkgdesc="USB Viewer"
arch=('i686' 'x86_64')
url="http://www.kroah.com/linux-usb/"
license=('GPL')
depends=('gtk2')
makedepends=('pkgconfig')
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 || return 1
  make prefix="${pkgdir}/usr" \
       sysconfdir="${pkgdir}/etc" \
       localstatedir="${pkgdir}/var" install || return 1
}