[arch-commits] Commit in granite/trunk (PKGBUILD)
Maxime Gauduin
alucryd at archlinux.org
Sat Aug 25 11:13:33 UTC 2018
Date: Saturday, August 25, 2018 @ 11:13:32
Author: alucryd
Revision: 373991
upgpkg: granite 5.1.0-1
Modified:
granite/trunk/PKGBUILD
----------+
PKGBUILD | 14 ++++++--------
1 file changed, 6 insertions(+), 8 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-08-25 09:19:33 UTC (rev 373990)
+++ PKGBUILD 2018-08-25 11:13:32 UTC (rev 373991)
@@ -3,7 +3,7 @@
# Contributor: Ner0 <darkelfdarkelf666 at yahoo.co.uk>
pkgname=granite
-pkgver=5.0
+pkgver=5.1.0
pkgrel=1
pkgdesc='Library that extends Gtk+'
arch=('x86_64')
@@ -11,10 +11,10 @@
license=('LGPL3')
groups=('pantheon')
depends=('cairo' 'gdk-pixbuf2' 'glib2' 'gtk3' 'libgee' 'pango')
-makedepends=('cmake' 'gobject-introspection' 'vala')
+makedepends=('cmake' 'git' 'gobject-introspection' 'vala')
provides=('libgranite.so')
-source=("granite-${pkgver}.tar.gz::https://github.com/elementary/granite/archive/${pkgver}.tar.gz")
-sha256sums=('62dd9a8ddef61d42bb77fdc6626e235d3129bd438533a1575652f7a15fd186c8')
+source=("git+https://github.com/elementary/granite.git#tag=${pkgver}")
+sha256sums=('SKIP')
prepare() {
if [[ -d build ]]; then
@@ -26,7 +26,7 @@
build() {
cd build
- cmake ../granite-${pkgver} \
+ cmake ../granite \
-DCMAKE_BUILD_TYPE='Release' \
-DCMAKE_INSTALL_PREFIX='/usr' \
-DCMAKE_INSTALL_LIBDIR='/usr/lib'
@@ -34,9 +34,7 @@
}
package() {
- cd build
-
- make DESTDIR="${pkgdir}" install
+ make DESTDIR="${pkgdir}" -C build install
}
# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list