diff options
author | Nicolas Reynolds <fauno@kiwwwi.com.ar> | 2011-05-09 20:31:54 -0300 |
---|---|---|
committer | Nicolas Reynolds <fauno@kiwwwi.com.ar> | 2011-05-09 20:31:54 -0300 |
commit | 8563d02ef05f21b537e3e1471c4034baa644a55f (patch) | |
tree | 6dee20109568b03da07cf3f6e0b61b4f73ed24e2 /testing/util-linux/PKGBUILD | |
parent | b5e623669f9d93fa23637bc3beca5a1751e70ff1 (diff) | |
parent | bbb460f85242e6ac03f47b74b9d0be66ff089ac4 (diff) |
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts:
core/libevent/PKGBUILD
core/syslinux/PKGBUILD
extra/a2ps/PKGBUILD
extra/amarok/PKGBUILD
extra/libstroke/PKGBUILD
extra/pidgin/PKGBUILD
Diffstat (limited to 'testing/util-linux/PKGBUILD')
-rw-r--r-- | testing/util-linux/PKGBUILD | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/testing/util-linux/PKGBUILD b/testing/util-linux/PKGBUILD new file mode 100644 index 000000000..13140997a --- /dev/null +++ b/testing/util-linux/PKGBUILD @@ -0,0 +1,34 @@ +# $Id: PKGBUILD 123152 2011-05-09 00:21:36Z allan $ +# Maintainer: +# Contributor: judd <jvinet@zeroflux.org> + +pkgname=util-linux +pkgver=2.19.1 +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=${pkgver}") +license=('GPL2') +options=('!libtool') +source=(ftp://ftp.kernel.org/pub/linux/utils/${pkgname}/v2.19/${pkgname}-${pkgver}.tar.bz2) +optdepends=('perl: for chkdupexe support') +md5sums=('3eab06f05163dfa65479c44e5231932c') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + # hardware clock + sed -e 's%etc/adjtime%var/lib/hwclock/adjtime%' -i hwclock/hwclock.c + ./configure --enable-arch --enable-write --enable-raw --disable-wall --enable-partx + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + install -dm755 "${pkgdir}/var/lib/hwclock" + make DESTDIR="${pkgdir}" install +} |