summaryrefslogtreecommitdiff
path: root/extra/baobab
diff options
context:
space:
mode:
Diffstat (limited to 'extra/baobab')
-rw-r--r--extra/baobab/PKGBUILD28
-rw-r--r--extra/baobab/baobab.install12
2 files changed, 40 insertions, 0 deletions
diff --git a/extra/baobab/PKGBUILD b/extra/baobab/PKGBUILD
new file mode 100644
index 000000000..a856594ef
--- /dev/null
+++ b/extra/baobab/PKGBUILD
@@ -0,0 +1,28 @@
+# $Id: PKGBUILD 156709 2012-04-23 09:03:37Z ibiru $
+# Maintainer: Ionut Biru <ibiru@archlinux.org>
+pkgname=baobab
+pkgver=3.4.1
+pkgrel=1
+pkgdesc="A graphical directory tree analyzer"
+arch=(i686 x86_64)
+url="http://gnome.org"
+license=('GPL2')
+depends=('dconf' 'gtk3' 'libgtop')
+makedepends=('intltool' 'itstool')
+groups=('gnome-extra')
+install=$pkgname.install
+source=(http://download.gnome.org/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz)
+sha256sums=('0c9743caf8cdc6dd69d694453cd57816c1ca0514cf51111022846088021949f7')
+
+build() {
+ cd "$pkgname-$pkgver"
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd "$pkgname-$pkgver"
+ make DESTDIR="$pkgdir" install
+}
+
+# vim:set ts=2 sw=2 et:
diff --git a/extra/baobab/baobab.install b/extra/baobab/baobab.install
new file mode 100644
index 000000000..847019792
--- /dev/null
+++ b/extra/baobab/baobab.install
@@ -0,0 +1,12 @@
+post_install() {
+ glib-compile-schemas /usr/share/glib-2.0/schemas
+ gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}