summaryrefslogtreecommitdiff
path: root/community/cairo-dock/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/cairo-dock/PKGBUILD')
-rwxr-xr-xcommunity/cairo-dock/PKGBUILD23
1 files changed, 12 insertions, 11 deletions
diff --git a/community/cairo-dock/PKGBUILD b/community/cairo-dock/PKGBUILD
index 221a7b11f..5c742b33d 100755
--- a/community/cairo-dock/PKGBUILD
+++ b/community/cairo-dock/PKGBUILD
@@ -1,43 +1,44 @@
-# $Id: PKGBUILD 87221 2013-03-28 18:43:22Z alucryd $
+# $Id: PKGBUILD 87791 2013-04-06 16:56:43Z 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
+pkgrel=2
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')
+depends=('curl' 'dbus-glib' 'gtk3' 'librsvg')
+makedepends=('cmake')
+optdepends=('cairo-dock-plugins: Plugins for Cairo-Dock')
options=('!libtool')
source=("http://launchpad.net/${pkgname}-core/3.2/${pkgver}/+download/${pkgname}-${pkgver}.tar.gz" 'gldit-rpath.patch')
sha256sums=('69d57dab16e70bb0683ba91f1dfd19a9ee0de0b1642ca6480fef9dacbb9c2fd2'
'5a5fbc67aaa210387ef4410701747fe741942c99c4bd84ae771b96a3bdd1c4cc')
-build() {
+prepare() {
cd "${srcdir}"/${pkgname}-${pkgver}
-# Patch
patch -Np1 -i ../gldit-rpath.patch
- sed -i 's|themes3.2|themes|' CMakeLists.txt
+}
+
+build() {
+ cd "${srcdir}"/${pkgname}-${pkgver}
-# Build
if [[ -d build ]]; then
rm -rf build
fi
mkdir build && cd build
+
cmake .. -DCMAKE_INSTALL_PREFIX=/usr
make
}
-package_cairo-dock() {
+package() {
cd "${srcdir}"/${pkgname}-${pkgver}/build
-# Install
make DESTDIR="${pkgdir}" install
}