[arch-commits] Commit in coreutils/repos (6 files)

Tom Gundersen tomegun at archlinux.org
Tue Sep 4 16:51:09 UTC 2012


    Date: Tuesday, September 4, 2012 @ 12:51:09
  Author: tomegun
Revision: 166136

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

Added:
  coreutils/repos/staging-i686/
  coreutils/repos/staging-i686/PKGBUILD
    (from rev 166135, coreutils/trunk/PKGBUILD)
  coreutils/repos/staging-i686/coreutils.install
    (from rev 166135, coreutils/trunk/coreutils.install)
  coreutils/repos/staging-x86_64/
  coreutils/repos/staging-x86_64/PKGBUILD
    (from rev 166135, coreutils/trunk/PKGBUILD)
  coreutils/repos/staging-x86_64/coreutils.install
    (from rev 166135, coreutils/trunk/coreutils.install)

----------------------------------+
 staging-i686/PKGBUILD            |   47 +++++++++++++++++++++++++++++++++++++
 staging-i686/coreutils.install   |   17 +++++++++++++
 staging-x86_64/PKGBUILD          |   47 +++++++++++++++++++++++++++++++++++++
 staging-x86_64/coreutils.install |   17 +++++++++++++
 4 files changed, 128 insertions(+)

Copied: coreutils/repos/staging-i686/PKGBUILD (from rev 166135, coreutils/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD	                        (rev 0)
+++ staging-i686/PKGBUILD	2012-09-04 16:51:09 UTC (rev 166136)
@@ -0,0 +1,47 @@
+# $Id$
+# Maintainer: Allan McRae <allan at archlinux.org>
+# Contributor: judd <jvinet at zeroflux.org>
+
+pkgname=coreutils
+pkgver=8.18
+pkgrel=1
+pkgdesc="The basic file, shell and text manipulation utilities of the GNU operating system"
+arch=('i686' 'x86_64')
+license=('GPL3')
+url="http://www.gnu.org/software/coreutils"
+groups=('base')
+depends=('glibc' 'pam' 'acl' 'gmp' 'libcap')
+install=${pkgname}.install
+source=(ftp://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.xz{,.sig})
+md5sums=('74712fbb0e0dfcb883c90eab91982780'
+         'b23dd27937cf9ad04f4567fef57ec6a3')
+
+build() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+
+  ./configure --prefix=/usr --libexecdir=/usr/lib \
+              --enable-no-install-program=groups,hostname,kill,uptime \
+              --enable-pam
+  make
+}
+
+check() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+  make RUN_EXPENSIVE_TESTS=yes check
+}
+
+package() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+  make DESTDIR=${pkgdir} install
+
+  cd ${pkgdir}/usr/bin
+  install -dm755 ${pkgdir}/bin
+
+  # binaries required by FHS
+  _fhs=('cat' 'chgrp' 'chmod' 'chown' 'cp' 'date' 'dd' 'df' 'echo' 'false'
+        'ln' 'ls' 'mkdir' 'mknod' 'mv' 'pwd' 'rm' 'rmdir' 'stty' 'sync'
+        'true' 'uname')
+  for i in ${_fhs[@]}; do
+    ln -s ../usr/bin/$i ${pkgdir}/bin/$i
+  done
+}

Copied: coreutils/repos/staging-i686/coreutils.install (from rev 166135, coreutils/trunk/coreutils.install)
===================================================================
--- staging-i686/coreutils.install	                        (rev 0)
+++ staging-i686/coreutils.install	2012-09-04 16:51:09 UTC (rev 166136)
@@ -0,0 +1,17 @@
+infodir=usr/share/info
+file=coreutils.info
+
+post_install() {
+  [[ -x usr/bin/install-info ]] || return 0
+  install-info $infodir/$file.gz $infodir/dir 2> /dev/null
+}
+
+post_upgrade() {
+  post_install $1
+}
+
+pre_remove() {
+  [[ -x usr/bin/install-info ]] || return 0
+  install-info --delete $infodir/$file.gz $infodir/dir 2> /dev/null
+}
+

Copied: coreutils/repos/staging-x86_64/PKGBUILD (from rev 166135, coreutils/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2012-09-04 16:51:09 UTC (rev 166136)
@@ -0,0 +1,47 @@
+# $Id$
+# Maintainer: Allan McRae <allan at archlinux.org>
+# Contributor: judd <jvinet at zeroflux.org>
+
+pkgname=coreutils
+pkgver=8.18
+pkgrel=1
+pkgdesc="The basic file, shell and text manipulation utilities of the GNU operating system"
+arch=('i686' 'x86_64')
+license=('GPL3')
+url="http://www.gnu.org/software/coreutils"
+groups=('base')
+depends=('glibc' 'pam' 'acl' 'gmp' 'libcap')
+install=${pkgname}.install
+source=(ftp://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.xz{,.sig})
+md5sums=('74712fbb0e0dfcb883c90eab91982780'
+         'b23dd27937cf9ad04f4567fef57ec6a3')
+
+build() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+
+  ./configure --prefix=/usr --libexecdir=/usr/lib \
+              --enable-no-install-program=groups,hostname,kill,uptime \
+              --enable-pam
+  make
+}
+
+check() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+  make RUN_EXPENSIVE_TESTS=yes check
+}
+
+package() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+  make DESTDIR=${pkgdir} install
+
+  cd ${pkgdir}/usr/bin
+  install -dm755 ${pkgdir}/bin
+
+  # binaries required by FHS
+  _fhs=('cat' 'chgrp' 'chmod' 'chown' 'cp' 'date' 'dd' 'df' 'echo' 'false'
+        'ln' 'ls' 'mkdir' 'mknod' 'mv' 'pwd' 'rm' 'rmdir' 'stty' 'sync'
+        'true' 'uname')
+  for i in ${_fhs[@]}; do
+    ln -s ../usr/bin/$i ${pkgdir}/bin/$i
+  done
+}

Copied: coreutils/repos/staging-x86_64/coreutils.install (from rev 166135, coreutils/trunk/coreutils.install)
===================================================================
--- staging-x86_64/coreutils.install	                        (rev 0)
+++ staging-x86_64/coreutils.install	2012-09-04 16:51:09 UTC (rev 166136)
@@ -0,0 +1,17 @@
+infodir=usr/share/info
+file=coreutils.info
+
+post_install() {
+  [[ -x usr/bin/install-info ]] || return 0
+  install-info $infodir/$file.gz $infodir/dir 2> /dev/null
+}
+
+post_upgrade() {
+  post_install $1
+}
+
+pre_remove() {
+  [[ -x usr/bin/install-info ]] || return 0
+  install-info --delete $infodir/$file.gz $infodir/dir 2> /dev/null
+}
+




More information about the arch-commits mailing list