[arch-commits] Commit in granite/repos (2 files)
Maxime Gauduin
alucryd at archlinux.org
Wed Jun 20 15:25:20 UTC 2018
Date: Wednesday, June 20, 2018 @ 15:25:19
Author: alucryd
Revision: 344207
archrelease: copy trunk to community-staging-x86_64
Added:
granite/repos/community-staging-x86_64/
granite/repos/community-staging-x86_64/PKGBUILD
(from rev 344206, granite/trunk/PKGBUILD)
----------+
PKGBUILD | 42 ++++++++++++++++++++++++++++++++++++++++++
1 file changed, 42 insertions(+)
Copied: granite/repos/community-staging-x86_64/PKGBUILD (from rev 344206, granite/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2018-06-20 15:25:19 UTC (rev 344207)
@@ -0,0 +1,42 @@
+# $Id$
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+# Contributor: Ner0 <darkelfdarkelf666 at yahoo.co.uk>
+
+pkgname=granite
+pkgver=5.0
+pkgrel=1
+pkgdesc='Library that extends Gtk+'
+arch=('x86_64')
+url='https://github.com/elementary/granite'
+license=('LGPL3')
+groups=('pantheon')
+depends=('cairo' 'gdk-pixbuf2' 'glib2' 'gtk3' 'libgee' 'pango')
+makedepends=('cmake' 'gobject-introspection' 'vala')
+provides=('libgranite.so')
+source=("granite-${pkgver}.tar.gz::https://github.com/elementary/granite/archive/${pkgver}.tar.gz")
+sha256sums=('62dd9a8ddef61d42bb77fdc6626e235d3129bd438533a1575652f7a15fd186c8')
+
+prepare() {
+ if [[ -d build ]]; then
+ rm -rf build
+ fi
+ mkdir build
+}
+
+build() {
+ cd build
+
+ cmake ../granite-${pkgver} \
+ -DCMAKE_BUILD_TYPE='Release' \
+ -DCMAKE_INSTALL_PREFIX='/usr' \
+ -DCMAKE_INSTALL_LIBDIR='/usr/lib'
+ make
+}
+
+package() {
+ cd build
+
+ make DESTDIR="${pkgdir}" install
+}
+
+# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list