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

commit 33f758d97414b7efb48543ee7f1f75bddf2db871
Author: Slown <[email protected]>
Date:   Tue Aug 20 20:04:07 2013 +0100

vinterm-0.5.0-1-i686

* version bump

diff --git a/source/devel-extra/vinterm/FrugalBuild 
b/source/devel-extra/vinterm/FrugalBuild
index a69f862..cc5a78d 100644
--- a/source/devel-extra/vinterm/FrugalBuild
+++ b/source/devel-extra/vinterm/FrugalBuild
@@ -1,18 +1,24 @@
-# Compiling Time: 0.02 SBU
+# Compiling Time: 0.04 SBU
# Maintainer: Slown <[email protected]>

pkgname=vinterm
-pkgver=0.4.1
+pkgver=0.5.0
pkgrel=1
pkgdesc="A terminal emulator that simulates the looks of 1980s monitor."
-depends=('sdl' 'libao')
+depends=('sdl' 'libao' 'libconfig' 'libx11')
groups=('devel-extra')
archs=('i686' 'x86_64')
-Finclude googlecode
-sha1sums=('d6208ade7749fc011c626c5f87d18adfa654f587')
+_F_gnome_iconcache="y"
+_F_gnome_desktop="y"
+Finclude googlecode gnome-scriptlet
+source=($source ${pkgname}-${pkgver}-makefile.patch)
+sha1sums=('401b6c709c146d5d59c86083112fb6e678427c11' \
+          'ed2efaa0b95c2afbe0490c6493d0fe50f2c72710')

build() {
Fcd
+       Fpatchall
make PREFIX=/usr || Fdie
make PREFIX=/usr DESTDIR="$Fdestdir" install || Fdie
+       Fbuild_gnome_scriptlet
}
diff --git a/source/devel-extra/vinterm/vinterm-0.5.0-makefile.patch 
b/source/devel-extra/vinterm/vinterm-0.5.0-makefile.patch
new file mode 100644
index 0000000..0ba0187
--- /dev/null
+++ b/source/devel-extra/vinterm/vinterm-0.5.0-makefile.patch
@@ -0,0 +1,66 @@
+diff -aur vinterm-0.5.0/Makefile vinterm-0.5.0.patched/Makefile
+--- vinterm-0.5.0/Makefile     2013-08-19 18:34:06.000000000 +0200
++++ vinterm-0.5.0.patched/Makefile     2013-08-19 23:20:55.953442448 +0200
+@@ -73,27 +73,26 @@
+
+ install: all
+       @echo installing executable file to ${DESTDIR}${PREFIX}/bin
+-      @mkdir -p ${DESTDIR}${PREFIX}/bin
+-      @cp -f vinterm ${DESTDIR}${PREFIX}/bin
+-      @chmod 755 ${DESTDIR}${PREFIX}/bin/vinterm
++      @install -d ${DESTDIR}${PREFIX}/bin
++      @install -Dm755 vinterm ${DESTDIR}${PREFIX}/bin
+       @echo installing data to ${DESTDIR}${VINTERMPREFIX}
+-      @mkdir -p ${DESTDIR}${VINTERMPREFIX}
+-      @cp -f ${DATA} ${DESTDIR}${VINTERMPREFIX}
++      @install -d ${DESTDIR}${VINTERMPREFIX}
++      @install -Dm644 ${DATA} ${DESTDIR}${VINTERMPREFIX}
+       @echo installing manual page to ${DESTDIR}${MANPREFIX}/man1
+-      @mkdir -p ${DESTDIR}${MANPREFIX}/man1
++      @install -d ${DESTDIR}${MANPREFIX}/man1
+       @sed "s/VERSION/${VERSION}/g" < vinterm.1 > 
${DESTDIR}${MANPREFIX}/man1/vinterm.1
+       @chmod 644 ${DESTDIR}${MANPREFIX}/man1/vinterm.1
+       @echo compiling terminfo data
+       @tic -s data/vinterm.info
+       @echo installing icons
+-      @cp -f icon/icon_16.png  /usr/share/icons/hicolor/16x16/apps/vinterm.png
+-      @cp -f icon/icon_22.png  /usr/share/icons/hicolor/22x22/apps/vinterm.png
+-      @cp -f icon/icon_32.png  /usr/share/icons/hicolor/32x32/apps/vinterm.png
+-      @cp -f icon/icon_48.png  /usr/share/icons/hicolor/48x48/apps/vinterm.png
+-      @cp -f icon/icon_64.png  /usr/share/icons/hicolor/64x64/apps/vinterm.png
+-      @cp -f icon/icon_128.png 
/usr/share/icons/hicolor/128x128/apps/vinterm.png
+-      @cp -f icon/icon.svg     
/usr/share/icons/hicolor/scalable/apps/vinterm.svg
+-      @cp -f data/vinterm.desktop /usr/share/applications
++      @install -Dm644 icon/icon_16.png  
$(DESTDIR)$(PREFIX)/share/icons/hicolor/16x16/apps/vinterm.png
++      @install -Dm644 icon/icon_22.png  
$(DESTDIR)$(PREFIX)/share/icons/hicolor/22x22/apps/vinterm.png
++      @install -Dm644 icon/icon_32.png  
$(DESTDIR)$(PREFIX)/share/icons/hicolor/32x32/apps/vinterm.png
++      @install -Dm644 icon/icon_48.png  
$(DESTDIR)$(PREFIX)/share/icons/hicolor/48x48/apps/vinterm.png
++      @install -Dm644 icon/icon_64.png  
$(DESTDIR)$(PREFIX)/share/icons/hicolor/64x64/apps/vinterm.png
++      @install -Dm644 icon/icon_128.png 
$(DESTDIR)$(PREFIX)/share/icons/hicolor/128x128/apps/vinterm.png
++      @install -Dm644 icon/icon.svg     
$(DESTDIR)$(PREFIX)/share/icons/hicolor/scalable/apps/vinterm.svg
++      @install -Dm644 data/vinterm.desktop 
$(DESTDIR)$(PREFIX)/share/applications/vinterm.desktop
+
+ # TODO - check data
+ uninstall:
+@@ -105,13 +104,13 @@
+       @echo removing manual page from ${DESTDIR}${MANPREFIX}/man1
+       @rm -f ${DESTDIR}${MANPREFIX}/man1/vinterm.1
+       @echo removing icons
+-      @rm -f /usr/share/icons/hicolor/16x16/apps/vinterm.png
+-      @rm -f /usr/share/icons/hicolor/22x22/apps/vinterm.png
+-      @rm -f /usr/share/icons/hicolor/32x32/apps/vinterm.png
+-      @rm -f /usr/share/icons/hicolor/48x48/apps/vinterm.png
+-      @rm -f /usr/share/icons/hicolor/64x64/apps/vinterm.png
+-      @rm -f /usr/share/icons/hicolor/128x128/apps/vinterm.png
+-      @rm -f /usr/share/icons/hicolor/scalable/apps/vinterm.svg
+-      @rm -f /usr/share/applications/vinterm.desktop
++      @rm -f $(DESTDIR)$(PREFIX)/share/icons/hicolor/16x16/apps/vinterm.png
++      @rm -f $(DESTDIR)$(PREFIX)/share/icons/hicolor/22x22/apps/vinterm.png
++      @rm -f $(DESTDIR)$(PREFIX)/share/icons/hicolor/32x32/apps/vinterm.png
++      @rm -f $(DESTDIR)$(PREFIX)/share/icons/hicolor/48x48/apps/vinterm.png
++      @rm -f $(DESTDIR)$(PREFIX)/share/icons/hicolor/64x64/apps/vinterm.png
++      @rm -f $(DESTDIR)$(PREFIX)/share/icons/hicolor/128x128/apps/vinterm.png
++      @rm -f $(DESTDIR)$(PREFIX)/share/icons/hicolor/scalable/apps/vinterm.svg
++      @rm -f $(DESTDIR)$(PREFIX)/share/applications/vinterm.desktop
+
+ .PHONY: all options clean dist install uninstall
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to