[arch-commits] Commit in granite/trunk (PKGBUILD)
Maxime Gauduin
alucryd at archlinux.org
Mon May 8 11:57:31 UTC 2017
Date: Monday, May 8, 2017 @ 11:57:30
Author: alucryd
Revision: 227344
upgpkg: granite 0.4.1-1
Modified:
granite/trunk/PKGBUILD
----------+
PKGBUILD | 19 +++++++++----------
1 file changed, 9 insertions(+), 10 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-05-08 11:43:32 UTC (rev 227343)
+++ PKGBUILD 2017-05-08 11:57:30 UTC (rev 227344)
@@ -3,24 +3,22 @@
# Contributor: Ner0 <darkelfdarkelf666 at yahoo dot co dot uk>
pkgname=granite
-pkgver=0.4.0.1
+pkgver=0.4.1
pkgrel=1
-pkgdesc='An extension of GTK+ libraries'
+pkgdesc='Library that extends Gtk+'
arch=('i686' 'x86_64')
-url='https://launchpad.net/granite'
+url='https://github.com/elementary/granite'
license=('LGPL3')
-depends=('cairo' 'gdk-pixbuf2' 'glib2' 'glibc' 'gtk3' 'hicolor-icon-theme'
- 'libgee' 'pango')
+groups=('pantheon')
+depends=('cairo' 'gdk-pixbuf2' 'glib2' 'glibc' 'gtk3' 'libgee' 'pango')
makedepends=('cmake' 'gobject-introspection' 'vala')
provides=('libgranite.so')
-source=("https://launchpad.net/granite/0.4/${pkgver}/+download/granite-${pkgver}.tar.xz")
-sha256sums=('95a142a8befeedc35a089d638e759b657905508dc3007036d6c1fa3efe94c4dd')
+source=("granite-${pkgver}.tar.gz::https://github.com/elementary/granite/archive/${pkgver}.tar.gz")
+sha256sums=('035a9b36ef73352ff8a76be06b876d9e2ea6633abb693fb67297d998c8d3a240')
prepare() {
cd granite-${pkgver}
- sed '/demo/d' -i CMakeLists.txt
-
if [[ -d build ]]; then
rm -rf build
fi
@@ -31,9 +29,10 @@
cd granite-${pkgver}/build
cmake .. \
+ -DCMAKE_BUILD_TYPE='Release' \
-DCMAKE_INSTALL_PREFIX='/usr' \
-DCMAKE_INSTALL_LIBDIR='/usr/lib'
- make granite pot
+ make
}
package() {
More information about the arch-commits
mailing list