summaryrefslogtreecommitdiff
path: root/testing/libpeas
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2011-09-29 23:14:32 +0000
committerroot <root@rshg054.dnsready.net>2011-09-29 23:14:32 +0000
commit0abb1942e8be584d56a1b35b2d1911cbe9f5bbd1 (patch)
tree1a8030f72ecc9d90c9f4c41d9a9d0662169b6404 /testing/libpeas
parentf8db5d1487e8e0ceeb97a396e357c1540a047ed8 (diff)
Thu Sep 29 23:14:32 UTC 2011
Diffstat (limited to 'testing/libpeas')
-rw-r--r--testing/libpeas/PKGBUILD32
-rw-r--r--testing/libpeas/libpeas.install11
2 files changed, 43 insertions, 0 deletions
diff --git a/testing/libpeas/PKGBUILD b/testing/libpeas/PKGBUILD
new file mode 100644
index 000000000..41a36fb4f
--- /dev/null
+++ b/testing/libpeas/PKGBUILD
@@ -0,0 +1,32 @@
+# $Id: PKGBUILD 139004 2011-09-28 19:32:24Z ibiru $
+# Maintainer: Jan "heftig" Steffens <jan.steffens@gmail.com>
+
+pkgname=libpeas
+pkgver=1.2.0
+pkgrel=1
+pkgdesc="A GObject-based plugins engine"
+arch=('i686' 'x86_64')
+url="http://www.gtk.org/"
+license=('GPL2')
+depends=('gtk3' 'hicolor-icon-theme' 'gobject-introspection')
+makedepends=('gtk-doc' 'intltool' 'vala' 'python2-gobject' 'gjs' 'seed')
+optdepends=('gjs: gobject-based plugin engine - gjs runtime loader'
+ 'seed: gbject-based plugin engine - seed runtime loader')
+options=('!libtool')
+install=libpeas.install
+source=(http://download.gnome.org/sources/$pkgname/${pkgver%.*}/$pkgname-${pkgver}.tar.xz)
+sha256sums=('871868ff44352367a4b4602352f60fd20eb99794ade454f3b120d87c1560f31c')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+ PYTHON=/usr/bin/python2 ./configure --prefix=/usr \
+ --sysconfdir=/etc --localstatedir=/var
+ make
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+ make DESTDIR="${pkgdir}" install
+}
+
+# vim:set ts=2 sw=2 et:
diff --git a/testing/libpeas/libpeas.install b/testing/libpeas/libpeas.install
new file mode 100644
index 000000000..1a05f573e
--- /dev/null
+++ b/testing/libpeas/libpeas.install
@@ -0,0 +1,11 @@
+post_install() {
+ gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}