cairo-compmgr: back to stable release available on github (0.3.1)
This commit is contained in:
parent
10ebd2f728
commit
fd43e6618c
1 changed files with 9 additions and 33 deletions
|
@ -8,55 +8,31 @@
|
||||||
# Contributor: Gianni Vialetto <g dot vialetto at gmail dot com>
|
# Contributor: Gianni Vialetto <g dot vialetto at gmail dot com>
|
||||||
|
|
||||||
pkgname=cairo-compmgr
|
pkgname=cairo-compmgr
|
||||||
pkgver=git20111002
|
pkgver=0.3.1
|
||||||
_commit=348f149af30bc829c2100d0e622c5dcaf43925b7
|
pkgrel=1
|
||||||
pkgrel=4
|
epoch=2
|
||||||
epoch=1
|
|
||||||
pkgdesc="A Cairo based composite manager"
|
pkgdesc="A Cairo based composite manager"
|
||||||
arch=(i686 x86_64)
|
arch=(i686 x86_64)
|
||||||
url="http://cairo-compmgr.tuxfamily.org/"
|
url="https://github.com/gandalfn/Cairo-Composite-Manager"
|
||||||
license=(LGPL)
|
license=(LGPL)
|
||||||
makedepends=(gettext gtk-doc "intltool>=0.41" git)
|
makedepends=(gettext gtk-doc "intltool>=0.41" git)
|
||||||
depends=("gtk2>=2.16.0" "vala>=0.16" libsm gconf)
|
depends=("gtk2>=2.16.0" "vala>=0.16" libsm gconf)
|
||||||
install=cairo-compmgr.install
|
install=cairo-compmgr.install
|
||||||
options=(!libtool)
|
options=(!libtool)
|
||||||
#source=(http://download.tuxfamily.org/ccm/$pkgname/$pkgname-$pkgver.tar.gz)
|
source=(https://github.com/downloads/gandalfn/Cairo-Composite-Manager/$pkgname-$pkgver.tar.bz2)
|
||||||
source=()
|
md5sums=('4ef285e0735b1a61b5db2205a2d8f8b3')
|
||||||
md5sums=()
|
|
||||||
|
|
||||||
__gitroot="git://git.tuxfamily.org/gitroot/ccm/cairocompmgr.git"
|
|
||||||
__gitname="cairo-compmgr"
|
|
||||||
|
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
# cd "$srcdir/$pkgname-$pkgver"
|
cd "$srcdir/$pkgname-$pkgver"
|
||||||
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"
|
|
||||||
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"
|
./autogen.sh --prefix=/usr LIBS="-ldl -lgmodule-2.0"
|
||||||
make -j1
|
make -j1
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
#cd "$srcdir/$pkgname-$pkgver"
|
cd "$srcdir/$pkgname-$pkgver"
|
||||||
cd "$srcdir/$__gitname-build"
|
|
||||||
|
|
||||||
make DESTDIR="$pkgdir" install
|
make DESTDIR="$pkgdir" install
|
||||||
mkdir -p "$pkgdir/usr/share/gconf/schemas/"
|
mkdir -p "$pkgdir/usr/share/gconf/schemas/"
|
||||||
|
|
Loading…
Reference in a new issue