diff options
Diffstat (limited to 'system/anything-sync-daemon/anything-sync-daemon.SlackBuild')
-rw-r--r-- | system/anything-sync-daemon/anything-sync-daemon.SlackBuild | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/system/anything-sync-daemon/anything-sync-daemon.SlackBuild b/system/anything-sync-daemon/anything-sync-daemon.SlackBuild index 664c376a1a..b6346a5a87 100644 --- a/system/anything-sync-daemon/anything-sync-daemon.SlackBuild +++ b/system/anything-sync-daemon/anything-sync-daemon.SlackBuild @@ -24,18 +24,19 @@ # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# 20230530 bkw: modified by SlackBuilds.org: +# - install bash and zsh completions in correct directories. +# - remove INSTALL from doc dir (not useful to a package user). + cd $(dirname $0) ; CWD=$(pwd) PRGNAM=anything-sync-daemon VERSION=${VERSION:-5.76} ARCH=noarch -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} -# If the variable PRINT_PACKAGE_NAME is set, then this script will report what -# the name of the created package would be, and then exit. This information -# could be useful to other scripts. if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" exit 0 @@ -56,20 +57,19 @@ cd $PRGNAM-$VERSION chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ - -o -perm 511 \) -exec chmod 755 {} \; -o \ + -o -perm 511 \) -exec chmod 755 {} + -o \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ - -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} + -sed -i 's#/share##g' Makefile -make -make install-bin install-man install-cron DESTDIR=$PKG +make MANDIR=/usr/man/man1 +make install-bin install-man install-cron MANDIR=/usr/man/man1 DESTDIR=$PKG mv $PKG/etc/cron.hourly/asd-update $PKG/etc/cron.hourly/asd-update.new install -D -m 0644 $TMP/$PRGNAM-$VERSION/common/asd.conf $PKG/etc/asd.conf.new install -D -m 0644 $CWD/rc.asd $PKG/etc/rc.d/rc.asd.new mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a INSTALL MIT README.md WARNING_READ_THIS $PKG/usr/doc/$PRGNAM-$VERSION +cp -a MIT README.md WARNING_READ_THIS $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir $PKG/install |