diff options
Diffstat (limited to 'cairo-compmgr')
-rw-r--r-- | cairo-compmgr/PKGBUILD | 27 | ||||
-rw-r--r-- | cairo-compmgr/cairo-compmgr.install | 21 |
2 files changed, 48 insertions, 0 deletions
diff --git a/cairo-compmgr/PKGBUILD b/cairo-compmgr/PKGBUILD new file mode 100644 index 0000000..ea0c974 --- /dev/null +++ b/cairo-compmgr/PKGBUILD @@ -0,0 +1,27 @@ +# Contributor: Your Name <youremail@domain.com> +pkgname='cairo-compmgr' +pkgver='0.2.93' +pkgrel=1 +pkgdesc="Cairo based composite manager" +arch=('i686' 'x86_64') +url="http://cairo-compmgr.tuxfamily.org/" +license=('GPL') +depends=('cairo' 'libgnomeui' 'libxcomposite' 'gconf') +install="${pkgname}.install" +source=("http://download.tuxfamily.org/ccm/${pkgname}/${pkgname}-${pkgver}.tar.gz") + +build() { + cd "${startdir}/src/${pkgname}-${pkgver}" + + ./configure --prefix=/usr + make || return 1 + make DESTDIR="${startdir}/pkg" install + + mkdir -p ${startdir}/pkg/usr/share/gconf/schemas/ + gconf-merge-schema ${startdir}/pkg/usr/share/gconf/schemas/cairo-compmgr.schemas ${startdir}/pkg/etc/gconf/schemas/*.schemas + rm -rf ${startdir}/pkg/etc/gconf/schemas/ +} + +# vim:set ts=2 sw=2 et: +md5sums=('7df7d4df1cd91d655dc4f8073d82c1e8') +sha256sums=('6cd4552cfa572ca1db593e0cbcd4b4089e613e6409e23e28d93bdd2e6243b05c') diff --git a/cairo-compmgr/cairo-compmgr.install b/cairo-compmgr/cairo-compmgr.install new file mode 100644 index 0000000..27f8c86 --- /dev/null +++ b/cairo-compmgr/cairo-compmgr.install @@ -0,0 +1,21 @@ +post_install() { + gconfpkg --install cairo-compmgr +} + +pre_upgrade() { + gconfpkg --uninstall cairo-compmgr +} + +post_upgrade() { + gconfpkg --install cairo-compmgr +} + +pre_remove() { + gconfpkg --uninstall cairo-compmgr +} + +op=$1 +shift +[ "$(type -t "$op")" = "function" ] && $op "$@" + +# vim:set ts=2 sw=2 et: |