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/devel/patch.xibuild | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'repo/devel/patch.xibuild') diff --git a/repo/devel/patch.xibuild b/repo/devel/patch.xibuild index 728fc1d..7d1dfd0 100644 --- a/repo/devel/patch.xibuild +++ b/repo/devel/patch.xibuild @@ -2,11 +2,15 @@ DEPS=(glibc attr) -SOURCE=https://ftp.gnu.org/gnu/patch/patch-2.7.tar.xz +PKG_VER=2.7 +SOURCE=https://ftp.gnu.org/gnu/patch/patch-$PKG_VER.tar.xz DESC="A utility to apply patch files to a file" build () { ./configure --prefix=/usr make +} + +package () { make DESTDIR=$PKG_DEST install } -- cgit v1.2.1