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>
|
||||
|
||||
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/"
|
||||
|
|
Loading…
Reference in a new issue