From fd43e6618ce8dfe99bdce24232e3edcc36568581 Mon Sep 17 00:00:00 2001 From: Cedric Girard Date: Mon, 29 Oct 2012 12:08:24 +0100 Subject: [PATCH] cairo-compmgr: back to stable release available on github (0.3.1) --- pkgbuild/cairo-compmgr/PKGBUILD | 42 +++++++-------------------------- 1 file changed, 9 insertions(+), 33 deletions(-) diff --git a/pkgbuild/cairo-compmgr/PKGBUILD b/pkgbuild/cairo-compmgr/PKGBUILD index b1b3b1d..efe99af 100644 --- a/pkgbuild/cairo-compmgr/PKGBUILD +++ b/pkgbuild/cairo-compmgr/PKGBUILD @@ -8,55 +8,31 @@ # Contributor: Gianni Vialetto pkgname=cairo-compmgr -pkgver=git20111002 -_commit=348f149af30bc829c2100d0e622c5dcaf43925b7 -pkgrel=4 -epoch=1 +pkgver=0.3.1 +pkgrel=1 +epoch=2 pkgdesc="A Cairo based composite manager" arch=(i686 x86_64) -url="http://cairo-compmgr.tuxfamily.org/" +url="https://github.com/gandalfn/Cairo-Composite-Manager" license=(LGPL) makedepends=(gettext gtk-doc "intltool>=0.41" git) depends=("gtk2>=2.16.0" "vala>=0.16" libsm gconf) install=cairo-compmgr.install options=(!libtool) -#source=(http://download.tuxfamily.org/ccm/$pkgname/$pkgname-$pkgver.tar.gz) -source=() -md5sums=() - -__gitroot="git://git.tuxfamily.org/gitroot/ccm/cairocompmgr.git" -__gitname="cairo-compmgr" +source=(https://github.com/downloads/gandalfn/Cairo-Composite-Manager/$pkgname-$pkgver.tar.bz2) +md5sums=('4ef285e0735b1a61b5db2205a2d8f8b3') build() { -# cd "$srcdir/$pkgname-$pkgver" - cd "$srcdir" + cd "$srcdir/$pkgname-$pkgver" - 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" - git checkout "$_commit" - - sed -i 's!libvala-0.14!libvala-0.16!' vapi/cairo-compmgr.deps configure.ac ./autogen.sh --prefix=/usr LIBS="-ldl -lgmodule-2.0" make -j1 + } package() { - #cd "$srcdir/$pkgname-$pkgver" - cd "$srcdir/$__gitname-build" + cd "$srcdir/$pkgname-$pkgver" make DESTDIR="$pkgdir" install mkdir -p "$pkgdir/usr/share/gconf/schemas/"