[arch-commits] Commit in (4 files)
Tobias Powalowski
tpowa at archlinux.org
Tue Feb 22 08:32:39 UTC 2011
Date: Tuesday, February 22, 2011 @ 03:32:39
Author: tpowa
Revision: 110790
newpkg: replece util-linux-ng
Added:
util-linux/
util-linux/repos/
util-linux/trunk/
util-linux/trunk/PKGBUILD
----------+
PKGBUILD | 40 ++++++++++++++++++++++++++++++++++++++++
1 file changed, 40 insertions(+)
Added: util-linux/trunk/PKGBUILD
===================================================================
--- util-linux/trunk/PKGBUILD (rev 0)
+++ util-linux/trunk/PKGBUILD 2011-02-22 08:32:39 UTC (rev 110790)
@@ -0,0 +1,40 @@
+# $Id$
+# Maintainer: judd <jvinet at zeroflux.org>
+pkgname=util-linux
+pkgver=2.19
+pkgrel=1
+pkgdesc="Miscellaneous system utilities for Linux"
+url="http://userweb.kernel.org/~kzak/util-linux-ng/"
+arch=('i686' 'x86_64')
+groups=('base')
+depends=('bash' 'ncurses>=5.7' 'zlib' 'filesystem')
+replaces=('linux32' 'util-linux-ng')
+conflicts=('linux32' 'util-linux-ng' 'e2fsprogs<1.41.8-2')
+provides=('linux32' 'util-linux-ng')
+license=('GPL2')
+options=('!libtool')
+source=(ftp://ftp.kernel.org/pub/linux/utils/${pkgname}/v2.19/${pkgname}-${pkgver}.tar.bz2)
+optdepends=('perl: for chkdupexe support')
+install=util-linux-ng.install
+md5sums=('590ca71aad0b254e2631d84401f28255')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ # hardware clock
+ sed -e 's%etc/adjtime%var/lib/hwclock/adjtime%' -i hwclock/hwclock.c
+ autoreconf
+ automake
+ ./configure --enable-arch --enable-write --enable-raw --disable-wall --enable-rdev --enable-partx --enable-libmount-mount
+ make HAVE_SLN=yes ADD_RAW=yes
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ mkdir -p "${pkgdir}/var/lib/hwclock"
+ make HAVE_SLN=yes ADD_RAW=yes DESTDIR="${pkgdir}" install
+ # remove files
+ rm -f "${pkgdir}/bin/kill"
+ rm -f "${pkgdir}/usr/share/man/man1/kill.1"
+ rm -f "${pkgdir}/usr/share/man/man5/nfs.5"
+ rm -f "${pkgdir}/usr/share/info/dir"
+}
Property changes on: util-linux/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
+ Id
More information about the arch-commits
mailing list