36 lines
1.1 KiB
Bash
36 lines
1.1 KiB
Bash
# Template file for 'dropbox'
|
|
pkgname=dropbox
|
|
version=2023.02.27+cf4ccaa
|
|
revision=1
|
|
archs="x86_64 i686"
|
|
build_style=gnu-configure
|
|
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, CC-BY-ND-3.0"
|
|
homepage="https://www.dropbox.com"
|
|
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
|
|
|
|
pre_configure() {
|
|
autoreconf -fi
|
|
}
|
|
|
|
nautilus-dropbox_package() {
|
|
short_desc="Dropbox nautilus plugin"
|
|
depends="dropbox>=${version}_${revision} nautilus"
|
|
repository=nonfree
|
|
pkg_install() {
|
|
vmove /usr/lib/nautilus
|
|
vmove /usr/share/nautilus-dropbox
|
|
}
|
|
}
|