diff options
author | B. Watson <urchlay@slackware.uk> | 2024-03-31 21:08:04 -0400 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2024-04-05 15:18:01 +0700 |
commit | 08a87fa8441ab1f2c9443d072b905ebfb0071bc2 (patch) | |
tree | fca35e1493ba2a3857eadacce9fa72046794aeb1 /system | |
parent | 52af1a3c205706db3ad3b113543dac227d0510c0 (diff) |
system/profile-sync-daemon: Fix github URL, minor cleanup.
Signed-off-by: B. Watson <urchlay@slackware.uk>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system')
-rw-r--r-- | system/profile-sync-daemon/profile-sync-daemon.SlackBuild | 17 | ||||
-rw-r--r-- | system/profile-sync-daemon/profile-sync-daemon.info | 2 |
2 files changed, 10 insertions, 9 deletions
diff --git a/system/profile-sync-daemon/profile-sync-daemon.SlackBuild b/system/profile-sync-daemon/profile-sync-daemon.SlackBuild index 472729e2aa626..3308611b01035 100644 --- a/system/profile-sync-daemon/profile-sync-daemon.SlackBuild +++ b/system/profile-sync-daemon/profile-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. +# 20240331 bkw: Modified by SlackBuilds.org, BUILD=2: +# - install zsh function to /usr/share/zsh, not /usr/zsh. +# - remove INSTALL from doc dir (no useful info for package users). + cd $(dirname $0) ; CWD=$(pwd) PRGNAM=profile-sync-daemon VERSION=${VERSION:-5.74.1} 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,11 +57,11 @@ 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 +sed -i '/MANDIR/s#/share##g' Makefile make make install-bin install-man install-cron DESTDIR=$PKG @@ -69,7 +70,7 @@ install -D -m 0644 $TMP/$PRGNAM-$VERSION/common/psd.conf $PKG/etc/psd.conf.new install -D -m 0644 $CWD/rc.psd $PKG/etc/rc.d/rc.psd.new mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a GPL-2 INSTALL LICENCE MIT README.md VERSION_4_WARNING $PKG/usr/doc/$PRGNAM-$VERSION +cp -a GPL-2 LICENCE MIT README.md VERSION_4_WARNING $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir $PKG/install diff --git a/system/profile-sync-daemon/profile-sync-daemon.info b/system/profile-sync-daemon/profile-sync-daemon.info index f0e7fd3a70bc7..ca329a8856c85 100644 --- a/system/profile-sync-daemon/profile-sync-daemon.info +++ b/system/profile-sync-daemon/profile-sync-daemon.info @@ -1,7 +1,7 @@ PRGNAM="profile-sync-daemon" VERSION="5.74.1" HOMEPAGE="https://github.com/graysky2/profile-sync-daemon/" -DOWNLOAD="https://github.com/graysky2/profile-sync-daemon/archive/v5.74.1.tar.gz" +DOWNLOAD="https://github.com/graysky2/profile-sync-daemon/archive/v5.74.1/profile-sync-daemon-5.74.1.tar.gz" MD5SUM="59888840bf6cf102a81a6fbe50ff86e6" DOWNLOAD_x86_64="" MD5SUM_x86_64="" |