summaryrefslogtreecommitdiff
path: root/extra/dmidecode/PKGBUILD
blob: 0fa067a1696e0a7df09e3521624a24c272333e0e (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
# $Id: PKGBUILD 143727 2011-11-28 17:28:42Z giovanni $
# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
# Contributor: Jan de Groot <jgc@archlinux.org>

pkgname=dmidecode
pkgver=2.11
pkgrel=2
pkgdesc="Desktop Management Interface table related utilities"
arch=('i686' 'x86_64' 'mips64el')
url="http://www.nongnu.org/dmidecode"
license=('GPL')
depends=('glibc')
source=("http://download.savannah.nongnu.org/releases/${pkgname}/${pkgname}-${pkgver}.tar.bz2")
md5sums=('535487cc041f2db746587cf40a2059f0')

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

  make prefix=/usr
}

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

  make prefix=/usr DESTDIR=${pkgdir} install
}