diff options
author | B. Watson <urchlay@slackware.uk> | 2023-05-30 03:00:45 -0400 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2023-06-03 10:38:31 +0700 |
commit | 1ce269dbc4e07f27fd98c3b7d5a534199c89a2e4 (patch) | |
tree | 3c1325420e99e91fb1d196dd053111d6b38c8b30 | |
parent | b3be7d29dc05947e0b15b4e6a2247c3ad83a4323 (diff) |
system/anything-sync-daemon: Install completions in right places.
Signed-off-by: B. Watson <urchlay@slackware.uk>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r-- | system/anything-sync-daemon/anything-sync-daemon.SlackBuild | 20 | ||||
-rw-r--r-- | system/anything-sync-daemon/anything-sync-daemon.info | 2 |
2 files changed, 11 insertions, 11 deletions
diff --git a/system/anything-sync-daemon/anything-sync-daemon.SlackBuild b/system/anything-sync-daemon/anything-sync-daemon.SlackBuild index 664c376a1a71..b6346a5a873d 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 diff --git a/system/anything-sync-daemon/anything-sync-daemon.info b/system/anything-sync-daemon/anything-sync-daemon.info index f2e9878c424a..9a3e4b81728e 100644 --- a/system/anything-sync-daemon/anything-sync-daemon.info +++ b/system/anything-sync-daemon/anything-sync-daemon.info @@ -1,7 +1,7 @@ PRGNAM="anything-sync-daemon" VERSION="5.76" HOMEPAGE="https://github.com/graysky2/anything-sync-daemon" -DOWNLOAD="https://github.com/graysky2/anything-sync-daemon/archive/v5.76.tar.gz" +DOWNLOAD="https://github.com/graysky2/anything-sync-daemon/archive/v5.76/anything-sync-daemon-5.76.tar.gz" MD5SUM="362243b99ceb506164b348e370b2fa49" DOWNLOAD_x86_64="" MD5SUM_x86_64="" |