-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathPKGBUILD
28 lines (25 loc) · 1.16 KB
/
PKGBUILD
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Maintainer: Peter Smit <[email protected]>
_pkgname=onedrive
pkgname=$_pkgname-abraunegg
pkgver=2.4.20
pkgrel=1
epoch=
pkgdesc="Free OneDrive client written in D - abraunegg's fork. Follows the releases on https://github.com/abraunegg/onedrive/releases"
arch=('i686' 'x86_64' 'armv7h' 'aarch64')
url="https://github.com/abraunegg/onedrive"
license=('GPL')
conflicts=('onedrive' 'onedrive-abraunegg-git' 'onedrive-bin' 'onedrive-git' 'onedrive-fork-git')
source=("https://github.com/abraunegg/onedrive/archive/v$pkgver.tar.gz")
provides=("onedrive=$pkgver")
depends=('curl' 'libnotify' 'sqlite' 'liblphobos')
makedepends=('ldc')
build() {
cd "$_pkgname-$pkgver"
./configure --sysconfdir=/etc --prefix=/usr --with-systemdsystemunitdir=/usr/lib/systemd/system --with-systemduserunitdir=/usr/lib/systemd/user --enable-notifications --enable-completions --with-zsh-completion-dir=/usr/share/zsh/site-functions --with-fish-completion-dir=/usr/share/fish/vendor_completions.d --with-bash-completion-dir=/usr/share/bash-completion/completions
make
}
package() {
cd "$_pkgname-$pkgver"
make DESTDIR=$pkgdir PREFIX=/usr install
}
md5sums=('0f9f0fcf35ff40743bd0b5e222ce1b74')