author | Ionuț Mircea Bîru
<ibiru@archlinux.org> 2009-08-18 14:52:21 UTC |
committer | Ionuț Mircea Bîru
<ibiru@archlinux.org> 2009-08-18 14:52:21 UTC |
parent | 80c8ee83e0d65fcd01bfc559685a74a917c3e19f |
PKGBUILD | +3 | -2 |
geany.install | +13 | -0 |
diff --git a/PKGBUILD b/PKGBUILD index 4f21220..973e2d9 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -3,7 +3,7 @@ # Contributor: Allan McRae <mcrae_allan@hotmail.com> pkgname=geany -pkgver=0.17 +pkgver=0.18 pkgrel=1 pkgdesc="A fast and lightweight IDE" arch=('i686' 'x86_64') @@ -12,8 +12,9 @@ license=('GPL') depends=('gtk2>=2.8.0') makedepends=('perlxml' 'intltool') optdepends=("vte: for terminal support") +install=geany.install source=(http://download.geany.org/$pkgname-$pkgver.tar.gz) -md5sums=('cb4c325586ea6791d5db60599f1843d2') +md5sums=('e5d4075dcb486d3cec958c2bac9ce8f4') options=('!libtool') build() { diff --git a/geany.install b/geany.install new file mode 100644 index 0000000..7e83162 --- /dev/null +++ b/geany.install @@ -0,0 +1,13 @@ +pkgname=geany + +post_install() { + gtk-update-icon-cache -q -t -f usr/share/icons/hicolor +} + +post_upgrade() { + post_install +} + +post_remove() { + gtk-update-icon-cache -q -t -f usr/share/icons/hicolor +}