Last active
January 9, 2025 20:21
-
-
Save loukamb/3f63860cb33a96d8ace34ddfa11d3729 to your computer and use it in GitHub Desktop.
MEGAsync XBPS template, for personal use
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pkgname=megasync | |
version=5.6.1.0 | |
revision=1 | |
arch="x86_64" | |
depends="xdg-utils libnotify xz ffmpeg desktop-file-utils qt5-quickcontrols qt5-quickcontrols2 qt5-graphicaleffects" | |
short_desc="Automated syncing with MEGA Cloud Drive" | |
maintainer="louka <[email protected]>" | |
license="custom:Proprietary" | |
homepage="https://mega.io" | |
checksum="f6d4e564f82ada113d23de917531f7742f1ad72b4ade2927f5b968802bcd5573" | |
distfiles="https://mega.nz/linux/repo/Debian_12/amd64/megasync_5.6.1-1.1_amd64.deb" | |
nostrip=yes | |
repository=nonfree | |
post_extract() { | |
rm -r etc | |
} | |
do_install() { | |
vinstall usr/share/applications/megasync.desktop 0644 usr/share/applications | |
vmkdir opt | |
vcopy opt/megasync opt | |
vmkdir usr/bin | |
ln -s usr/bin/megasync ${DESTDIR}/usr/bin/megasync | |
vcopy usr/share/icons usr/share/icons | |
} | |
post_install() { | |
vbin usr/bin/megasync | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment