onedrive-d: update to 1.1.1. (#1888)
This commit is contained in:
parent
9cd71a0baa
commit
356c42f3bf
@ -1,22 +1,27 @@
|
||||
# Template file for 'onedrive-d'
|
||||
pkgname=onedrive-d
|
||||
version=0.0.0.20170702
|
||||
version=1.1.1
|
||||
revision=1
|
||||
_commit="849dd36276f99af87b36d7541bba79ba314d5b93"
|
||||
wrksrc="onedrive-${version}"
|
||||
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"
|
||||
license="GPL-3.0-or-later"
|
||||
homepage="https://github.com/skilion/onedrive"
|
||||
distfiles="${homepage}/archive/${_commit}.tar.gz>${pkgname}-${version}.tar.gz"
|
||||
wrksrc="onedrive-${_commit}"
|
||||
checksum="8d1f72efc3b51fa50e02d0bd0ccc406975f2fcd69b96e7f9a2f565ef910df6b2"
|
||||
distfiles="https://github.com/skilion/onedrive/archive/v${version}.tar.gz"
|
||||
checksum=fb51c81ec95c28f3fe3b29e3b7f915e30161bd5f4b14bb53ae5c2233cc1e92e9
|
||||
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
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user