[arch-commits] Commit in cairo-dock/trunk (PKGBUILD)

Maxime Gauduin alucryd at nymeria.archlinux.org
Sun Oct 13 10:48:12 UTC 2013


    Date: Sunday, October 13, 2013 @ 12:48:12
  Author: alucryd
Revision: 98549

upgpkg: cairo-dock 3.3.1-1

Modified:
  cairo-dock/trunk/PKGBUILD

----------+
 PKGBUILD |   21 +++++++--------------
 1 file changed, 7 insertions(+), 14 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-10-13 06:10:36 UTC (rev 98548)
+++ PKGBUILD	2013-10-13 10:48:12 UTC (rev 98549)
@@ -4,8 +4,8 @@
 # Contributor: erm67 <erm67 at yahoo.it>
 
 pkgname=cairo-dock
-pkgver=3.2.1
-pkgrel=3
+pkgver=3.3.1
+pkgrel=1
 pkgdesc="Light eye-candy fully themable animated dock"
 arch=('i686' 'x86_64')
 url="https://launchpad.net/cairo-dock-core"
@@ -14,18 +14,11 @@
 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')
+source=("http://launchpad.net/${pkgname}-core/${pkgver%.?}/${pkgver}/+download/${pkgname}-${pkgver}.tar.gz")
+sha256sums=('4d7c5c58606ac1e22dcbe6d80404e38d747c2c846102df09f25d5b97943f0459')
 
-prepare() {
-  cd "${srcdir}"/${pkgname}-${pkgver}
-
-  patch -Np1 -i ../gldit-rpath.patch
-}
-
 build() {
-  cd "${srcdir}"/${pkgname}-${pkgver}
+  cd ${pkgname}-${pkgver}
 
   if [[ -d build ]]; then
     rm -rf build
@@ -32,12 +25,12 @@
   fi
   mkdir build && cd build
 
-  cmake .. -DCMAKE_INSTALL_PREFIX=/usr
+  cmake .. -DCMAKE_INSTALL_PREFIX='/usr'
   make
 }
 
 package() {
-  cd "${srcdir}"/${pkgname}-${pkgver}/build
+  cd ${pkgname}-${pkgver}/build
 
   make DESTDIR="${pkgdir}" install
 }




More information about the arch-commits mailing list