aboutsummaryrefslogtreecommitdiff
path: root/trunk/mkbuild
diff options
context:
space:
mode:
authorrudson <rudson@04377dda-e619-0410-9926-eae83683ac58>2007-12-01 01:16:52 +0000
committerrudson <rudson@04377dda-e619-0410-9926-eae83683ac58>2007-12-01 01:16:52 +0000
commit76cb2a284631a2354a368320234b16f4316fd137 (patch)
tree5b945dc8435be4407f3d7abec746510ac5586b05 /trunk/mkbuild
parent246475541fd2d6cb4a5e96010191f2ebaf841a23 (diff)
downloadsimplepkg-76cb2a284631a2354a368320234b16f4316fd137.tar.gz
simplepkg-76cb2a284631a2354a368320234b16f4316fd137.tar.bz2
Várias alterações. Ver trunk/doc/CHANGELOG
git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@461 04377dda-e619-0410-9926-eae83683ac58
Diffstat (limited to 'trunk/mkbuild')
-rw-r--r--trunk/mkbuild/generic.mkSlackBuild10
-rw-r--r--trunk/mkbuild/model.mkbuild10
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"