Updated yaourt, beginnings of plugapps-scripts package

This commit is contained in:
Mike Staszel 2010-11-27 12:35:54 -06:00
parent f4d65b51f0
commit c9eecccfc6
6 changed files with 57 additions and 42 deletions

View file

@ -1,23 +1,31 @@
# Contributor: tuxce <tuxce.net@gmail.com>
# Plugbox didn't change anything. This is from AUR.
# No Plugbox changes, straight from AUR, yaourt depends on this.
pkgname=package-query
pkgver=0.3
pkgrel=2
pkgver=0.5
pkgrel=3
pkgdesc="Query ALPM and AUR"
arch=('i686' 'x86_64' 'arm')
url="http://gitweb.archlinux.fr/cgit/package-query.git"
arch=('i686' 'x86_64')
url="http://gitweb.archlinux.fr/package-query.git/"
license=('GPL')
depends=(pacman curl yajl)
depends=('pacman>=3.4' curl yajl)
source=(http://mir.archlinux.fr/~tuxce/releases/$pkgname/$pkgname-$pkgver.tar.gz)
md5sums=('34d27cd1cb85ec71f1a320b2aa8a016b')
build() {
cd "$srcdir/$pkgname-$pkgver"
mkdir -p "$pkgdir/usr/bin"
mkdir -p "$pkgdir/usr/share/man/man8"
make DESTDIR="$pkgdir" install
./autogen.sh
./configure --localstatedir=/var --prefix=/usr \
--sysconfdir=/etc
make
}
package ()
{
cd "$srcdir/$pkgname-$pkgver"
make DESTDIR=$pkgdir install
}
# vim:set ts=2 sw=2 et:
md5sums=('5dd7f4aa61b6e8bd9d8dcadd9a26c039')

View file

@ -1,28 +1,35 @@
# Author: Julien MISCHKOWITZ <wain@archlinux.fr>
# Author: tuxce <tuxce.net@gmail.com>
# Plugbox didn't change anything. This is from AUR.
# No Plugbox changes, directly from AUR
pkgname=yaourt
pkgver=0.9.4.3
pkgver=0.9.5.1
pkgrel=1
pkgdesc="A Pacman frontend with more features and AUR support"
arch=(any)
url="http://www.archlinux.fr/yaourt-en/"
license="GPL"
depends=('diffutils' 'pacman>=3.3.3' 'package-query>=0.3')
makedepends=('gettext')
pkgdesc="A pacman wrapper with extended features and AUR support"
arch=('any')
url="http://www.archlinux.fr/yaourt-en/"
license=(GPL)
depends=('diffutils' 'pacman>=3.4.0' 'package-query>=0.4')
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')
'customizepkg: automatically modify PKGBUILD during install/upgrade'
'rsync: retrieve PKGBUILD from official repositories'
'pacman-color: fully colorized output')
install=yaourt.install
backup=('etc/yaourtrc')
source=(http://archiwain.free.fr/os/i686/$pkgname/$pkgname-$pkgver.src.tar.gz)
md5sums=('8f5508d4d3db0f7211fd1c898cb58d9a')
source=(http://mir.archlinux.fr/~tuxce/releases/$pkgname/$pkgname-$pkgver.tar.gz)
build() {
cd $startdir/src/$pkgname-$pkgver
make install DESTDIR=$pkgdir || return 1
cd $srcdir/$pkgname-$pkgver/
make PREFIX=/usr sysconfdir=/etc localstatedir=/var
}
package() {
cd $srcdir/$pkgname-$pkgver/
make PREFIX=/usr sysconfdir=/etc localstatedir=/var DESTDIR=$pkgdir install
}
# vim:set ts=2 sw=2 et:
md5sums=('8bc39a42f7fa05dbbf1a559a3f6af75c')

View file

@ -1,14 +1,12 @@
post_install() {
echo "==> Check /etc/yaourtrc, syntax of configuration file changes."
echo " -> man yaourtrc"
echo "==> To use yaourt as a user, add these entries to /etc/sudoers:"
echo " -> user ALL=NOPASSWD: /usr/bin/pacman"
echo " -> user ALL=NOPASSWD: /usr/bin/pacdiffviewer"
echo " (Please, use sudo carefully.)"
echo "==> For fully colorized output via pacman-color:"
echo " -> Set the PacmanBin option in /etc/yaourtrc"
cat <<-EndOfMessage
==> for a full colorized output, install pacman-color and export PACMAN=pacman-color
or set it into yaourtrc file.
EndOfMessage
/bin/true
}
post_upgrade() {
post_install $1
echo "Check /etc/yaourtrc"
post_install
}

View file

@ -1,7 +1,7 @@
# Maintainer: Mike Staszel <mikestaszel@plugapps.com>
pkgname=filesystem
pkgver=2010.09
pkgver=2010.12
pkgrel=1
pkgdesc="Base filesystem"
arch=('arm')
@ -9,7 +9,7 @@ license=('GPL')
url="http://plugboxlinux.org"
groups=('base')
install=filesystem.install
depends=('coreutils')
depends=('coreutils' 'plugapps-scripts')
backup=(etc/fstab etc/crypttab etc/group etc/hosts etc/ld.so.conf etc/passwd
etc/shadow etc/gshadow etc/resolv.conf etc/motd etc/nsswitch.conf
etc/shells etc/host.conf etc/securetty etc/profile etc/issue)

View file

@ -0,0 +1,3 @@
The plugapps-scripts package will contain fixes and scripts
that users can optionally run, as well as fixes we sometimes
discover after updating packages.

View file

@ -17,9 +17,9 @@
# NOTE: Make sure the package "mtd-utils" is installed for making UBI images.
#
# ==== Variables to set ====
PLUGSCRIPTDIR=/media/Plugbox/builder/plugapps/scripts/plugscripts
INSTALLEDPKGS="base kernel26-withlinux file openssh openssl heimdal"
RELEASEVER=2010.11
# PLUGSCRIPTDIR has been replaced by the 'plugapps-scripts' package
INSTALLEDPKGS="base kernel26-withlinux file heimdal ntfs-3g openssh openssl"
RELEASEVER=2010.12
MAKETARGZ=1
MAKEUBIIMG=1
# ==== The Process ====
@ -42,7 +42,6 @@ echo "de_DE@euro ISO-8859-15" >> $1/etc/locale.gen
chroot $1/ /usr/sbin/locale-gen
chroot $1/ /usr/bin/pacman -Scc --noconfirm
echo $RELEASEVER > $1/etc/plugbox-version
cp -R $PLUGSCRIPTDIR $1/usr/share/plugapps/
# Here is the rootfs.tar.gz part if you set MAKETARGZ to 1
if [ $MAKETARGZ = 1 ]; then