aboutsummaryrefslogtreecommitdiff
path: root/t/LO-R/foo/foo.SlackBuild
blob: 0b3c318fd9e4a3cb1fc884bac474067ec4da3a3b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/bash
PRGNAM="foo"
VERSION=${VERSION:-1.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
TMP=${TMP:-/tmp/SBo}
OUTPUT=${OUTPUT:-/tmp}

mkdir -p $TMP/$PRGNAM-$VERSION
cp README $TMP/$PRGNAM-$VERSION
mkdir -p $OUTPUT/package-$PRGNAM/usr/doc/$PRGNAM-$VERSION
cp README $OUTPUT/package-$PRGNAM/usr/doc/$PRGNAM-$VERSION
cd $OUTPUT/package-$PRGNAM

/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-noarch-$BUILD$TAG.tgz