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

Maxime Gauduin alucryd at archlinux.org
Thu Nov 2 16:03:34 UTC 2017


    Date: Thursday, November 2, 2017 @ 16:03:33
  Author: alucryd
Revision: 265188

upgpkg: granite 0.5-1

Modified:
  granite/trunk/PKGBUILD

----------+
 PKGBUILD |   12 +++++-------
 1 file changed, 5 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-11-02 16:00:18 UTC (rev 265187)
+++ PKGBUILD	2017-11-02 16:03:33 UTC (rev 265188)
@@ -3,7 +3,7 @@
 # Contributor: Ner0 <darkelfdarkelf666 at yahoo dot co dot uk>
 
 pkgname=granite
-pkgver=0.4.1
+pkgver=0.5
 pkgrel=1
 pkgdesc='Library that extends Gtk+'
 arch=('i686' 'x86_64')
@@ -14,11 +14,9 @@
 makedepends=('cmake' 'gobject-introspection' 'vala')
 provides=('libgranite.so')
 source=("granite-${pkgver}.tar.gz::https://github.com/elementary/granite/archive/${pkgver}.tar.gz")
-sha256sums=('035a9b36ef73352ff8a76be06b876d9e2ea6633abb693fb67297d998c8d3a240')
+sha256sums=('cc4905ae70fddeba3d2ded44bb642be77d419aa090251a7ab24c155b8616be06')
 
 prepare() {
-  cd granite-${pkgver}
-
   if [[ -d build ]]; then
     rm -rf build
   fi
@@ -26,9 +24,9 @@
 }
 
 build() {
-  cd granite-${pkgver}/build
+  cd build
 
-  cmake .. \
+  cmake ../granite-${pkgver} \
     -DCMAKE_BUILD_TYPE='Release' \
     -DCMAKE_INSTALL_PREFIX='/usr' \
     -DCMAKE_INSTALL_LIBDIR='/usr/lib'
@@ -36,7 +34,7 @@
 }
 
 package() {
-  cd granite-${pkgver}/build
+  cd build
 
   make DESTDIR="${pkgdir}" install
 }


More information about the arch-commits mailing list