[Frugalware-git] frugalware-current: cuiterm-0.9.10-1-i686

Priyank priyank at frugalware.org
Mon Jun 23 09:05:51 CEST 2008


Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=d5d861a5acb5157875d2d3ba85e22b9277aa73ad

commit d5d861a5acb5157875d2d3ba85e22b9277aa73ad
Author: Priyank <priyank at frugalware.org>
Date:   Mon Jun 23 12:32:43 2008 +0530

cuiterm-0.9.10-1-i686
* New package / Initial import
* Closes #2107

diff --git a/source/gnome-extra/cuiterm/FrugalBuild b/source/gnome-extra/cuiterm/FrugalBuild
new file mode 100644
index 0000000..8daa1cb
--- /dev/null
+++ b/source/gnome-extra/cuiterm/FrugalBuild
@@ -0,0 +1,31 @@
+# Compiling Time: 0.15 SBU
+# Maintainer: Priyank Gosalia <priyankmg at gmail.com>
+
+pkgname=cuiterm
+pkgver=0.9.10
+pkgrel=1
+pkgdesc="cuiterm is a CUI (Composite User Interface) terminal."
+url="http://linux.pte.hu/~pipas/CUI"
+depends=('gtk+2' 'pango' 'libgnomeui')
+groups=('gnome-extra')
+archs=('i686')
+up2date="lynx -dump ftp://linux.pte.hu/pub/CUI | grep $pkgname- | Flasttar"
+source=(ftp://linux.pte.hu/pub/CUI/$pkgname-$pkgver.tar.gz \
+		$pkgname-makefile.diff)
+Fconfopts="${Fconfopts[@]} --enable-gtk-doc=no"
+_F_desktop_name="Cuiterm"
+_F_desktop_icon="terminal.png"
+_F_desktop_categories="Utility;"
+sha1sums=('8ba936980150d4128e4df7a772db53dad78feee8' \
+          '7d078a93fd3e4fb1fc4af8ac8b9ef52b310fd68a')
+
+build() {
+	Fcd
+	Fpatchall
+	sh autogen.sh || Fdie
+	Fconf
+	Fmakeinstall
+	Fdesktop2
+}
+
+# optimization OK
diff --git a/source/gnome-extra/cuiterm/cuiterm-makefile.diff b/source/gnome-extra/cuiterm/cuiterm-makefile.diff
new file mode 100644
index 0000000..09b62a6
--- /dev/null
+++ b/source/gnome-extra/cuiterm/cuiterm-makefile.diff
@@ -0,0 +1,62 @@
+diff -Naur cuiterm-0.9.10/Makefile.am cuiterm-0.9.10.new/Makefile.am
+--- cuiterm-0.9.10/Makefile.am	2007-06-12 02:22:00.000000000 +0530
++++ cuiterm-0.9.10.new/Makefile.am	2008-06-23 12:12:49.000000000 +0530
+@@ -11,52 +11,25 @@
+ #
+ # This was the original I found somewhere on the Internet.
+ #
+-#install-data-local:
+-#	@$(NORMAL_INSTALL)
+-#	if test -d $(srcdir)/pixmaps; then \
+-#	  $(mkinstalldirs) $(DESTDIR)$(datadir)/pixmaps/$(PACKAGE); \
+-#	  for pixmap in $(srcdir)/pixmaps/*; do \
+-#	    if test -f $$pixmap; then \
+-#	      $(INSTALL_DATA) $$pixmap $(DESTDIR)$(datadir)/pixmaps/$(PACKAGE); \
+-#	    fi \
+-#	  done \
+-#	fi
+-#
+-#dist-hook:
+-#	if test -d pixmaps; then \
+-#	  mkdir $(distdir)/pixmaps; \
+-#	  for pixmap in pixmaps/*; do \
+-#	    if test -f $$pixmap; then \
+-#	      cp -p $$pixmap $(distdir)/pixmaps; \
+-#	    fi \
+-#	  done \
+-#	fi
+-#
+-
+-#
+-# I made this modified version. As you see I changed the target
+-# directory for the application pixmaps. I did it because this
+-# directory much more compatible with the GNOME menus, so I can use
+-# custom icons in menus made with the glade2.
+-#
+ install-data-local:
+ 	@$(NORMAL_INSTALL)
+ 	if test -d $(srcdir)/pixmaps; then \
+-	  $(mkinstalldirs) /usr/share/pixmaps/$(PACKAGE); \
++	  $(mkinstalldirs) $(DESTDIR)$(datadir)/pixmaps/$(PACKAGE); \
+ 	  for pixmap in $(srcdir)/pixmaps/*; do \
+ 	    if test -f $$pixmap; then \
+-	      $(INSTALL_DATA) $$pixmap /usr/share/pixmaps/$(PACKAGE); \
++	      $(INSTALL_DATA) $$pixmap $(DESTDIR)$(datadir)/pixmaps/$(PACKAGE); \
+ 	    fi \
+ 	  done \
+ 	fi
+-
++#
+ dist-hook:
+ 	if test -d pixmaps; then \
+-	  mkdir /usr/share/pixmaps/cuiterm; \
++	  mkdir $(distdir)/pixmaps; \
+ 	  for pixmap in pixmaps/*; do \
+ 	    if test -f $$pixmap; then \
+-	      cp -p $$pixmap /usr/share/pixmaps/cuiterm; \
++	      cp -p $$pixmap $(distdir)/pixmaps; \
+ 	    fi \
+ 	  done \
+ 	fi
+
++


More information about the Frugalware-git mailing list