Another fix for 0.3.

master
frnmst/Franco Masotti 2015-11-16 00:12:06 +01:00
parent f81193da45
commit 79f13daa77
2 changed files with 4 additions and 3 deletions

View File

@ -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

View File

@ -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
}