git » geany.git » commit a488fca

FS#31698, fixing optdeps

author Alexander Rødseth
2012-09-28 23:08:59 UTC
committer Alexander Rødseth
2012-09-28 23:08:59 UTC
parent a35a2f5aeadb31eb5dc8ef9b3f55c9ddb9932158

FS#31698, fixing optdeps

PKGBUILD +7 -7

diff --git a/PKGBUILD b/PKGBUILD
index ee96c79..271d5c4 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -6,14 +6,14 @@
 
 pkgname=geany
 pkgver=1.22
-pkgrel=1
-pkgdesc="Fast and lightweight IDE"
+pkgrel=2
+pkgdesc='Fast and lightweight IDE'
 arch=('x86_64' 'i686')
 url="http://www.geany.org/"
 license=('GPL')
-depends=('gtk2' 'hicolor-icon-theme' 'desktop-file-utils' 'python2')
-makedepends=('perlxml' 'intltool')
-optdepends=("vte: for terminal support")
+depends=('gtk2' 'hicolor-icon-theme' 'desktop-file-utils')
+makedepends=('perlxml' 'setconf' 'intltool')
+optdepends=('vte: for terminal support' 'python2')
 install=geany.install
 source=("http://download.geany.org/$pkgname-$pkgver.tar.bz2")
 options=('!libtool')
@@ -29,9 +29,9 @@ build() {
   msg2 "Python2 fix..."
 	sed -i '0,/on/s//on2/' data/templates/files/main.py
   msg2 "Fixing FS#10318..."
-  sed -i 's|MimeType=text/plain;|MimeType=|' geany.desktop
+  setconf geany.desktop MimeType ''
   msg2 "Enabling colors for PKGBUILD files..."
-  sed -i 's|Sh=|Sh=PKGBUILD;|' data/filetype_extensions.conf
+  setconf data/filetype_extensions.conf Sh PKGBUILD
 }
 
 package() {