9 exec { 'pacman-base-devel':
10 command => '/usr/bin/pacman -Sy base-devel --needed --noconfirm',
11 unless => '/usr/bin/pacman -Qo aura',
12 logoutput => 'on_failure',
15 ensure_packages(['gmp', 'pcre', 'abs'], { 'install_options' => '--asdeps' })
20 command => 'curl -o /tmp/aur.sh aur.sh && chmod +x /tmp/aur.sh && /tmp/aur.sh aura-bin && mv /tmp/aura-bin/aura-bin-*-x86_64.pkg.tar.xz /tmp/aura-bin-x86_64.pkg.tar.xz && rm /tmp/aur.sh && rm -rf /tmp/aura-bin',
21 user => "aur-builder",
22 unless => '/usr/bin/pacman -Qo aura',
23 require => Exec['pacman-base-devel'],
24 logoutput => 'on_failure',
29 source => "/tmp/aura-bin-x86_64.pkg.tar.xz",
30 notify => Exec['aur::aura::cleanup']
33 exec { 'aur::aura::cleanup':
35 command => "rm -f /tmp/aura-bin-x86_64.pkg.tar.xz",