diff options
Diffstat (limited to 'trunk/mkbuild')
-rw-r--r-- | trunk/mkbuild/generic.mkSlackBuild | 10 | ||||
-rw-r--r-- | trunk/mkbuild/model.mkbuild | 10 |
2 files changed, 15 insertions, 5 deletions
diff --git a/trunk/mkbuild/generic.mkSlackBuild b/trunk/mkbuild/generic.mkSlackBuild index 6e9e222..0a25211 100644 --- a/trunk/mkbuild/generic.mkSlackBuild +++ b/trunk/mkbuild/generic.mkSlackBuild @@ -1,9 +1,9 @@ -################################################### +################################################################# ## Generic template for SlackBuilds ## -## Version 0.8.1 - Luis ( luis at riseup d0t net) -## -################################################### +## Version 0.9.0 - Luis ( luis at riseup d0t net) +## Alves ( rudsonalves at yahoo d0t com d0t br ) +################################################################# #!/bin/bash <head> off # @@ -44,7 +44,7 @@ PKG_NAME="[[PACKAGE NAME]]" ARCH=${ARCH:=[[ARCH]]} SRC_VERSION=${VERSION:=[[VERSION]]} PKG_VERSION="$(echo "$SRC_VERSION" | tr '[[:blank:]-]' '_')" -BUILD=${BUILD:=1[[SLACKBUILD AUTHOR INITIALS]]} +BUILD=${BUILD:=[[BUILD NUMBER]][[SLACKBUILD AUTHOR INITIALS]]} SRC_DIR=${SRC_DIR:=$CWD}/$PKG_NAME TMP=${TMP:=/tmp} PKG=${PKG:=$TMP/package-$PKG_NAME} diff --git a/trunk/mkbuild/model.mkbuild b/trunk/mkbuild/model.mkbuild index ee2bb99..edd33c6 100644 --- a/trunk/mkbuild/model.mkbuild +++ b/trunk/mkbuild/model.mkbuild @@ -1,3 +1,8 @@ +################################################################# +## Generic template for Mkbuild +## +## Version 0.9.0 - Alves ( rudsonalves at yahoo d0t com d0t br ) +################################################################# #-------------------- # Personal variables #-------------------- @@ -38,6 +43,11 @@ [[EXTENSION]]="" # +# Build number. +# Auto-set to default 1 +[[BUILD NUMBER]]="" + +# # Source Name construction string # Default value is: $SRC_NAME-$VERSION.tar.$EXTENSION [[SOURCE NAME CONSTRUCTION STRING]]="$SRC_NAME-$VERSION.tar.$EXTENSION" |