commit a9c647cadcdb74efbb115cf3186516e6eebeef6f Author: Maxime Gauduin Date: Mon Jun 8 11:10:06 2015 +0200 Initial import diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 0000000..c636015 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,23 @@ +pkgbase = cairo-dock-git + pkgdesc = Light eye-candy fully themable animated dock + pkgver = 3.4.1.r1.9e74374 + pkgrel = 1 + url = http://glx-dock.org/ + arch = i686 + arch = x86_64 + license = GPL + makedepends = cmake + makedepends = git + depends = curl + depends = dbus-glib + depends = glu + depends = gtk3 + depends = librsvg + optdepends = cairo-dock-plugins-git: Plugins for Cairo-Dock + provides = cairo-dock + conflicts = cairo-dock + source = cairo-dock::git+https://github.com/Cairo-Dock/cairo-dock-core.git + sha256sums = SKIP + +pkgname = cairo-dock-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000..aca88d3 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,47 @@ +# Maintainer: Maxime Gauduin +# Contributor: Tofe +# Contributor: erm67 + +pkgname=cairo-dock-git +pkgver=3.4.1.r1.9e74374 +pkgrel=1 +pkgdesc='Light eye-candy fully themable animated dock' +arch=('i686' 'x86_64') +url='http://glx-dock.org/' +license=('GPL') +depends=('curl' 'dbus-glib' 'glu' 'gtk3' 'librsvg') +makedepends=('cmake' 'git') +optdepends=('cairo-dock-plugins-git: Plugins for Cairo-Dock') +provides=('cairo-dock') +conflicts=('cairo-dock') +source=("cairo-dock::git+https://github.com/Cairo-Dock/cairo-dock-core.git") +sha256sums=('SKIP') + +pkgver() { + cd cairo-dock + + tag='3.4.1' + echo "${tag}.r$(git rev-list --count ${tag}..HEAD).$(git rev-parse --short HEAD)" +} + +build() { + cd cairo-dock + + if [[ -d build ]]; then + rm -rf build + fi + mkdir build && cd build + + cmake .. \ + -DCMAKE_BUILD_TYPE='Release' \ + -DCMAKE_INSTALL_PREFIX='/usr' + make +} + +package() { + cd cairo-dock/build + + make DESTDIR="${pkgdir}" install +} + +# vim: ts=2 sw=2 et: