summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorIan Young2018-08-06 22:41:11 -0500
committerIan Young2018-08-06 23:19:05 -0500
commit577f89162c7cdfea75ec8c12a29e792f344fdac7 (patch)
treea291552c2bcc43b3f9b48f3b2942582e401ffb47 /PKGBUILD
parentb8d8963d8caffef2fcdaa54a88d0272908187a91 (diff)
downloadaur-577f89162c7cdfea75ec8c12a29e792f344fdac7.tar.gz
Cut new release for overwritten 2.1.1 build
A new build of v2.1.1 was silently pushed to the repository. Bump to a made-up version number to deal with that.
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD23
1 files changed, 12 insertions, 11 deletions
diff --git a/PKGBUILD b/PKGBUILD
index b6546b61a44..c43ae12dd6e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,8 @@
# Maintainer: Ian Young <ian at iangreenleaf dot com>
pkgname=duplicacy
-pkgver=2.1.1
+pkgver=2.1.1_1
+_pkgver=2.1.1
pkgrel=1
pkgdesc="A new generation cloud backup tool based on lock-free deduplication"
arch=('x86_64' 'i686')
@@ -9,32 +10,32 @@ url="https://duplicacy.com/"
license=('custom')
depends=('glibc')
makedepends=('go' 'git')
-source=("https://github.com/gilbertchen/$pkgname/archive/v$pkgver.tar.gz")
-sha256sums=('0f72789d7d4391375ad87378758e679a1653ed0ff7bee4214b996e11ad995791')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/gilbertchen/$pkgname/archive/v$_pkgver.tar.gz")
+sha256sums=('63f45389429cac27ef7ba54216fc2f696a0ffbee86c0316b1c4913aef66f1105')
prepare() {
- cd "$pkgname-$pkgver/$pkgname"
+ cd "$pkgname-$_pkgver/$pkgname"
mkdir -p "src/github.com/gilbertchen"
- ln -sf "$srcdir/$pkgname-$pkgver" "src/github.com/gilbertchen/$pkgname"
+ ln -sf "$srcdir/$pkgname-$_pkgver" "src/github.com/gilbertchen/$pkgname"
- GOPATH="$srcdir/$pkgname-$pkgver/$pkgname" go get -d -v
+ GOPATH="$srcdir/$pkgname-$_pkgver/$pkgname" go get -d -v
}
build() {
- cd "$pkgname-$pkgver/$pkgname"
+ cd "$pkgname-$_pkgver/$pkgname"
- GOPATH="$srcdir/$pkgname-$pkgver/$pkgname" go build -x
+ GOPATH="$srcdir/$pkgname-$_pkgver/$pkgname" go build -x
}
check() {
- cd "$pkgname-$pkgver/$pkgname"
+ cd "$pkgname-$_pkgver/$pkgname"
- GOPATH="$srcdir/$pkgname-$pkgver/$pkgname" go test -v -x
+ GOPATH="$srcdir/$pkgname-$_pkgver/$pkgname" go test -v -x
}
package() {
- cd "$pkgname-$pkgver"
+ cd "$pkgname-$_pkgver"
install -Dm755 "$pkgname/$pkgname" "$pkgdir/usr/bin/$pkgname"
install -Dm644 LICENSE.md "$pkgdir/usr/share/licenses/$pkgname/LICENSE.md"