Merge branch 'master' of https://github.com/X-dark/ArchLinux
This commit is contained in:
commit
47ec65e32e
2 changed files with 82 additions and 0 deletions
65
pkgbuild/cairo-compmgr/PKGBUILD
Normal file
65
pkgbuild/cairo-compmgr/PKGBUILD
Normal file
|
@ -0,0 +1,65 @@
|
||||||
|
# Maintainer: Cedric Girard <girard.cedric@gmail.com>
|
||||||
|
# Contributor: Florian Pritz <flo@xinu.at>
|
||||||
|
# Contributor: Adam Hani Schakaki (krzd) <krzd@krzd.net>
|
||||||
|
# Contributor: Det <nimetonmaili at gmail a-dot com>
|
||||||
|
# Contributor: catalyst <catalyst@xaker.ru>
|
||||||
|
# Contributor: Devin Cofer <ranguvar{AT]archlinux[DOT}us>
|
||||||
|
# Contributor: jackobw
|
||||||
|
# Contributor: Gianni Vialetto <g dot vialetto at gmail dot com>
|
||||||
|
|
||||||
|
pkgname=cairo-compmgr
|
||||||
|
pkgver=git20111002
|
||||||
|
_commit=348f149af30bc829c2100d0e622c5dcaf43925b7
|
||||||
|
pkgrel=3
|
||||||
|
epoch=1
|
||||||
|
pkgdesc="A Cairo based composite manager"
|
||||||
|
arch=(i686 x86_64)
|
||||||
|
url="http://cairo-compmgr.tuxfamily.org/"
|
||||||
|
license=(LGPL)
|
||||||
|
makedepends=(gettext gtk-doc "intltool>=0.41" git)
|
||||||
|
depends=("gtk2>=2.16.0" "vala>=0.14" 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"
|
||||||
|
|
||||||
|
|
||||||
|
build() {
|
||||||
|
# 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!vala-0.10!libvala-0.12!' vapi/cairo-compmgr.deps configure.ac
|
||||||
|
./autogen.sh --prefix=/usr LIBS=-ldl
|
||||||
|
make -j1
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
#cd "$srcdir/$pkgname-$pkgver"
|
||||||
|
cd "$srcdir/$__gitname-build"
|
||||||
|
|
||||||
|
make DESTDIR="$pkgdir" install
|
||||||
|
mkdir -p "$pkgdir/usr/share/gconf/schemas/"
|
||||||
|
gconf-merge-schema "$pkgdir/usr/share/gconf/schemas/cairo-compmgr.schemas" "$pkgdir/etc/gconf/schemas/*.schemas"
|
||||||
|
rm -rf "$pkgdir/etc/gconf/schemas/"
|
||||||
|
}
|
17
pkgbuild/cairo-compmgr/cairo-compmgr.install
Normal file
17
pkgbuild/cairo-compmgr/cairo-compmgr.install
Normal file
|
@ -0,0 +1,17 @@
|
||||||
|
post_install() {
|
||||||
|
gconfpkg --install cairo-compmgr
|
||||||
|
}
|
||||||
|
|
||||||
|
pre_upgrade() {
|
||||||
|
gconfpkg --uninstall cairo-compmgr
|
||||||
|
}
|
||||||
|
|
||||||
|
post_upgrade() {
|
||||||
|
gconfpkg --install cairo-compmgr
|
||||||
|
}
|
||||||
|
|
||||||
|
pre_remove() {
|
||||||
|
gconfpkg --uninstall cairo-compmgr
|
||||||
|
}
|
||||||
|
|
||||||
|
# vim:set ts=2 sw=2 et:
|
Loading…
Reference in a new issue