new package: onedrive-2.4.3
This commit is contained in:
parent
ceb05ea921
commit
235319fc11
3 changed files with 27 additions and 28 deletions
srcpkgs
1
srcpkgs/onedrive-d
Symbolic link
1
srcpkgs/onedrive-d
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
onedrive
|
|
@ -1,28 +0,0 @@
|
||||||
# Template file for 'onedrive-d'
|
|
||||||
pkgname=onedrive-d
|
|
||||||
version=1.1.3
|
|
||||||
revision=1
|
|
||||||
wrksrc="onedrive-${version}"
|
|
||||||
build_style=gnu-makefile
|
|
||||||
hostmakedepends="dmd"
|
|
||||||
makedepends="libcurl-devel sqlite-devel"
|
|
||||||
short_desc="Free Client for OneDrive on Linux"
|
|
||||||
maintainer="ibrokemypie <ibrokemypie@bastardi.net>"
|
|
||||||
license="GPL-3.0-or-later"
|
|
||||||
homepage="https://github.com/skilion/onedrive"
|
|
||||||
changelog="https://raw.githubusercontent.com/skilion/onedrive/master/CHANGELOG.md"
|
|
||||||
distfiles="https://github.com/skilion/onedrive/archive/v${version}.tar.gz"
|
|
||||||
checksum=fb12235a73919b3374b8f27785b834a690fba1c6e70c6e6f1f5da3e51eb471a0
|
|
||||||
nocross="https://build.voidlinux.org/builders/armv7l_builder/builds/3910/steps/shell_3/logs/stdio"
|
|
||||||
|
|
||||||
pre_build() {
|
|
||||||
printf 'v%s\n' "$pkgver" > version
|
|
||||||
sed -i '/^onedrive:/ s/version //' Makefile
|
|
||||||
sed -i 's/std\.c\./core.stdc./g' src/sqlite.d
|
|
||||||
}
|
|
||||||
|
|
||||||
post_install() {
|
|
||||||
vinstall config 644 usr/share/onedrive config.default
|
|
||||||
# We don't care about the systemd service installed here.
|
|
||||||
rm -rf ${DESTDIR}/usr/lib/systemd
|
|
||||||
}
|
|
26
srcpkgs/onedrive/template
Normal file
26
srcpkgs/onedrive/template
Normal file
|
@ -0,0 +1,26 @@
|
||||||
|
# Template file for 'onedrive'
|
||||||
|
pkgname=onedrive
|
||||||
|
version=2.4.3
|
||||||
|
revision=1
|
||||||
|
build_style=gnu-configure
|
||||||
|
configure_args="DC=ldc2"
|
||||||
|
hostmakedepends="ldc pkg-config"
|
||||||
|
makedepends="libcurl-devel sqlite-devel libnotify-devel"
|
||||||
|
short_desc="OneDrive Client for Linux"
|
||||||
|
maintainer="selfisekai <laura@selfisekai.rocks>"
|
||||||
|
license="GPL-3.0-or-later"
|
||||||
|
homepage="https://github.com/abraunegg/onedrive"
|
||||||
|
changelog="https://raw.githubusercontent.com/abraunegg/onedrive/v${version}/CHANGELOG.md"
|
||||||
|
distfiles="https://github.com/abraunegg/onedrive/archive/v${version}.tar.gz"
|
||||||
|
checksum=4236f436b3658e360164d945a8bc5c9620539c1339ef9182e3d060d2e3b90b9b
|
||||||
|
nocross="uses host flags for cross compilations"
|
||||||
|
|
||||||
|
post_install() {
|
||||||
|
vinstall config 644 usr/share/onedrive config.default
|
||||||
|
}
|
||||||
|
|
||||||
|
onedrive-d_package() {
|
||||||
|
build_style=meta
|
||||||
|
depends="${sourcepkg}"
|
||||||
|
short_desc+=" (transitional dummy package)"
|
||||||
|
}
|
Loading…
Reference in a new issue