diff --git a/community/package-query/PKGBUILD b/community/package-query/PKGBUILD new file mode 100644 index 000000000..fb0c288e0 --- /dev/null +++ b/community/package-query/PKGBUILD @@ -0,0 +1,23 @@ +# Contributor: tuxce + +# Plugbox didn't change anything. This is from AUR. + +pkgname=package-query +pkgver=0.3 +pkgrel=2 +pkgdesc="Query ALPM and AUR" +arch=('i686' 'x86_64' 'arm') +url="http://gitweb.archlinux.fr/cgit/package-query.git" +license=('GPL') +depends=(pacman 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 +} + diff --git a/community/yaourt/PKGBUILD b/community/yaourt/PKGBUILD new file mode 100644 index 000000000..5487f903a --- /dev/null +++ b/community/yaourt/PKGBUILD @@ -0,0 +1,28 @@ +# Author: Julien MISCHKOWITZ +# Author: tuxce + +# Plugbox didn't change anything. This is from AUR. + +pkgname=yaourt +pkgver=0.9.4.3 +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') +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=('8f5508d4d3db0f7211fd1c898cb58d9a') + +build() { + cd $startdir/src/$pkgname-$pkgver + make install DESTDIR=$pkgdir || return 1 +} diff --git a/community/yaourt/yaourt.install b/community/yaourt/yaourt.install new file mode 100644 index 000000000..1aa8043b9 --- /dev/null +++ b/community/yaourt/yaourt.install @@ -0,0 +1,14 @@ +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" +} + +post_upgrade() { + post_install $1 +} diff --git a/core/libpcap/PKGBUILD b/core/libpcap/PKGBUILD new file mode 100755 index 000000000..dadb76ffc --- /dev/null +++ b/core/libpcap/PKGBUILD @@ -0,0 +1,35 @@ +# Maintainer: Mike Staszel + +# Plugbox changes: +# - Commented out 2 ln -s lines + +pkgname=libpcap +pkgver=1.1.1 +pkgrel=1 +pkgdesc="A system-independent interface for user-level packet capture" +arch=('i686' 'x86_64') +url="http://www.tcpdump.org/" +license=('BSD') +depends=('glibc' 'libnl') +makedepends=('flex') +source=(http://www.tcpdump.org/release/libpcap-${pkgver}.tar.gz) +sha256sums=('508cca15547e55d1318498b838456a21770c450beb2dc7d7d4a96d90816e5a85') + +build() { + cd ${srcdir}/${pkgname}-${pkgver} + ./configure --prefix=/usr --enable-ipv6 + make || return 1 + make shared || return 1 + + install -d -m755 ${pkgdir}/usr/bin + make DESTDIR=${pkgdir} install install-shared || return 1 +# ln -s libpcap.so.1.0.0 ${pkgdir}/usr/lib/libpcap.so.1 +# ln -s libpcap.so.1.0.0 ${pkgdir}/usr/lib/libpcap.so + # backwards compatibility, programs often look for net/bpf.h + mkdir -p ${pkgdir}/usr/include/net + cd ${pkgdir}/usr/include/net + ln -s ../pcap-bpf.h bpf.h + + #install the license + install -D -m644 ${srcdir}/$pkgname-$pkgver/LICENSE ${pkgdir}/usr/share/licenses/$pkgname/LICENSE +}