diff options
author | Florian Pritz <bluewind@xssn.at> | 2009-08-20 00:51:51 +0200 |
---|---|---|
committer | Florian Pritz <bluewind@xssn.at> | 2009-08-20 00:51:51 +0200 |
commit | 168118db7c4b1fd03547440cc5359a6d1a2f4fd4 (patch) | |
tree | 6f2521b0d50d70a396dc969e803d0d11f8d33eeb /cairo-compmgr | |
parent | 702a3d5b092feb07625958a31dc225863319a10e (diff) | |
download | aur-packages-168118db7c4b1fd03547440cc5359a6d1a2f4fd4.tar.gz aur-packages-168118db7c4b1fd03547440cc5359a6d1a2f4fd4.tar.xz |
mass update
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: |