diff options
author | Ian Young | 2018-08-06 22:41:11 -0500 |
---|---|---|
committer | Ian Young | 2018-08-06 23:19:05 -0500 |
commit | 577f89162c7cdfea75ec8c12a29e792f344fdac7 (patch) | |
tree | a291552c2bcc43b3f9b48f3b2942582e401ffb47 | |
parent | b8d8963d8caffef2fcdaa54a88d0272908187a91 (diff) | |
download | aur-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.
-rw-r--r-- | .SRCINFO | 6 | ||||
-rw-r--r-- | PKGBUILD | 23 |
2 files changed, 15 insertions, 14 deletions
@@ -1,6 +1,6 @@ pkgbase = duplicacy pkgdesc = A new generation cloud backup tool based on lock-free deduplication - pkgver = 2.1.1 + pkgver = 2.1.1_1 pkgrel = 1 url = https://duplicacy.com/ arch = x86_64 @@ -9,8 +9,8 @@ pkgbase = duplicacy makedepends = go makedepends = git depends = glibc - source = https://github.com/gilbertchen/duplicacy/archive/v2.1.1.tar.gz - sha256sums = 0f72789d7d4391375ad87378758e679a1653ed0ff7bee4214b996e11ad995791 + source = duplicacy-2.1.1_1.tar.gz::https://github.com/gilbertchen/duplicacy/archive/v2.1.1.tar.gz + sha256sums = 63f45389429cac27ef7ba54216fc2f696a0ffbee86c0316b1c4913aef66f1105 pkgname = duplicacy @@ -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" |