summaryrefslogtreecommitdiff
path: root/extra/libatasmart/PKGBUILD
blob: 36c54c9e847ef24ca06fbeaff8b55f1088593d9b (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 160363 2012-06-01 12:58:30Z dreisner $
# Maintainer: Jan de Groot <jgc@archlinux.org>

pkgname=libatasmart
pkgver=0.18
pkgrel=2
pkgdesc="ATA S.M.A.R.T. Reading and Parsing Library"
arch=('i686' 'x86_64')
license=('LGPL')
depends=('udev')
url="http://0pointer.de/blog/projects/being-smart.html"
options=('!libtool')
source=("http://0pointer.de/public/${pkgname}-${pkgver}.tar.gz")
md5sums=('dc22b7acda1c2230f55ae98737e8b159')

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  ./configure --prefix=/usr \
    --sysconfdir=/etc \
    --localstatedir=/var \
    --disable-static
  make
}

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