Hi, I was trying to update my PKGBUILD for talking-clock to get the version from git, but it keeps failing and saying the directory doesn't exist. When I check though, the directory does exist. Can someone please take a look and tell me what I have done wrong? Thanks Storm --
-- Registered Linux user number 508465: https://linuxcounter.net/user/508465.html My blog, Thoughts of a Dragon: http://www.stormdragon.us/ get my public PGP key: gpg --keyserver wwwkeys.pgp.net --recv-key 43DDC193 My Blackberry is Broken: http://is.gd/my_blackberry_is_broken "gimme gimme shock treatment! I wanna wanna shock treatment!" Ramones - Gimme Gimme Shock Treatment
# Contributor: Storm Dragon <[email protected]> pkgname=talking-clock-git pkgver=2 pkgrel=1 pkgdesc="Highly configurable clock written in bash with soundpack and voice options." arch=('any') url="http://github.com/stormdragon2976/talking-clock" license=('GPL2') depends=('bash') makedepends=('git') optdepends=('espeak: TTS support' 'festival: TTS support' 'speech-dispatcher: TTS support' 'svox-pico-git: TTS support' 'pulseaudio: Chime sound support' 'sox: Chime sound support' 'vorbis-tools: Chime sound support' 'torsocks: Get temperature information anonymously using torify' 'yad: for talking-clock-gui to work') _gitroot="git://github.com/stormdragon2976/talking-clock.git" _gitname="talking-clock" build() { msg "Connecting to the Git repository..." if [[ -d "$srcdir/$_gitname" ]] ; then cd "$_gitname" git pull origin msg "The local files are updated" else git clone --depth 1 $_gitroot fi } pkgver() { cd "$srcdir/$_gitname" git describe --long --tags | sed -r 's/([^-]*-g)/r\1/;s/-/./g' } package() { msg "Starting to build the package..." cd "$srcdir/$_gitname" install -d "$pkgdir/usr/bin" install -d "$pkgdir/usr/share/talking-clock" install -m755 "src/talking-clock" "$pkgdir/usr/bin" install -m755 "talking-clock-gui/talking-clock-gui" "$pkgdir/usr/bin" install -m666 "README" "$pkgdir/usr/share/talking-clock" install -m666 "src/bell.ogg" "$pkgdir/usr/share/talking-clock" } # vim:set ts=2 sw=2 et:
pgpOqyzuv0lLf.pgp
Description: PGP signature
