Date: Tuesday, February 4, 2014 @ 13:43:53
  Author: spupykin
Revision: 105279

Modified:
  qucs/trunk/PKGBUILD

----------+
 PKGBUILD |    9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2014-02-04 12:27:08 UTC (rev 105278)
+++ PKGBUILD    2014-02-04 12:43:53 UTC (rev 105279)
@@ -4,7 +4,7 @@
 
 pkgname=qucs
 pkgver=0.0.17
-pkgrel=1
+pkgrel=2
 pkgdesc="An integrated circuit simulator with a graphical user interface"
 arch=('i686' 'x86_64')
 url="http://qucs.sourceforge.net";
@@ -17,6 +17,11 @@
 
source=("http://downloads.sourceforge.net/project/qucs/qucs/$pkgver/qucs-$pkgver.tar.gz";)
 md5sums=('4b93ffcc2ef3dbbd6fa53a5743721532')
 
+prepare() {
+  cd $srcdir/$pkgname-${pkgver/s/.}
+  sed -i 's|Icon=.*|Icon=/usr/share/qucs/bitmaps/big.qucs.xpm|' 
debian/qucs.desktop
+}
+
 build() {
   cd $srcdir/$pkgname-${pkgver/s/.}
   ./configure --prefix=/usr
@@ -26,4 +31,6 @@
 package() {
   cd $srcdir/$pkgname-${pkgver/s/.}
   make DESTDIR=$pkgdir install
+
+  install -Dm0644 debian/qucs.desktop 
$pkgdir/usr/share/applications/qucs.desktop
 }

Reply via email to