dropbox: update to 2023.02.27+cf4ccaa, move to nonfree

This commit is contained in:
Đoàn Trần Công Danh 2023-03-13 20:40:36 +07:00 committed by Đoàn Trần Công Danh
parent 0227dc8245
commit a54fb19536
1 changed files with 15 additions and 9 deletions

View File

@ -1,26 +1,32 @@
# Template file for 'dropbox'
pkgname=dropbox
version=2022.12.05
version=2023.02.27+cf4ccaa
revision=1
_commit=8cc1635a0e0e6edf90beb4b6f9c9ecb2b39e41f3
build_style=gnu-configure
hostmakedepends="pkg-config gnome-common libtool python3-gobject python3-docutils gdk-pixbuf-devel"
configure_args="--disable-static"
hostmakedepends="pkg-config automake libtool python3-gobject python3-docutils
gdk-pixbuf-devel"
makedepends="nautilus-devel python3-devel python3-gobject-devel"
depends="libxslt python3-gobject python3-gpg gdk-pixbuf"
short_desc="Dropbox file sharing"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-3.0-or-later"
license="GPL-3.0-or-later, CC-BY-ND-3.0"
homepage="https://www.dropbox.com"
distfiles="https://github.com/dropbox/nautilus-dropbox/archive/8cc1635a0e0e6edf90beb4b6f9c9ecb2b39e41f3.tar.gz"
checksum=e6018254963314b63e81b2ab6f936b48e439ba256ad93b5d447fb8e75c20c2ab
distfiles="https://github.com/dropbox/nautilus-dropbox/archive/${version#*+}.tar.gz"
checksum=821dd34fe8bbd89bacaa4b01a653f2c8764e5819c91efaffb0f7c14aa62f87fe
# - The ND part of CC-BY-ND-3.0 is nonfree
# - The package is just a wrapper to download and start proprietary dropbox
# binary programs from dropbox.com, which are necessary for its function.
repository=nonfree
do_configure() {
./autogen.sh ${configure_args} --disable-static
pre_configure() {
autoreconf -fi
}
nautilus-dropbox_package() {
short_desc="Dropbox nautilus plugin"
depends="dropbox>=${version}_${revision}"
depends="dropbox>=${version}_${revision} nautilus"
repository=nonfree
pkg_install() {
vmove /usr/lib/nautilus
vmove /usr/share/nautilus-dropbox