summaryrefslogtreecommitdiff
path: root/extra/dmidecode/PKGBUILD
blob: 3c5fe030d5a448b9a0d857b5295697d2ba18166c (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 183308 2013-04-21 10:54:50Z giovanni $
# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
# Contributor: Jan de Groot <jgc@archlinux.org>

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

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

  make prefix=/usr
}

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

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