summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDenis Dyakov2018-12-23 08:04:32 +0600
committerDenis Dyakov2018-12-23 08:04:32 +0600
commitc2aa48e731f36ce740bdeb95712c08d97720263c (patch)
tree482dbb15d35bcdf4e3024fe3661face6c1646614
parent88e751331333059e3ac4829ae056d1dbbdab7aea (diff)
downloadaur-c2aa48e731f36ce740bdeb95712c08d97720263c.tar.gz
Fix build() section
-rw-r--r--.SRCINFO3
-rw-r--r--PKGBUILD10
2 files changed, 6 insertions, 7 deletions
diff --git a/.SRCINFO b/.SRCINFO
index a2b5b1533fa..2d81f038c25 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = gorsync-git
pkgdesc = Best GTK+ client frontend for RSYNC console utility.
- pkgver = 0.3.1
+ pkgver = 0.3.3
pkgrel = 1
url = https://github.com/d2r2/go-rsync
install = gorsync-git.install
@@ -17,6 +17,5 @@ pkgbase = gorsync-git
source = go-rsync::git+https://github.com/d2r2/go-rsync.git
md5sums = SKIP
-
pkgname = gorsync-git
diff --git a/PKGBUILD b/PKGBUILD
index 0fd67af3eac..fed53f9501c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=gorsync-git
_pkgname=go-rsync
-pkgver=0.3.1
+pkgver=0.3.3
epoch=
pkgrel=1
pkgdesc="Best GTK+ client frontend for RSYNC console utility."
@@ -46,10 +46,10 @@ pkgver() {
build() {
rm -rf "${srcdir}/.go/src"
- mkdir -p "${srcdir}/.go/src"
+ mkdir -p "${srcdir}/.go/src/github.com/d2r2"
# export GOPATH="${srcdir}/.go"
- mv "${srcdir}/${_pkgname}" "${srcdir}/.go/src/"
- cd "${srcdir}/.go/src/${_pkgname}/"
+ mv "${srcdir}/${_pkgname}" "${srcdir}/.go/src/github.com/d2r2/"
+ cd "${srcdir}/.go/src/github.com/d2r2/${_pkgname}/"
# download and build main package and all dependencies
# retrying n times, due to issue with go get functionality
n=0
@@ -66,7 +66,7 @@ build() {
package() {
_binname="gorsync"
# echo "Working dir $(pwd)"
- cd "${srcdir}/.go/src/${_pkgname}"
+ cd "${srcdir}/.go/src/github.com/d2r2/${_pkgname}"
install -Dm755 "${_binname}" "${pkgdir}/usr/bin/${_binname}"
install -Dm644 "builds/fpm_packages/gorsync.desktop" "$pkgdir/usr/share/applications/gorsync.desktop"
install -Dm644 "ui/gtkui/gsettings/org.d2r2.gorsync.gschema.xml" "$pkgdir/gsettings/org.d2r2.gorsync.gschema.xml"