pkgname: util-linux pkgver: '2.42.2' pkgrel: 1 pkgdesc: System utilities for handling file systems consoles partitions and messages. url: 'https://freshmeat.net/projects/util-linux/' arch: x86_64 depends: [] makedepends: - file - ncurses - readline - zlib - libxcrypt - libcap - systemd source: - 'https://www.kernel.org/pub/linux/utils/util-linux/v2.42/util-linux-${pkgver}.tar.xz' - ${pkgname}-${pkgver}-consolidate-1.patch sha256sums: - 03a05d3adf9602ef128f2da05b84b3205ce60c351e5737c0370f74000679ce8a - aca752c29e3249dbe4320c8178d8c12da8f2207860d71d7232e1210bff1470c8 build: "cd util-linux-${pkgver}\npatch -Np1 -i ../${pkgname}-${pkgver}-consolidate-1.patch\nsed -i \"s@exec_prefix}/sbin@exec_prefix}/bin@\"\ \ configure\nmkdir -pv ${PKGDIR}/var/lib/hwclock\n./configure ADJTIME_PATH=/var/lib/hwclock/adjtime \\\n\t--docdir=/usr/share/doc/${pkgname}\ \ \\\n\t--disable-liblastlog2\\\n\t--disable-chfn-chsh \\\n --bindir=/usr/bin \\\n --libdir=/usr/lib\ \ \\\n\t--sbindir=/usr/bin \\\n\t--disable-login \\\n\t--disable-nologin \\\n\t--disable-su \\\n\t\ --disable-setpriv \\\n\t--disable-runuser \\\n\t--disable-pylibmount \\\n\t--disable-static \\\n\t--without-python\n\ \nmake\nmake DESTDIR=${PKGDIR} install\n" package: | true