From 003727289cc45e29eff0c0c48ad0f9660f96644f Mon Sep 17 00:00:00 2001 From: davidovski Date: Sun, 16 Jan 2022 15:02:47 +0000 Subject: separated patch, build, check and package stages --- repo/util/util-linux.xibuild | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'repo/util/util-linux.xibuild') diff --git a/repo/util/util-linux.xibuild b/repo/util/util-linux.xibuild index aeb7edf..46228c1 100644 --- a/repo/util/util-linux.xibuild +++ b/repo/util/util-linux.xibuild @@ -2,15 +2,19 @@ DEPS=(shadow coreutils libcap libxcrypt readline) -SOURCE=https://cdn.kernel.org/pub/linux/utils/util-linux/v2.37/util-linux-2.37.2.tar.xz +PKG_VER=2.37 +SOURCE=https://cdn.kernel.org/pub/linux/utils/util-linux/v$PKG_VER/util-linux-$PKG_VER.tar.xz DESC="System Utilities for Linux" build () { ./configure ADJTIME_PATH=/var/lib/hwclock/adjtime \ --libdir=/usr/lib \ - --docdir=/usr/share/doc/util-linux-2.20 \ + --docdir=/usr/share/doc/util-linux-$PKG_VER\ --disable-static \ runstatedir=/run make +} + +package () { make DESTDIR=$PKG_DEST install } -- cgit v1.2.1