diff options
author | davidovski <david@davidovski.xyz> | 2022-01-16 15:02:47 +0000 |
---|---|---|
committer | davidovski <david@davidovski.xyz> | 2022-01-16 15:02:47 +0000 |
commit | 003727289cc45e29eff0c0c48ad0f9660f96644f (patch) | |
tree | 0fd7f0ac830dee29984262980b8c144e26aa09ba /repo/util/man-db.xibuild | |
parent | d2d97f84d5c037d7a6b8db6c497a5987030b7335 (diff) |
separated patch, build, check and package stages
Diffstat (limited to 'repo/util/man-db.xibuild')
-rw-r--r-- | repo/util/man-db.xibuild | 9 |
1 files changed, 6 insertions, 3 deletions
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 } |