summaryrefslogtreecommitdiff
path: root/libraries/perl-trayicon/perl-trayicon.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/perl-trayicon/perl-trayicon.SlackBuild')
-rw-r--r--libraries/perl-trayicon/perl-trayicon.SlackBuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/libraries/perl-trayicon/perl-trayicon.SlackBuild b/libraries/perl-trayicon/perl-trayicon.SlackBuild
index a83e499add..17e9756b4a 100644
--- a/libraries/perl-trayicon/perl-trayicon.SlackBuild
+++ b/libraries/perl-trayicon/perl-trayicon.SlackBuild
@@ -32,7 +32,7 @@ cd $TMP
rm -rf $SRCNAM-$VERSION
tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
cd $SRCNAM-$VERSION
-cp -a $CWD/COPY .
+cat $CWD/COPYING > COPYING
chown -R root:root .
chmod -R u+w,go+r-w,a-s .
@@ -57,11 +57,11 @@ gzip -9 $PKG/usr/man/man3/* 2> /dev/null
find $PKG -depth -type d -empty -exec rm -rf {} \;
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a ChangeLog MANIFEST* README TODO COPY $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a ChangeLog MANIFEST* README TODO COPYING $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 $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}