diff options
author | Zhang Hua | 2023-09-11 19:57:39 +0800 |
---|---|---|
committer | Zhang Hua | 2023-09-11 19:57:39 +0800 |
commit | af9a4f20c3fdc462cec98bd49c3ffd51d7763445 (patch) | |
tree | 4caa729a38ca1d104ed5e7e5aebb7dc5c953cecd | |
parent | a4eea3786ccc1ce1cc736ba8881a95a70d4dfd76 (diff) | |
download | aur-rclone-aliyundrive-git.tar.gz |
Fix build
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | PKGBUILD | 8 |
3 files changed, 8 insertions, 3 deletions
@@ -1,6 +1,6 @@ pkgbase = rclone-aliyundrive-git pkgdesc = Rclone with aliyundrive support. - pkgver = 1.59.0.beta.6199.08f5f7d56 + pkgver = 1.63.0.r0.g4f8f3b529 pkgrel = 1 url = https://rclone.org/ arch = x86_64 diff --git a/.gitignore b/.gitignore index d8579b797272..2377e7b0b4a2 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ pkg src rclone *.pkg.tar.* +*.log @@ -3,7 +3,7 @@ # Contributor: Morten Linderud <foxboron@archlinux.org> pkgname=rclone-aliyundrive-git -pkgver=1.59.0.beta.6199.08f5f7d56 +pkgver=1.63.0.r0.g4f8f3b529 pkgrel=1 pkgdesc="Rclone with aliyundrive support." arch=("x86_64") @@ -22,7 +22,7 @@ options=(!lto) pkgver(){ cd "${srcdir}/rclone" - make version | sed 's/v//;s/.makepkg$//;s/-/./g' + git describe --tags --long | sed 's/v//;s/-dev-/.r/;s/-/./g' } build(){ cd "${srcdir}/rclone" @@ -47,4 +47,8 @@ package(){ install -Dm644 rclone.1 "${pkgdir}/usr/share/man/man1/rclone.1" install -Dm644 MANUAL.html "${pkgdir}/usr/share/doc/${pkgname}/MANUAL.html" install -Dm644 MANUAL.txt "${pkgdir}/usr/share/doc/${pkgname}/MANUAL.txt" + + # Mount helper symlinks + ln -s /usr/bin/rclone "${pkgdir}/usr/bin/mount.rclone" + ln -s /usr/bin/rclone "${pkgdir}/usr/bin/rclonefs" } |