summaryrefslogtreecommitdiff
path: root/testing/libatasmart/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'testing/libatasmart/PKGBUILD')
-rw-r--r--testing/libatasmart/PKGBUILD28
1 files changed, 28 insertions, 0 deletions
diff --git a/testing/libatasmart/PKGBUILD b/testing/libatasmart/PKGBUILD
new file mode 100644
index 000000000..15d9e756d
--- /dev/null
+++ b/testing/libatasmart/PKGBUILD
@@ -0,0 +1,28 @@
+# $Id: PKGBUILD 159970 2012-05-27 13:10:54Z 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
+}