# Template file for 'onedrive-d'
pkgname=onedrive-d
version=0.0.0.20170702
revision=1
_commit="849dd36276f99af87b36d7541bba79ba314d5b93"
build_style=gnu-makefile
hostmakedepends="dmd"
makedepends="libcurl-devel sqlite-devel"
nopie=true
short_desc="Free Client for OneDrive on Linux"
maintainer="ibrokemypie <ibrokemypie@bastardi.net>"
license="GPL-3"
homepage="https://github.com/skilion/onedrive"
distfiles="${homepage}/archive/${_commit}.tar.gz>${pkgname}-${version}.tar.gz"
wrksrc="onedrive-${_commit}"
checksum="8d1f72efc3b51fa50e02d0bd0ccc406975f2fcd69b96e7f9a2f565ef910df6b2"
nocross="https://build.voidlinux.eu/builders/armv7l_builder/builds/3910/steps/shell_3/logs/stdio"

post_install() {
	# We don't care about the systemd service installed here.
	rm -rf ${DESTDIR}/usr/lib/systemd
}
