summaryrefslogtreecommitdiffstats
path: root/abs/core
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2012-01-17 16:52:49 (GMT)
committerJames Meyer <james.meyer@operamail.com>2012-01-17 16:52:49 (GMT)
commit545c23dc3b92d2c84bd90c2497c29ee6464fdcb7 (patch)
tree9be0490237cb4809a79079bc5295700b1d8148b8 /abs/core
parent4ad00752c53d7f544ec2b03b9acc7b86704270fb (diff)
downloadlinhes_pkgbuild-545c23dc3b92d2c84bd90c2497c29ee6464fdcb7.zip
linhes_pkgbuild-545c23dc3b92d2c84bd90c2497c29ee6464fdcb7.tar.gz
linhes_pkgbuild-545c23dc3b92d2c84bd90c2497c29ee6464fdcb7.tar.bz2
udisks * libatasmart: included because they are needed by add_storage.py
refs # 796
Diffstat (limited to 'abs/core')
-rw-r--r--abs/core/libatasmart/PKGBUILD28
-rw-r--r--abs/core/udisks/PKGBUILD30
2 files changed, 58 insertions, 0 deletions
diff --git a/abs/core/libatasmart/PKGBUILD b/abs/core/libatasmart/PKGBUILD
new file mode 100644
index 0000000..470b933
--- /dev/null
+++ b/abs/core/libatasmart/PKGBUILD
@@ -0,0 +1,28 @@
+# $Id: PKGBUILD 141499 2011-10-31 03:19:13Z andrea $
+# Maintainer: Jan de Groot <jgc@archlinux.org>
+
+pkgname=libatasmart
+pkgver=0.18
+pkgrel=1
+pkgdesc="ATA S.M.A.R.T. Reading and Parsing Library"
+arch=('i686' 'x86_64')
+license=('LGPL')
+depends=('udev>=171')
+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
+}
diff --git a/abs/core/udisks/PKGBUILD b/abs/core/udisks/PKGBUILD
new file mode 100644
index 0000000..68017ee
--- /dev/null
+++ b/abs/core/udisks/PKGBUILD
@@ -0,0 +1,30 @@
+# $Id: PKGBUILD 136339 2011-08-26 17:03:08Z ibiru $
+# Maintainer: Jan de Groot <jgc@archlinux.org>
+
+pkgname=udisks
+pkgver=1.0.4
+pkgrel=1
+pkgdesc="Disk Management Service"
+arch=('i686' 'x86_64')
+url="http://www.freedesktop.org/wiki/Software/udisks"
+license=('GPL')
+depends=('udev' 'sg3_utils' 'glib2' 'dbus-glib' 'polkit' 'parted' 'device-mapper' 'libatasmart' 'lsof' 'eject')
+makedepends=('intltool' 'docbook-xsl')
+options=(!libtool)
+source=(http://hal.freedesktop.org/releases/${pkgname}-${pkgver}.tar.gz)
+sha256sums=('854b89368733b9c3a577101b761ad5397ae75a05110c8698ac5b29de9a8bf8f5')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
+ --libexecdir=/usr/lib/udisks --disable-static
+ #fix location for bash_completion helper
+ sed -i -e 's|profile.d|bash_completion.d|' tools/Makefile
+
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+}