summaryrefslogtreecommitdiff
path: root/community/granite
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-10-25 02:08:36 -0700
committerroot <root@rshg054.dnsready.net>2013-10-25 02:08:36 -0700
commit5a3821aec094b38a412cf5e6997c08b6428d6f77 (patch)
tree80caf9e8d169d5c43d828ede599cb91fa065d8df /community/granite
parent94ded0cb27161b972228cfef8ea2e6f60af0f2b2 (diff)
Fri Oct 25 02:07:10 PDT 2013
Diffstat (limited to 'community/granite')
-rw-r--r--community/granite/PKGBUILD36
-rw-r--r--community/granite/granite.install13
2 files changed, 49 insertions, 0 deletions
diff --git a/community/granite/PKGBUILD b/community/granite/PKGBUILD
new file mode 100644
index 000000000..45930bbfe
--- /dev/null
+++ b/community/granite/PKGBUILD
@@ -0,0 +1,36 @@
+# $Id: PKGBUILD 99110 2013-10-24 13:12:55Z alucryd $
+# Maintainer: Maxime Gauduin <alucryd at gmail dot com>
+# Contributor: Ner0 <darkelfdarkelf666 at yahoo dot co dot uk>
+
+pkgname=granite
+pkgver=0.2.2
+pkgrel=3
+pkgdesc="An extension of GTK+ libraries"
+arch=('i686' 'x86_64')
+url="https://launchpad.net/granite"
+license=('LGPL3')
+depends=('gtk3' 'libgee06')
+makedepends=('cmake' 'gobject-introspection' 'vala')
+install="${pkgname}.install"
+source=("https://launchpad.net/${pkgname}/${pkgver%\.?}/${pkgver}/+download/${pkgname}-${pkgver}.tar.gz")
+sha256sums=('341f94cd8c2af60fc072fb8602e1406bccd77189aad76424b172c3ce08c173cc')
+
+build() {
+ cd ${pkgname}-${pkgver}
+
+ if [[ -d build ]]; then
+ rm -rf build
+ fi
+ mkdir build && cd build
+
+ cmake .. -DCMAKE_INSTALL_PREFIX='/usr' -DCMAKE_BUILD_TYPE='Release'
+ make
+}
+
+package() {
+ cd ${pkgname}-${pkgver}/build
+
+ make DESTDIR="${pkgdir}" install
+}
+
+# vim: ts=2 sw=2 et:
diff --git a/community/granite/granite.install b/community/granite/granite.install
new file mode 100644
index 000000000..11027f6ea
--- /dev/null
+++ b/community/granite/granite.install
@@ -0,0 +1,13 @@
+post_install() {
+ gtk-update-icon-cache -ftq usr/share/icons/hicolor
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}
+
+# vim: ts=2 sw=2 et: