summaryrefslogtreecommitdiff
path: root/community/cairo-dock
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-03-29 00:06:00 -0700
committerroot <root@rshg054.dnsready.net>2013-03-29 00:06:00 -0700
commit236f7ce9638c79b9ff594552540f3f5a2cbd8703 (patch)
tree48799f3962c80c2ba374b02815b865a253d12869 /community/cairo-dock
parent0fbe25a10dce8ec16455854ed6929b688f98cb36 (diff)
Fri Mar 29 00:06:00 PDT 2013
Diffstat (limited to 'community/cairo-dock')
-rwxr-xr-xcommunity/cairo-dock/PKGBUILD44
-rwxr-xr-xcommunity/cairo-dock/gldit-rpath.patch13
2 files changed, 57 insertions, 0 deletions
diff --git a/community/cairo-dock/PKGBUILD b/community/cairo-dock/PKGBUILD
new file mode 100755
index 000000000..221a7b11f
--- /dev/null
+++ b/community/cairo-dock/PKGBUILD
@@ -0,0 +1,44 @@
+# $Id: PKGBUILD 87221 2013-03-28 18:43:22Z alucryd $
+# Maintainer: Maxime Gauduin <alucryd@gmail.com>
+# Contributor: Tofe <chris.chapuis@gmail.com>
+# Contributor: erm67 <erm67@yahoo.it>
+
+pkgname=cairo-dock
+pkgver=3.2.0
+pkgrel=1
+pkgdesc="Light eye-candy fully themable animated dock"
+arch=('i686' 'x86_64')
+url="https://launchpad.net/cairo-dock-core"
+license=('GPL')
+groups=('cairo-dock')
+depends=('curl' 'dbus-glib' 'gtk3' 'gtkglext' 'librsvg')
+makedepends=('cmake' 'curl' 'dbus-glib' 'gtk3' 'gtkglext' 'inputproto' 'librsvg')
+options=('!libtool')
+source=("http://launchpad.net/${pkgname}-core/3.2/${pkgver}/+download/${pkgname}-${pkgver}.tar.gz" 'gldit-rpath.patch')
+sha256sums=('69d57dab16e70bb0683ba91f1dfd19a9ee0de0b1642ca6480fef9dacbb9c2fd2'
+ '5a5fbc67aaa210387ef4410701747fe741942c99c4bd84ae771b96a3bdd1c4cc')
+
+build() {
+ cd "${srcdir}"/${pkgname}-${pkgver}
+
+# Patch
+ patch -Np1 -i ../gldit-rpath.patch
+ sed -i 's|themes3.2|themes|' CMakeLists.txt
+
+# Build
+ if [[ -d build ]]; then
+ rm -rf build
+ fi
+ mkdir build && cd build
+ cmake .. -DCMAKE_INSTALL_PREFIX=/usr
+ make
+}
+
+package_cairo-dock() {
+ cd "${srcdir}"/${pkgname}-${pkgver}/build
+
+# Install
+ make DESTDIR="${pkgdir}" install
+}
+
+# vim: ts=2 sw=2 et:
diff --git a/community/cairo-dock/gldit-rpath.patch b/community/cairo-dock/gldit-rpath.patch
new file mode 100755
index 000000000..11f73bf55
--- /dev/null
+++ b/community/cairo-dock/gldit-rpath.patch
@@ -0,0 +1,13 @@
+--- a/src/gldit/CMakeLists.txt 2013-03-23 16:55:12.000000000 +0100
++++ b/src/gldit/CMakeLists.txt 2013-03-26 11:57:14.159200918 +0100
+@@ -82,9 +82,7 @@ link_directories(
+ ${GTK_LIBRARY_DIRS}
+ ${XEXTEND_LIBRARY_DIRS}
+ ${XINERAMA_LIBRARY_DIRS}
+- ${CMAKE_SOURCE_DIR}/src/gldit
+- ${CMAKE_SOURCE_DIR}/src/icon-factory
+- ${CMAKE_SOURCE_DIR}/src/implementations)
++ )
+
+ # Define the library
+ add_library ("gldi" SHARED ${core_lib_SRCS})