summaryrefslogtreecommitdiff
path: root/repo/util/file.xibuild
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-01-16 15:02:47 +0000
committerdavidovski <david@davidovski.xyz>2022-01-16 15:02:47 +0000
commit003727289cc45e29eff0c0c48ad0f9660f96644f (patch)
tree0fd7f0ac830dee29984262980b8c144e26aa09ba /repo/util/file.xibuild
parentd2d97f84d5c037d7a6b8db6c497a5987030b7335 (diff)
separated patch, build, check and package stages
Diffstat (limited to 'repo/util/file.xibuild')
-rw-r--r--repo/util/file.xibuild9
1 files changed, 8 insertions, 1 deletions
diff --git a/repo/util/file.xibuild b/repo/util/file.xibuild
index 150810b..9e55dc6 100644
--- a/repo/util/file.xibuild
+++ b/repo/util/file.xibuild
@@ -2,13 +2,20 @@
DEPS=(glibc zlib xz bzip2)
-SOURCE=http://ftp.astron.com/pub/file/file-5.40.tar.gz
+PKG_VER=5.40
+SOURCE=http://ftp.astron.com/pub/file/file-$PKG_VER.tar.gz
DESC="A utility for determining the type of a given file or files"
build () {
./configure --prefix=/usr
make
+}
+
+check () {
make check
+}
+
+package () {
make DESTDIR=$PKG_DEST install
}