aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--autotools-template.SlackBuild3
-rw-r--r--cmake-template.SlackBuild3
-rw-r--r--haskell-template.SlackBuild3
-rw-r--r--meson-template.SlackBuild3
-rw-r--r--perl-template.SlackBuild3
-rw-r--r--python-template.SlackBuild3
-rw-r--r--rubygem-template.SlackBuild3
7 files changed, 14 insertions, 7 deletions
diff --git a/autotools-template.SlackBuild b/autotools-template.SlackBuild
index 4c330b5..fffa185 100644
--- a/autotools-template.SlackBuild
+++ b/autotools-template.SlackBuild
@@ -48,6 +48,8 @@
#
# |-----------------------------------------------------------------| #
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=appname # replace with name of program
VERSION=${VERSION:-1.4.1} # replace with version of program
BUILD=${BUILD:-1}
@@ -63,7 +65,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo} # For consistency's sake, use this
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp} # Drop the package in /tmp
diff --git a/cmake-template.SlackBuild b/cmake-template.SlackBuild
index 2bda501..5920127 100644
--- a/cmake-template.SlackBuild
+++ b/cmake-template.SlackBuild
@@ -48,6 +48,8 @@
#
# |-----------------------------------------------------------------| #
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=appname # replace with name of program
VERSION=${VERSION:-1.4.1} # replace with version of program
BUILD=${BUILD:-1}
@@ -63,7 +65,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo} # For consistency's sake, use this
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp} # Drop the package in /tmp
diff --git a/haskell-template.SlackBuild b/haskell-template.SlackBuild
index 77c6d4d..206b16f 100644
--- a/haskell-template.SlackBuild
+++ b/haskell-template.SlackBuild
@@ -48,6 +48,8 @@
#
# |-----------------------------------------------------------------| #
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=haskell-appname # replace 'appname' with name of program
VERSION=${VERSION:-1.4.1} # replace with version of program
BUILD=${BUILD:-1}
@@ -67,7 +69,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo} # For consistency's sake, use this
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp} # Drop the package in /tmp
diff --git a/meson-template.SlackBuild b/meson-template.SlackBuild
index 841d880..d132576 100644
--- a/meson-template.SlackBuild
+++ b/meson-template.SlackBuild
@@ -48,6 +48,8 @@
#
# |-----------------------------------------------------------------| #
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=appname # replace with name of program
VERSION=${VERSION:-1.4.1} # replace with version of program
BUILD=${BUILD:-1}
@@ -63,7 +65,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo} # For consistency's sake, use this
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp} # Drop the package in /tmp
diff --git a/perl-template.SlackBuild b/perl-template.SlackBuild
index b176454..cb20ee0 100644
--- a/perl-template.SlackBuild
+++ b/perl-template.SlackBuild
@@ -48,6 +48,8 @@
#
# |-----------------------------------------------------------------| #
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=perl-appname # replace "appname" with name of program
VERSION=${VERSION:-1.4.1} # replace with version of program
BUILD=${BUILD:-1}
@@ -65,7 +67,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo} # For consistency's sake, use this
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp} # Drop the package in /tmp
diff --git a/python-template.SlackBuild b/python-template.SlackBuild
index 5ec4def..53edbe1 100644
--- a/python-template.SlackBuild
+++ b/python-template.SlackBuild
@@ -48,6 +48,8 @@
#
# |-----------------------------------------------------------------| #
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=appname # replace with name of program
VERSION=${VERSION:-1.4.1} # replace with version of program
BUILD=${BUILD:-1}
@@ -63,7 +65,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo} # For consistency's sake, use this
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp} # Drop the package in /tmp
diff --git a/rubygem-template.SlackBuild b/rubygem-template.SlackBuild
index 28ce5a4..9b27048 100644
--- a/rubygem-template.SlackBuild
+++ b/rubygem-template.SlackBuild
@@ -48,6 +48,8 @@
#
# |-----------------------------------------------------------------| #
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=rubygem-appname # replace 'appname' with name of gem
VERSION=${VERSION:-1.4.1} # replace with version of program
BUILD=${BUILD:-1}
@@ -65,7 +67,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo} # For consistency's sake, use this
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp} # Drop the package in /tmp