From 415856bdd4f48ab4f2732996f0bae58595092bbe Mon Sep 17 00:00:00 2001 From: Parabola Date: Tue, 5 Apr 2011 14:26:38 +0000 Subject: Tue Apr 5 14:26:38 UTC 2011 --- community/beaver/PKGBUILD | 34 ++++++++++++++++++++++++++++++++++ community/beaver/beaver.install | 13 +++++++++++++ 2 files changed, 47 insertions(+) create mode 100644 community/beaver/PKGBUILD create mode 100644 community/beaver/beaver.install (limited to 'community/beaver') diff --git a/community/beaver/PKGBUILD b/community/beaver/PKGBUILD new file mode 100644 index 000000000..61c35656b --- /dev/null +++ b/community/beaver/PKGBUILD @@ -0,0 +1,34 @@ +# Contributor: Geoffroy Carrier +# Contributor: Tim Yang +# Contributor: Andrew Krawchyk +# Contributor: Geoffroy Carrier +# Contributor: Aurelien Foret +# Maintainer: Daniel J Griffiths + +pkgname=beaver +pkgver=0.4.1 +pkgrel=1 +pkgdesc='Beaver is an Early AdVanced EditoR.' +arch=('i686' 'x86_64') +url='http://beaver-editor.sourceforge.net/' +license=('GPL2') +depends=('gtk2>=2.0.0' 'hicolor-icon-theme') +makedepends=('intltool') +install=${pkgname}.install +options=('!libtool') +source=("http://sourceforge.net/projects/beaver-editor/files/${pkgver:0:3}/beaver-${pkgver}.tar.bz2") +md5sums=('0cb1bf7350e7399c85a42d6672907d64') + +build() { + cd ${pkgname}-${pkgver} + + ./configure --prefix=/usr + + make +} + +package() { + cd ${pkgname}-${pkgver} + + make DESTDIR=${pkgdir} install +} diff --git a/community/beaver/beaver.install b/community/beaver/beaver.install new file mode 100644 index 000000000..81ed4b93a --- /dev/null +++ b/community/beaver/beaver.install @@ -0,0 +1,13 @@ +post_install() { + gtk-update-icon-cache -q -t -f usr/share/icons/hicolor +} + +post_upgrade() { + post_install $1 +} + +post_remove() { + post_install $1 +} + + -- cgit v1.2.3-54-g00ecf