29 lines
1011 B
Bash
29 lines
1011 B
Bash
# 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.eu/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
|
|
}
|