summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorIan Young2018-08-06 23:20:27 -0500
committerIan Young2018-08-06 23:20:27 -0500
commit2916d28c2bda158df49a252e25fa743a60e410fc (patch)
treeda334fa59f0c23e257a77a14693b9be088c882a5
parent577f89162c7cdfea75ec8c12a29e792f344fdac7 (diff)
downloadaur-2916d28c2bda158df49a252e25fa743a60e410fc.tar.gz
Revert "Cut new release for overwritten 2.1.1 build"
This reverts commit 577f89162c7cdfea75ec8c12a29e792f344fdac7.
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD23
2 files changed, 14 insertions, 15 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 8b098610e6e..33bacacf002 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = duplicacy
pkgdesc = A new generation cloud backup tool based on lock-free deduplication
- pkgver = 2.1.1_1
+ pkgver = 2.1.1
pkgrel = 1
url = https://duplicacy.com/
arch = x86_64
@@ -9,8 +9,8 @@ pkgbase = duplicacy
makedepends = go
makedepends = git
depends = glibc
- source = duplicacy-2.1.1_1.tar.gz::https://github.com/gilbertchen/duplicacy/archive/v2.1.1.tar.gz
- sha256sums = 63f45389429cac27ef7ba54216fc2f696a0ffbee86c0316b1c4913aef66f1105
+ source = https://github.com/gilbertchen/duplicacy/archive/v2.1.1.tar.gz
+ sha256sums = 0f72789d7d4391375ad87378758e679a1653ed0ff7bee4214b996e11ad995791
pkgname = duplicacy
diff --git a/PKGBUILD b/PKGBUILD
index c43ae12dd6e..cfe4449ee37 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,8 +1,7 @@
# Maintainer: Ian Young <ian at iangreenleaf dot com>
pkgname=duplicacy
-pkgver=2.1.1_1
-_pkgver=2.1.1
+pkgver=2.1.1
pkgrel=1
pkgdesc="A new generation cloud backup tool based on lock-free deduplication"
arch=('x86_64' 'i686')
@@ -10,32 +9,32 @@ url="https://duplicacy.com/"
license=('custom')
depends=('glibc')
makedepends=('go' 'git')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/gilbertchen/$pkgname/archive/v$_pkgver.tar.gz")
-sha256sums=('63f45389429cac27ef7ba54216fc2f696a0ffbee86c0316b1c4913aef66f1105')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/gilbertchen/$pkgname/archive/v$pkgver.tar.gz")
+sha256sums=('0f72789d7d4391375ad87378758e679a1653ed0ff7bee4214b996e11ad995791')
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"