Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- pkgname=akonadi-git
- pkgver=20110208
- pkgrel=1
- pkgdesc="Part of KDE4 Support"
- arch=('i686' 'x86_64')
- url="http://www.kde.org"
- license=('GPL')
- depends=('shared-mime-info' 'boost-libs' 'mysql' 'soprano-git')
- makedepends=('pkgconfig' 'cmake' 'automoc4' 'boost')
- _gitroot="git://anongit.kde.org/akonadi"
- _gitname="akonadi"
- build() {
- . /etc/profile.d/kde-git.sh
- cd $srcdir
- msg "Connecting to the GIT server...."
- if [[ -d $srcdir/$_gitname ]] ; then
- cd $_gitname
- git pull origin
- msg "The local files are updated."
- else
- git clone $_gitroot
- fi
- msg "GIT checkout done"
- msg "Starting make..."
- mkdir $srcdir/$_gitname-build
- cd $srcdir/$_gitname-build
- cmake $startdir/src/$_gitname -DCMAKE_BUILD_TYPE=debugfull -DCMAKE_INSTALL_PREFIX=/opt/kde4
- make
- }
- package() {
- cd ${srcdir}/$_gitname-build
- make DESTDIR=${pkgdir} install
- rm -r $srcdir/$_gitname-build
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement