ArchLinux/pkgbuild/cairo-compmgr-git/PKGBUILD
Cedric Girard 1efb815724 cairo-compmgr-git: vala is still neeeded
only libvala dep has been removed from the code...
2015-06-10 11:04:20 +02:00

56 lines
1.3 KiB
Bash

# Maintainer: Cedric Girard <girard.cedric@gmail.com>
# Contributor: catalyst <catalyst@xaker.ru>
# Contributor: Jacob Winther <jacob.winther@gmail.com>
pkgname=cairo-compmgr-git
epoch=1
pkgver=0.3.1.57.g416ae1a
pkgrel=2
pkgdesc="Cairo based composite manager - Git version"
arch=(i686 x86_64)
url="http://cairo-compmgr.tuxfamily.org/"
license=(LGPL3)
conflicts=(cairo-compmgr)
provides=(cairo-compmgr)
makedepends=(gettext git gtk-doc "intltool>=0.41" gconf vala)
depends=("gtk2>=2.16.0" libsm)
options=(!makeflags
!libtool)
source=('cairocompmgr::git+https://github.com/gandalfn/Cairo-Composite-Manager.git#branch=light')
md5sums=('SKIP')
pkgver() {
cd "$srcdir"/cairocompmgr
git describe --tags | sed 's|-|.|g'
}
prepare() {
cd "$srcdir"/cairocompmgr
#fix broken Clone plugin
sed -i '/^.*clone.*/d' configure.ac
sed -i '/^.*clone.*/d' plugins/Makefile.am
rm -rf plugins/clone
}
build() {
cd "$srcdir"/cairocompmgr
./autogen.sh --prefix=/usr LIBS="-ldl -lgmodule-2.0 -lm -lz"
make
}
package() {
cd "$srcdir"/cairocompmgr
make DESTDIR="$pkgdir" install
install -d "$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/"
}
# vim:set ts=2 sw=2 et: