From 76b5704f46d3e59e41ed5883d23dd0d4aa818f4c Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Mon, 24 May 2010 22:02:28 +0200 Subject: updates Signed-off-by: Florian Pritz --- yaourt/PKGBUILD | 25 +++++++++++++++++++++++++ yaourt/yaourt.install | 14 ++++++++++++++ 2 files changed, 39 insertions(+) create mode 100644 yaourt/PKGBUILD create mode 100644 yaourt/yaourt.install (limited to 'yaourt') diff --git a/yaourt/PKGBUILD b/yaourt/PKGBUILD new file mode 100644 index 0000000..6ba116d --- /dev/null +++ b/yaourt/PKGBUILD @@ -0,0 +1,25 @@ +# Author: Julien MISCHKOWITZ +# Author: tuxce +pkgname=yaourt +pkgver=0.9.3.2 +pkgrel=1 +pkgdesc="A Pacman frontend with more features and AUR support" +arch=(any) +url="http://www.archlinux.fr/yaourt-en/" +license="GPL" +depends=('wget' 'diffutils' 'pacman>=3.3.3' 'package-query') +makedepends=('gettext') +optdepends=('aurvote: vote for favorite packages from AUR for inclusion in [community]' + 'customizepkg: automatically modify PKGUILD during install/upgrade' + 'pacman-color: fully colorized output' + 'rsync: retrieve PKGBUILD from official repositories' + 'colordiff: colorized output with yaourt -C') +install=yaourt.install +backup=('etc/yaourtrc') +source=(http://archiwain.free.fr/os/i686/$pkgname/$pkgname-$pkgver.src.tar.gz) +md5sums=('349be19ecea6d1befd813014935e8772') + +build() { + cd $startdir/src/$pkgname-$pkgver + make install DESTDIR=$pkgdir || return 1 +} diff --git a/yaourt/yaourt.install b/yaourt/yaourt.install new file mode 100644 index 0000000..9bd680a --- /dev/null +++ b/yaourt/yaourt.install @@ -0,0 +1,14 @@ +post_install() { + cat <<-EndOfMessage + ==> to use yaourt as user,add these entries to /etc/sudoers: + user ALL=NOPASSWD: /usr/bin/pacman + user ALL=NOPASSWD: /usr/bin/pacdiffviewer + (Please, use sudo very carefully) + ==> for a full colorized output, install pacman-color and set PacmanBin in /etc/yaourtrc + EndOfMessage + /bin/true +} + +post_upgrade() { + post_install +} -- cgit v1.2.3-24-g4f1b