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/devel/patch.xibuild | |
parent | d2d97f84d5c037d7a6b8db6c497a5987030b7335 (diff) |
separated patch, build, check and package stages
Diffstat (limited to 'repo/devel/patch.xibuild')
-rw-r--r-- | repo/devel/patch.xibuild | 6 |
1 files changed, 5 insertions, 1 deletions
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 } |