[arch-commits] Commit in sysfsutils/repos (4 files)

Tobias Powalowski tpowa at archlinux.org
Thu Nov 3 16:17:27 EDT 2011


    Date: Thursday, November 3, 2011 @ 16:17:26
  Author: tpowa
Revision: 141986

archrelease: copy trunk to testing-i686, testing-x86_64

Added:
  sysfsutils/repos/testing-i686/
  sysfsutils/repos/testing-i686/PKGBUILD
    (from rev 141985, sysfsutils/trunk/PKGBUILD)
  sysfsutils/repos/testing-x86_64/
  sysfsutils/repos/testing-x86_64/PKGBUILD
    (from rev 141985, sysfsutils/trunk/PKGBUILD)

-------------------------+
 testing-i686/PKGBUILD   |   36 ++++++++++++++++++++++++++++++++++++
 testing-x86_64/PKGBUILD |   36 ++++++++++++++++++++++++++++++++++++
 2 files changed, 72 insertions(+)

Copied: sysfsutils/repos/testing-i686/PKGBUILD (from rev 141985, sysfsutils/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD	                        (rev 0)
+++ testing-i686/PKGBUILD	2011-11-03 20:17:26 UTC (rev 141986)
@@ -0,0 +1,36 @@
+# $Id$
+# Maintainer: Tobias Powalowski <tpowa at archlinux.org>
+
+pkgname=sysfsutils
+pkgver=2.1.0
+pkgrel=7
+pkgdesc="System Utilities Based on Sysfs"
+arch=(i686 x86_64)
+license=('GPL' 'LGPL')
+url="http://linux-diag.sourceforge.net/Sysfsutils.html"
+groups=('base')
+depends=('glibc')
+source=(http://downloads.sourceforge.net/sourceforge/linux-diag/${pkgname}-${pkgver}.tar.gz)
+md5sums=('14e7dcd0436d2f49aa403f67e1ef7ddc')
+options=(!libtool)
+
+build() {
+  cd "${srcdir}/${pkgname}-${pkgver}" 
+  ./configure --prefix=/usr --mandir=/usr/share/man
+  make
+}
+
+check() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  make check
+}
+
+package() {
+  cd "${srcdir}/${pkgname}-${pkgver}" 
+  make DESTDIR="${pkgdir}" install
+
+  cd "${pkgdir}"
+  mkdir -v lib
+  mv -v usr/lib/libsysfs.so.2* lib/
+  ln -svf ../../lib/libsysfs.so.2 usr/lib/libsysfs.so
+}

Copied: sysfsutils/repos/testing-x86_64/PKGBUILD (from rev 141985, sysfsutils/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2011-11-03 20:17:26 UTC (rev 141986)
@@ -0,0 +1,36 @@
+# $Id$
+# Maintainer: Tobias Powalowski <tpowa at archlinux.org>
+
+pkgname=sysfsutils
+pkgver=2.1.0
+pkgrel=7
+pkgdesc="System Utilities Based on Sysfs"
+arch=(i686 x86_64)
+license=('GPL' 'LGPL')
+url="http://linux-diag.sourceforge.net/Sysfsutils.html"
+groups=('base')
+depends=('glibc')
+source=(http://downloads.sourceforge.net/sourceforge/linux-diag/${pkgname}-${pkgver}.tar.gz)
+md5sums=('14e7dcd0436d2f49aa403f67e1ef7ddc')
+options=(!libtool)
+
+build() {
+  cd "${srcdir}/${pkgname}-${pkgver}" 
+  ./configure --prefix=/usr --mandir=/usr/share/man
+  make
+}
+
+check() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  make check
+}
+
+package() {
+  cd "${srcdir}/${pkgname}-${pkgver}" 
+  make DESTDIR="${pkgdir}" install
+
+  cd "${pkgdir}"
+  mkdir -v lib
+  mv -v usr/lib/libsysfs.so.2* lib/
+  ln -svf ../../lib/libsysfs.so.2 usr/lib/libsysfs.so
+}



More information about the arch-commits mailing list