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

Tom Gundersen tomegun at archlinux.org
Fri Mar 30 18:42:03 EDT 2012


    Date: Friday, March 30, 2012 @ 18:42:03
  Author: tomegun
Revision: 154829

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

Added:
  util-linux/repos/testing-i686/
  util-linux/repos/testing-i686/PKGBUILD
    (from rev 154828, util-linux/trunk/PKGBUILD)
  util-linux/repos/testing-x86_64/
  util-linux/repos/testing-x86_64/PKGBUILD
    (from rev 154828, util-linux/trunk/PKGBUILD)

-------------------------+
 testing-i686/PKGBUILD   |   52 ++++++++++++++++++++++++++++++++++++++++++++++
 testing-x86_64/PKGBUILD |   52 ++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 104 insertions(+)

Copied: util-linux/repos/testing-i686/PKGBUILD (from rev 154828, util-linux/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD	                        (rev 0)
+++ testing-i686/PKGBUILD	2012-03-30 22:42:03 UTC (rev 154829)
@@ -0,0 +1,52 @@
+# $Id$
+# Maintainer: Tom Gundersen <teg at jklm.no>
+# Contributor: judd <jvinet at zeroflux.org>
+
+pkgname=util-linux
+pkgver=2.21.1
+pkgrel=1
+pkgdesc="Miscellaneous system utilities for Linux"
+url="http://www.kernel.org/pub/linux/utils/util-linux/"
+arch=('i686' 'x86_64')
+groups=('base')
+depends=('udev')
+conflicts=('util-linux-ng')
+provides=("util-linux-ng=${pkgver}")
+license=('GPL2')
+options=('!libtool')
+source=(ftp://ftp.kernel.org/pub/linux/utils/${pkgname}/v2.21/${pkgname}-${pkgver}.tar.xz)
+optdepends=('perl: for chkdupexe support')
+
+build() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+
+  # hardware clock
+  sed -e 's%etc/adjtime%var/lib/hwclock/adjtime%' -i include/pathnames.h
+
+  ./configure --prefix=/usr \
+              --libdir=/usr/lib \
+              --enable-write \
+              --enable-raw \
+              --disable-wall \
+              --enable-libmount-mount
+
+  make
+}
+
+check() {
+	make -C "$pkgname-$pkgver" check
+}
+
+package() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+
+  make DESTDIR="${pkgdir}" install
+
+  cd "${pkgdir}"
+
+  install -dm755 var/lib/hwclock
+
+  # delete stray empty dir, fixed upstream
+  rm -r usr/share/man/ru
+}
+md5sums=('ad602dcd528f340b1329cfa6200d8f80')

Copied: util-linux/repos/testing-x86_64/PKGBUILD (from rev 154828, util-linux/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2012-03-30 22:42:03 UTC (rev 154829)
@@ -0,0 +1,52 @@
+# $Id$
+# Maintainer: Tom Gundersen <teg at jklm.no>
+# Contributor: judd <jvinet at zeroflux.org>
+
+pkgname=util-linux
+pkgver=2.21.1
+pkgrel=1
+pkgdesc="Miscellaneous system utilities for Linux"
+url="http://www.kernel.org/pub/linux/utils/util-linux/"
+arch=('i686' 'x86_64')
+groups=('base')
+depends=('udev')
+conflicts=('util-linux-ng')
+provides=("util-linux-ng=${pkgver}")
+license=('GPL2')
+options=('!libtool')
+source=(ftp://ftp.kernel.org/pub/linux/utils/${pkgname}/v2.21/${pkgname}-${pkgver}.tar.xz)
+optdepends=('perl: for chkdupexe support')
+
+build() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+
+  # hardware clock
+  sed -e 's%etc/adjtime%var/lib/hwclock/adjtime%' -i include/pathnames.h
+
+  ./configure --prefix=/usr \
+              --libdir=/usr/lib \
+              --enable-write \
+              --enable-raw \
+              --disable-wall \
+              --enable-libmount-mount
+
+  make
+}
+
+check() {
+	make -C "$pkgname-$pkgver" check
+}
+
+package() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+
+  make DESTDIR="${pkgdir}" install
+
+  cd "${pkgdir}"
+
+  install -dm755 var/lib/hwclock
+
+  # delete stray empty dir, fixed upstream
+  rm -r usr/share/man/ru
+}
+md5sums=('ad602dcd528f340b1329cfa6200d8f80')



More information about the arch-commits mailing list