diff options
-rw-r--r-- | .INSTALL | 4 | ||||
-rw-r--r-- | .SRCINFO | 3 | ||||
-rw-r--r-- | PKGBUILD | 6 |
3 files changed, 10 insertions, 3 deletions
@@ -1,3 +1,7 @@ post_install() { echo "To setup GNUpot: gnupot -n" } + +post_upgrade() { + echo "To update GNUpot you must run the setup again with: gnupot -n" +} @@ -1,6 +1,6 @@ pkgbase = gnupot pkgdesc = Yet another libre Dropbox clone written in bash and based on git. - pkgver = 0.1.r0.gec65a2e + pkgver = 0.2.r0.gb1f3a5b pkgrel = 1 url = https://github.com/frnmst/gnupot install = .INSTALL @@ -19,6 +19,7 @@ pkgbase = gnupot depends = dialog depends = glibc depends = trickle + depends = gawk source = git://github.com/frnmst/gnupot.git md5sums = SKIP @@ -1,6 +1,6 @@ # Maintainer: Franco Masotti <franco dot masotti at student dot unife dot it> pkgname=gnupot -pkgver=0.1.r0.gec65a2e +pkgver=0.2.r0.gb1f3a5b pkgrel=1 pkgdesc="Yet another libre Dropbox clone written in bash and based on git." arch=('any') @@ -15,7 +15,8 @@ depends=('coreutils' 'git>=2.4' 'dialog' 'glibc' - 'trickle') + 'trickle' + 'gawk') makedepends=('coreutils' 'sed' 'git>=2.4') install=.INSTALL source=(git://github.com/frnmst/gnupot.git) @@ -25,6 +26,7 @@ build() { # Changes local to global paths. cd "$srcdir"/"$pkgname"/src sed -i 's/"${0%\/gnupot}"/\/opt\/gnupot/' gnupot.sh 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 } |