[aur-general] PKGBUILD for talking-clock

Storm Dragon stormdragon2976 at gmail.com
Mon Nov 12 19:01:52 EST 2012

# Contributor: Storm Dragon <aur at stormdragon.us>
pkgdesc="Highly configurable clock written in bash with soundpack and voice options."
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'
'yad: for talking-clock-gui to work')


msg "Connecting to the Git repository..."
if [[ -d "$srcdir/$_gitname" ]] ; then
    cd "$_gitname"
    git pull origin
    msg "The local files are updated"
    git clone --depth 1 $_gitroot


  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:
-------------- next part --------------
Here is take 3 lol. Hopefully I got it all this time. I had the cd in the wrong function.
Thanks for all the help
On Mon, Nov 12, 2012 at 03:12 PM, Jesse Juhani Jaara <jesse.jaara at gmail.com> wrote:

> from: Jesse Juhani Jaara <jesse.jaara at gmail.com>
> date: Mon, Nov 12 10:12 PM +02:00 2012
> to: aur-general at archlinux.org
> reply-to: "Discussion about the Arch User Repository \(AUR\)" <aur-general at archlinux.org>
> subject: Re: [aur-general] PKGBUILD for talking-clock
> I think the name could have that -git into it. Like most git packages
> do. Also instaed of https:// or http:// git urls should use git:// if
> avaiable and girhub provides that so use it instead.
> Also in the package() function you need to cd into the apps
> sourcedirectory 
> Also add the ""'s to the install commands.
Registered Linux user number 508465: https://linuxcounter.net/user/508465.html
My blog, Thoughts of a Dragon: http://www.stormdragon.us/
How many Internet mail list subscribers does it take to change a lightbulb? http://goo.gl/eO4PJ
"Mighty Elric, Mightier Sword. Sorcerer and Swordsman, slayer of kin, Lord of a dying race. King of ruin, dragon master, Champion of Doom."
Domine - Chronicles of the Black Sword

More information about the aur-general mailing list