You are not logged in.
made a new package and would like some feedback on it
# Contributor: Dr.Egg <rwhite at archlinux dot us>
pkgname=arora-qtwebkit-git
pkgver=20090714
pkgrel=1
pkgdesc="Arora built agenst webkit trunk"
arch=('i686' 'x86_64')
url="http://code.google.com/p/arora/"
license=('GPL/custom')
depends=('qt>=4.4.0' 'libxslt' 'sqlite3' 'bison' 'flex>=2.5.33')
makedepends=('git' 'gperf')
provides=('arora' 'arora-git')
conflicts=('arora' 'arora-git')
options=('!libtool')
_gitroot1="git://git.webkit.org/WebKit.git"
_gitname1="webkit"
_gitroot2="git://github.com/Arora/arora.git"
_gitname2="arora"
build() {
cd "$srcdir"
if [ -d $_gitname1 ]; then
msg "Updating from git ..."
cd $_gitname1
git fetch origin
git merge origin/master
else
msg "Cloning git Tree ..."
git clone $_gitroot1 $_gitname1
fi
cd "$srcdir/$_gitname1"
msg "Starting build ..."
./WebKitTools/Scripts/build-webkit --qt --release
# install license
install -Dm644 ${srcdir}/webkit/WebKit/LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE
cd "$srcdir"
if [ -d $_gitname2 ]; then
msg "Updating from git ..."
cd $_gitname2
git fetch origin
git merge origin/master
else
msg "Cloning git Tree ..."
git clone $_gitroot2 $_gitname2
fi
cd "$srcdir/$_gitname2"
msg "Starting build ..."
cd $srcdir/arora
export QT_WEBKIT=webkit_trunk
export WEBKITDIR=$srcdir/webkit
qmake PREFIX="/usr/" "CONFIG-=debug" -r
make -j1 || return 1
make INSTALL_ROOT="$pkgdir" install || return 1
}Last edited by rwhite (2009-07-14 19:59:55)
Offline
Offline
AUR, not ABS, moving this to the correct forum.
Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy
Offline