added AUR PKGBUILDs

This commit is contained in:
Cedric Girard 2010-12-22 12:22:10 +01:00
parent 68b7262e9e
commit 74709549c5
7 changed files with 241 additions and 0 deletions

View file

@ -0,0 +1,29 @@
# Maintainer: Cedric Girard <girard.cedric@gmail.com>
# Contributor: Tom <tomgparchaur@gmail.com>
pkgname=cacti-spine
pkgver=0.8.7g
pkgrel=2
pkgdesc="Faster poller for Cacti."
arch=('i686' 'x86_64')
url="http://cacti.net/spine_info.php"
license=('GPL')
depends=('mysql' 'net-snmp' 'openssl')
backup=('etc/spine.conf')
makedepends=('binutils')
source=("http://www.cacti.net/downloads/spine/${pkgname}-${pkgver}.tar.gz")
build() {
cd ${srcdir}/${pkgname}-${pkgver}
/usr/bin/aclocal
/usr/bin/libtoolize --force --copy
/usr/bin/autoheader
/usr/bin/autoconf
/usr/bin/automake --add-missing --copy --force-missing
/bin/chmod +x ./configure
./configure --prefix=/usr
make || return 1
make DESTDIR=${pkgdir} install || return 1
mv ${pkgdir}/usr/etc/ ${pkgdir}/
}
md5sums=('22c2b1986c880b9c587876c18d5c3f9f')

View file

@ -0,0 +1,51 @@
# Maintainer: Cedric Girard <girard.cedric@gmail.com>
# Contributor: catalyst <catalyst@xaker.ru>
# Contributor: Jacob Winther <jacob.winther@gmail.com>
pkgname=cairo-compmgr-git
pkgver=20101104
pkgrel=1
pkgdesc="Cairo based composite manager - Git version"
arch=(i686 x86_64)
url="http://cairo-compmgr.tuxfamily.org/"
license=(GPL)
conflicts=(cairo-compmgr)
provides=(cairo-compmgr)
makedepends=(gettext git gtk-doc "intltool>=0.41" gconf)
depends=("gtk2>=2.16.0" "vala>=0.9.7" libsm)
options=(!makeflags
!libtool)
_gitroot="git://git.tuxfamily.org/gitroot/ccm/cairocompmgr.git"
_gitname="cairocompmgr"
build() {
cd "$srcdir"
msg "Connecting to GIT server..."
if [[ -d $_gitname ]]; then
(cd $_gitname && git pull )
else
git clone $_gitroot $_gitname
fi
msg "GIT checkout done or server timeout"
msg "Starting make..."
rm -rf $_gitname-build
cp -r $_gitname $_gitname-build
cd $_gitname-build
./autogen.sh --prefix=/usr
make
}
package() {
cd $_gitname-build
make DESTDIR="$pkgdir" install
mkdir -p "$pkgdir/usr/share/gconf/schemas/"
gconf-merge-schema "$pkgdir/usr/share/gconf/schemas/cairo-compmgr.schemas" "$pkgdir/etc/gconf/schemas/*.schemas"
rm -rf "$pkgdir/etc/gconf/schemas/"
}

View file

@ -0,0 +1,41 @@
# Maintainer: Cedric MATHIEU <me.xenom @ gmail.com>
# Contributor: coderoar <coderoar @ gmail.com>
arch=('i686' 'x86_64')
license=('MPL' 'GPL' 'LGPL')
pkgname=firefox-nightly
pkgdesc='Standalone web browser from mozilla.org, nightly build.'
url='http://www.mozilla.org/projects/firefox'
pkgver=4.0b9pre
pkgrel=1
source=( 'firefox-nightly.desktop' 'firefox-nightly-safe.desktop' )
md5sums=( '940233ba24a2de784ea6c610872f01e4' '488e66c72fb678d2b99a22fe87bc5974' )
sha1sums=('6880230bc487bd65c5da43c19498f4520793e27b' '7faa96301d1c3d7772da859b96b3420cb0f34bb3')
depends=( 'desktop-file-utils' 'libxt' 'mime-types' 'nss' 'shared-mime-info' )
makedepends=('wget')
build() {
cd ${srcdir}
FX_SRC="firefox-${pkgver}.en-US.linux-${CARCH}.tar.bz2"
FX_SRC_URI="http://ftp.mozilla.org/pub/firefox/nightly/latest-trunk/${FX_SRC}"
msg "Downloading..."
wget -N ${FX_SRC_URI}
msg "Extracting..."
bsdtar -x -f ${FX_SRC}
msg "Packaging..."
# uncomment this line to remove them if you want
# rm -rf firefox/{extensions,plugins,searchplugins} || return 1
mkdir -p ${pkgdir}/{usr/{bin,share/{applications,pixmaps}},opt}
cp -R firefox ${pkgdir}/opt/firefox-${pkgver}
ln -s /opt/firefox-${pkgver}/firefox ${pkgdir}/usr/bin/firefox-nightly
install -m644 ${srcdir}/{firefox-nightly.desktop,firefox-nightly-safe.desktop} ${pkgdir}/usr/share/applications/
install -m644 ${srcdir}/firefox/icons/mozicon128.png ${pkgdir}/usr/share/pixmaps/${pkgname}-icon.png
}

View file

@ -0,0 +1,23 @@
# Maintainer: Cedric Girard <girard.cedric@gmail.com>
# Contributor: Dmitrij D. Czarkoff <czarkoff@gmail.com>
pkgname=gmpc-plugins
pkgver=0.20.0
pkgrel=2
pkgdesc="official plugins for GMPC"
arch=(i686 x86_64)
url="http://gmpc.wikia.com/"
license="GPL"
depends=('libmpd>=0.19.0' 'gmpc>=0.19.0' 'lirc' 'xosd' 'libwebkit' 'libmicrohttpd' 'taglib')
makedepends=('gob2' 'intltool')
source=(http://download.sarine.nl/Programs/gmpc/${pkgver}/${pkgname}-${pkgver}.tar.gz)
md5sums=('e8c47c7cfeb8aab8995beef45d1c95ce')
options=(!libtool)
build() {
cd ${startdir}/src
tar xzf ${pkgname}-${pkgver}.tar.gz
cd $startdir/src/$pkgname-$pkgver
./configure --prefix=/usr
make || return 1
make DESTDIR=$startdir/pkg install
}

View file

@ -0,0 +1,29 @@
# Maintainer: Cedric Girard <girard.cedric@gmail.com>
pkgname=perl-config-properties
pkgver=1.71
pkgrel=1
pkgdesc="Config::Properties is a near implementation of the java.util.Properties API."
arch=(any)
url="http://search.cpan.org/~salva/Config-Properties/"
license=('GPL' 'PerlArtistic')
depends=('perl>=5.10.0')
options=(!emptydirs)
source=(http://search.cpan.org/CPAN/authors/id/S/SA/SALVA/Config-Properties-$pkgver.tar.gz)
md5sums=(b8b8457f3b07f5e4b342353fed43f93b)
build() {
cd "$srcdir/Config-Properties-$pkgver"
# install module in vendor directories.
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
make
}
package() {
cd "$srcdir/Config-Properties-$pkgver"
make install DESTDIR="$pkgdir/"
}
# vim:set ts=2 sw=2 et:

View file

@ -0,0 +1,22 @@
# Contributor: Cedric Girard <girard.cedric@gmail.com>
pkgname=perl-rpsl-parser
pkgver=0.04000
pkgrel=1
pkgdesc="Router Policy Specification Language (RFC2622) Parser"
arch=(any)
url="http://search.cpan.org/~lmc/RPSL-Parser/"
license=('GPL' 'PerlArtistic')
depends=('perl>=5.10.0', 'perl-class-accessor>=0.31')
options=(!emptydirs)
source=(http://search.cpan.org/CPAN/authors/id/L/LM/LMC/RPSL-Parser-$pkgver.tar.gz)
md5sums=(f4344b0258b7d55dd5e0923a1fcda33d)
build() {
cd "$srcdir/RPSL-Parser-$pkgver"
perl Build.PL installdirs=vendor destdir="$pkgdir/"
perl Build
perl Build install
}
# vim:set ts=2 sw=2 et:

View file

@ -0,0 +1,46 @@
# Maintainer: Cedric Girard <girard.cedric@gmail.com>
pkgname=xmobar-git
pkgver=20101222
pkgrel=2
pkgdesc="A minimal status bar for the XMonad Window Manager"
arch=('i686' 'x86_64')
url="http://projects.haskell.org/xmobar/"
license=('custom:BSD3')
makedepends=('ghc>=6.12' 'haskell-x11-xft' 'haskell-stm' 'haskell-parsec' 'haskell-utf8-string' 'haskell-libmpd' 'haskell-hinotify' 'wireless_tools' 'git')
depends=('wireless_tools' 'gmp' 'libxinerama' 'libxft')
conflicts=('xmobar' 'xmobar-darcs')
install=
source=()
md5sums=()
_gitroot="https://github.com/jaor/xmobar.git"
_gitname="xmobar"
build() {
cd "${srcdir}"
msg "Connecting to GIT server...."
if [ -d $_gitname ] ; then
cd $_gitname && git pull origin
msg "The local files are updated."
else
git clone $_gitroot $_gitname
fi
msg "GIT checkout done or server timeout"
msg "Starting make..."
rm -rf "${srcdir}/$_gitname-build"
git clone "${srcdir}/$_gitname" "${srcdir}/$_gitname-build"
cd "${srcdir}/$_gitname-build"
runhaskell Setup configure --flags="all_extensions" --prefix=/usr
runhaskell Setup build
install -D -m644 LICENSE ${pkgdir}/usr/share/licenses/$pkgname/BSD3
}
package() {
cd "${srcdir}/$_gitname-build"
runhaskell Setup copy --destdir=${pkgdir}
}