1 # Maintainer: Jan de Groot <jgc@archlinux.org>
6 pkgdesc="ATA S.M.A.R.T. Reading and Parsing Library"
9 depends=('systemd-libs')
10 makedepends=('systemd')
11 url="http://0pointer.de/blog/projects/being-smart.html"
12 source=(http://0pointer.de/public/${pkgname}-${pkgver}.tar.xz
13 0001-Dont-test-undefined-bits.patch
14 0002-Drop-our-own-many-bad-sectors-heuristic.patch)
15 sha256sums=('61f0ea345f63d28ab2ff0dc352c22271661b66bf09642db3a4049ac9dbdb0f8d'
16 'ab19d6985bb524774607280a2ee62c48de01785660ff5206d80f778b6404188c'
17 '9bb5ca3431f76c182c5b076e2db9378d696608c2ff1d53d01e55c530ba293ce1')
21 patch -Np1 -i ../0001-Dont-test-undefined-bits.patch
22 patch -Np1 -i ../0002-Drop-our-own-many-bad-sectors-heuristic.patch
26 cd "${srcdir}/${pkgname}-${pkgver}"
27 ./configure --prefix=/usr \
29 --localstatedir=/var \
36 cd "${srcdir}/${pkgname}-${pkgver}"
37 make DESTDIR="${pkgdir}" install