diff options
Diffstat (limited to 'abs/core/libatasmart/PKGBUILD')
-rw-r--r-- | abs/core/libatasmart/PKGBUILD | 21 |
1 files changed, 16 insertions, 5 deletions
diff --git a/abs/core/libatasmart/PKGBUILD b/abs/core/libatasmart/PKGBUILD index 0d003c0..6e1fed5 100644 --- a/abs/core/libatasmart/PKGBUILD +++ b/abs/core/libatasmart/PKGBUILD @@ -1,15 +1,27 @@ -# $Id: PKGBUILD 198126 2013-10-30 12:56:47Z allan $ +# $Id$ # Maintainer: Jan de Groot <jgc@archlinux.org> pkgname=libatasmart pkgver=0.19 -pkgrel=2 +pkgrel=3 pkgdesc="ATA S.M.A.R.T. Reading and Parsing Library" arch=('i686' 'x86_64') license=('LGPL') -depends=('udev') +depends=('libsystemd') +makedepends=('systemd') url="http://0pointer.de/blog/projects/being-smart.html" -source=("http://0pointer.de/public/${pkgname}-${pkgver}.tar.xz") +source=(http://0pointer.de/public/${pkgname}-${pkgver}.tar.xz + 0001-Dont-test-undefined-bits.patch + 0002-Drop-our-own-many-bad-sectors-heuristic.patch) +md5sums=('53afe2b155c36f658e121fe6def33e77' + 'eb5d0468b0d47d099e5164372a21f9da' + 'cebd1fbed0b05d0458177d6d3ad4ea3f') + +prepare() { + cd $pkgname-$pkgver + patch -Np1 -i ../0001-Dont-test-undefined-bits.patch + patch -Np1 -i ../0002-Drop-our-own-many-bad-sectors-heuristic.patch +} build() { cd "${srcdir}/${pkgname}-${pkgver}" @@ -25,4 +37,3 @@ package() { cd "${srcdir}/${pkgname}-${pkgver}" make DESTDIR="${pkgdir}" install } -md5sums=('53afe2b155c36f658e121fe6def33e77') |