summaryrefslogtreecommitdiff
path: root/community/cairo-dock/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-08-13 01:33:19 -0700
committerroot <root@rshg054.dnsready.net>2013-08-13 01:33:19 -0700
commit7a65a910b77ad191d69881098c47f9b0c852d92e (patch)
tree9564e611af1442f8952a8cbddb3b0ad25ed71aab /community/cairo-dock/PKGBUILD
parent60da6abff6c9577a783d72865f11de7a585e912e (diff)
Tue Aug 13 01:31:08 PDT 2013
Diffstat (limited to 'community/cairo-dock/PKGBUILD')
-rwxr-xr-xcommunity/cairo-dock/PKGBUILD45
1 files changed, 45 insertions, 0 deletions
diff --git a/community/cairo-dock/PKGBUILD b/community/cairo-dock/PKGBUILD
new file mode 100755
index 000000000..8f910fe66
--- /dev/null
+++ b/community/cairo-dock/PKGBUILD
@@ -0,0 +1,45 @@
+# $Id: PKGBUILD 88925 2013-04-24 21:20:34Z alucryd $
+# Maintainer: Maxime Gauduin <alucryd@gmail.com>
+# Contributor: Tofe <chris.chapuis@gmail.com>
+# Contributor: erm67 <erm67@yahoo.it>
+
+pkgname=cairo-dock
+pkgver=3.2.1
+pkgrel=3
+pkgdesc="Light eye-candy fully themable animated dock"
+arch=('i686' 'x86_64')
+url="https://launchpad.net/cairo-dock-core"
+license=('GPL')
+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=('441e407f92138dc604c796b0455777b765e298ecb8f3120104f521d0e0b34543'
+ '5a5fbc67aaa210387ef4410701747fe741942c99c4bd84ae771b96a3bdd1c4cc')
+
+prepare() {
+ cd "${srcdir}"/${pkgname}-${pkgver}
+
+ patch -Np1 -i ../gldit-rpath.patch
+}
+
+build() {
+ cd "${srcdir}"/${pkgname}-${pkgver}
+
+ if [[ -d build ]]; then
+ rm -rf build
+ fi
+ mkdir build && cd build
+
+ cmake .. -DCMAKE_INSTALL_PREFIX=/usr
+ make
+}
+
+package() {
+ cd "${srcdir}"/${pkgname}-${pkgver}/build
+
+ make DESTDIR="${pkgdir}" install
+}
+
+# vim: ts=2 sw=2 et: