diff options
author | Nikos Yotis <giotis.nikos@gmail.com> | 2017-09-09 14:10:23 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2017-09-16 07:14:58 +0700 |
commit | 3a590cfd857ecd1ef39725fdf96f3f54013f74ee (patch) | |
tree | 2177e0ae9cdd43212cb221e06fcec6d439f6c32d /system/rndaddentropy | |
parent | f804781753ef866aa37aab0a58e8368f6d9349e9 (diff) |
system/rndaddentropy: Fix SlackBuild and .info.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'system/rndaddentropy')
-rw-r--r-- | system/rndaddentropy/rndaddentropy.SlackBuild | 19 | ||||
-rw-r--r-- | system/rndaddentropy/rndaddentropy.info | 2 |
2 files changed, 11 insertions, 10 deletions
diff --git a/system/rndaddentropy/rndaddentropy.SlackBuild b/system/rndaddentropy/rndaddentropy.SlackBuild index 763f90ba44a9..98044b56bf2e 100644 --- a/system/rndaddentropy/rndaddentropy.SlackBuild +++ b/system/rndaddentropy/rndaddentropy.SlackBuild @@ -22,7 +22,7 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -PKGNAM=rndaddentropy +PRGNAM=rndaddentropy SRCNAM=twuewand VERSION=${VERSION:-3.0.0} BUILD=${BUILD:-1} @@ -38,7 +38,8 @@ fi CWD=$(pwd) TMP=${TMP:-/tmp/SBo} -PKG=$TMP/package-$PKGNAM +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} if [ "$ARCH" = "i586" ]; then SLKCFLAGS="-O2 -march=i586 -mtune=i686" @@ -57,16 +58,16 @@ fi set -e rm -rf $PKG -mkdir -p $TMP $PKG +mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $SRCNAM-$VERSION tar xvf $CWD/$SRCNAM-$VERSION.tar.gz cd $SRCNAM-$VERSION chown -R root:root . find -L . \ - \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ -o -perm 511 \) -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; cd rndaddentropy @@ -85,13 +86,13 @@ find $PKG/usr/man -type f -exec gzip -9 {} \; for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done # docs -mkdir -p $PKG/usr/doc/$PKGNAM-$VERSION +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a $TMP/$SRCNAM-$VERSION/{README,COPYING} \ - $PKG/usr/doc/$PKGNAM-$VERSION -cat $CWD/$PKGNAM.SlackBuild > $PKG/usr/doc/$PKGNAM-$VERSION/$PKGNAM.SlackBuild + $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc cd $PKG -/sbin/makepkg -l y -c n $TMP/$PKGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} diff --git a/system/rndaddentropy/rndaddentropy.info b/system/rndaddentropy/rndaddentropy.info index 571aa1049f4c..b558623a0056 100644 --- a/system/rndaddentropy/rndaddentropy.info +++ b/system/rndaddentropy/rndaddentropy.info @@ -7,4 +7,4 @@ DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" MAINTAINER="Nikos Yotis" -EMAIL="giotis.nikos@gmail.com"
\ No newline at end of file +EMAIL="giotis.nikos@gmail.com" |