Skip to content

Commit

Permalink
Clean SlackBuild to remove trails from its template
Browse files Browse the repository at this point in the history
  • Loading branch information
rg3 committed Feb 12, 2009
1 parent bc5ba91 commit e6ba716
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions halrv.SlackBuild
Expand Up @@ -14,13 +14,13 @@ export PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

# Initial variables
PNAME=halrv # Package name
PVERSION=1 # Package version (remove dashes if present)
PVERSION=1 # Package version
ARCH=${ARCH:-noarch} # Package architecture
BUILD=${BUILD:-1rg} # Build number plus packager initials

CWD=$( pwd )
TMP=${TMP:-/tmp} # Location to compile the source
PKG=$TMP/package-$PNAME # Location to build the package (use "package-$NAME" to avoid poss. conflicts)
TMP=${TMP:-/tmp}
PKG=$TMP/package-$PNAME # Location to create package structure

# Clear sandbox directory
rm -rf $PKG
Expand Down Expand Up @@ -59,7 +59,5 @@ EOF
cd $PKG
makepkg -l y -c n $CWD/$PNAME-$PVERSION-$ARCH-$BUILD.tgz

# Clean up the compilation and package directories
# Clean up the sandbox directory
rm -rf $PKG
cd $TMP
rm -rf $SRCDIR

0 comments on commit e6ba716

Please sign in to comment.