summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorfrnmst/Franco Masotti2015-11-16 00:12:06 +0100
committerfrnmst/Franco Masotti2015-11-16 00:12:06 +0100
commit79f13daa777c8541d9ca2960b807ff0eb3835e8f (patch)
tree65093212251a54e95f44f8ccecbb619beeccf5dc
parentf81193da4558067176cdc2856a6a8361242d14d2 (diff)
downloadaur-79f13daa777c8541d9ca2960b807ff0eb3835e8f.tar.gz
Another fix for 0.3.
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD5
2 files changed, 4 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 86d9b980ff19..d9fc2c82d836 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = gnupot
pkgdesc = Yet another libre Dropbox clone written in bash and based on git.
pkgver = 0.3.r0.ge7a03b7
- pkgrel = 2
+ pkgrel = 3
url = https://github.com/frnmst/gnupot
install = .INSTALL
arch = any
diff --git a/PKGBUILD b/PKGBUILD
index 1665ff3af104..60269d39f0bc 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Franco Masotti <franco dot masotti at student dot unife dot it>
pkgname=gnupot
pkgver=0.3.r0.ge7a03b7
-pkgrel=2
+pkgrel=3
pkgdesc="Yet another libre Dropbox clone written in bash and based on git."
arch=('any')
url="https://github.com/frnmst/gnupot"
@@ -25,7 +25,8 @@ md5sums=('SKIP')
build() {
# Changes local to global paths.
cd "$srcdir"/"$pkgname"/src
- sed -i 's/"${prgPath%\/gnupot}"/\/opt\/gnupot/' gnupot.sh functions.sh
+ sed -i 's/"${0%\/gnupot}"/\/opt\/gnupot/' gnupot.sh
+ sed -i 's/"${prgPath%\/gnupot}"/\/opt\/gnupot/' functions.sh
sed -i "s/git describe --long/printf \""$pkgver\\\\n"\"/" functions.sh
sed -i 's/src\/configVariables.conf/\/opt\/gnupot\/src\/configVariables.conf/' config.sh
}