Date: Tuesday, August 2, 2011 @ 21:10:39 Author: tomegun Revision: 134349
tidied PKGBUILD a bit Modified: util-linux/trunk/PKGBUILD ----------+ PKGBUILD | 22 ++++++++++++++++------ 1 file changed, 16 insertions(+), 6 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2011-08-03 01:03:03 UTC (rev 134348) +++ PKGBUILD 2011-08-03 01:10:39 UTC (rev 134349) @@ -3,32 +3,42 @@ # Contributor: judd <[email protected]> pkgname=util-linux -pkgver=2.20-rc1 +pkgver=2.20rc1 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') +depends=('filesystem') replaces=('linux32' 'util-linux-ng') conflicts=('linux32' 'util-linux-ng' 'e2fsprogs<1.41.8-2') provides=('linux32' "util-linux-ng=${pkgver}") license=('GPL2') options=('!libtool') -source=(ftp://ftp.kernel.org/pub/linux/utils/${pkgname}/v2.20/${pkgname}-${pkgver}.tar.bz2) +source=(ftp://ftp.kernel.org/pub/linux/utils/${pkgname}/v2.20/${pkgname}-2.20-rc1.tar.bz2) optdepends=('perl: for chkdupexe support') build() { - cd "${srcdir}/${pkgname}-${pkgver}" + cd "${srcdir}/${pkgname}-2.20-rc1" + # hardware clock sed -e 's%etc/adjtime%var/lib/hwclock/adjtime%' -i include/pathnames.h - ./configure --enable-arch --enable-write --enable-raw --disable-wall --enable-partx --enable-libmount-mount + + ./configure --enable-arch\ + --enable-write\ + --enable-raw\ + --disable-wall\ + --enable-partx\ + --enable-libmount-mount + make } package() { - cd "${srcdir}/${pkgname}-${pkgver}" + cd "${srcdir}/${pkgname}-2.20-rc1" + install -dm755 "${pkgdir}/var/lib/hwclock" + make DESTDIR="${pkgdir}" install } sha256sums=('34edb87c1ae46a54921ea73dc9b07d010d0611cf79ff982f20bfc6841bae2fcc')
