summaryrefslogtreecommitdiff
path: root/help2man/build.sh
diff options
context:
space:
mode:
Diffstat (limited to 'help2man/build.sh')
-rw-r--r--help2man/build.sh26
1 files changed, 26 insertions, 0 deletions
diff --git a/help2man/build.sh b/help2man/build.sh
new file mode 100644
index 0000000..adb5e55
--- /dev/null
+++ b/help2man/build.sh
@@ -0,0 +1,26 @@
+#!/bin/bash
+name=help2man
+version=1.47.12
+revision=0
+sources=(
+ "https://ftp.gnu.org/gnu/${name}/${name}-${version}.tar.xz"
+)
+build_depends=(
+ "perl"
+ "xz"
+)
+depends=()
+
+function prepare() {
+ tar xf ${name}-${version}.tar.xz
+ cd ${name}-${version}
+}
+
+function build() {
+ ./configure --prefix="${_prefix}"
+ make -j${_maxjobs}
+}
+
+function package() {
+ make install DESTDIR="${_pkgdir}"
+}