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/man-db.xibuild | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'repo/util/man-db.xibuild') diff --git a/repo/util/man-db.xibuild b/repo/util/man-db.xibuild index 92ce361..7f5d02c 100644 --- a/repo/util/man-db.xibuild +++ b/repo/util/man-db.xibuild @@ -2,13 +2,13 @@ DEPS=(bash gdbm zlib groff libpipeline less) -SOURCE=http://download.savannah.nongnu.org/releases/man-db/man-db-2.9.4.tar.xz +PKG_VER=2.9.4 +SOURCE=http://download.savannah.nongnu.org/releases/man-db/man-db-$PKG_VER.tar.xz DESC="A utility for reading man pages" build () { - ./configure --prefix=/usr ./configure --prefix=/usr \ - --docdir=/usr/share/doc/man-db-2.9.4 \ + --docdir=/usr/share/doc/man-db-$PKG_VER \ --sysconfdir=/etc \ --disable-setuid \ --enable-cache-owner=bin \ @@ -18,5 +18,8 @@ build () { --with-systemdtmpfilesdir= \ --with-systemdsystemunitdir= make +} + +package () { make DESTDIR=$PKG_DEST install } -- cgit v1.2.1