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

commit aefe9f1cb101e6c8ffb81507872d095ce47c5e50
Author: kikadf <[email protected]>
Date:   Fri Jun 15 12:30:17 2012 +0200

nuovext-1.7-1-i686

* Version bump
* Separate kde's icons (different versions)

diff --git a/source/x11-extra/nuovext/FrugalBuild 
b/source/x11-extra/nuovext/FrugalBuild
index f2648e8..4f8656d 100644
--- a/source/x11-extra/nuovext/FrugalBuild
+++ b/source/x11-extra/nuovext/FrugalBuild
@@ -3,43 +3,32 @@
# Contributor: BMH1980 <[email protected]>

pkgname=nuovext
-_F_archive_name=nuoveXT
-pkgver=1.6
+pkgver=1.7
pkgrel=1
pkgdesc="nuoveXT icon theme"
url="http://nuovext.pwsp.net";
-up2date="lynx -dump $url/files/|grep -m1 -o 'nuoveXT.*[0-9\.]\+.tar.gz'|grep 
-o '[0-9\.]\+[0-9]'"
-source=($url/files/nuoveXT-$pkgver.tar.gz 
$url/files/nuoveXT-kde-$pkgver.tar.gz)
-sha1sums=('bb8278eb8a30a1c25ba30a28bec8bd3fa5558c95' \
-          '12f484297b5563de10397788db48999749212462')
+makedepends=('rox-filer')
+_F_archive_name=nuoveXT
+_F_archive_grep="-1"
groups=('x11-extra')
archs=('i686' 'x86_64')
-depends=()
-makedepends=('rox-filer')
+up2date="Flasttar $url/files/"
+source=($url/files/nuoveXT-$pkgver.tar.gz)
+sha1sums=('28fc348ce4d659c2e0f167e9cb95f3f454a130aa')
+

build()
{
themepath=/usr/share/icons/nuoveXT
-       Fmkdir /usr/share/doc/$pkgname-$pkgver $themepath
-       find nuoveXT-$pkgver -name "*~" -exec rm -f {} \; || return 1
-       find nuoveXT-kde-$pkgver -name "*~" -exec rm -f {} \; || return 1
-       cp -r nuoveXT-kde-$pkgver/* $Fdestdir/$themepath || return 1
-       cp -r nuoveXT-$pkgver/* $Fdestdir/$themepath || return 1
-       # Fixing some wrong file names
-       for size in 12x12 16x16 24x24 36x36 48x48 128x128 ; do
-               Fmv 
$themepath/$size/mimetypes/ggnome-mime-application-x-class-file.png \
-               
$themepath/$size/mimetypes/gnome-mime-application-x-class-file.png
-       done
+       Fmkdir $themepath
+       find nuoveXT-$pkgver -name "*~" -exec rm -f {} \; || Fdie
+       cp -a $Fsrcdir/nuoveXT-$pkgver/* $Fdestdir/$themepath || Fdie
Frm $themepath/{CHANGELOG,GPL}
-       Ffile nuoveXT-$pkgver/CHANGELOG 
/usr/share/doc/$pkgname-$pkgver/CHANGELOG-gnome
-       Ffile nuoveXT-$pkgver/GPL /usr/share/doc/$pkgname-$pkgver/GPL-gnome
-       Ffile nuoveXT-kde-$pkgver/CHANGELOG 
/usr/share/doc/$pkgname-$pkgver/CHANGELOG-kde
-       Ffile nuoveXT-kde-$pkgver/GPL /usr/share/doc/$pkgname-$pkgver/GPL-kde
-       rm -f nuoveXT-$pkgver/{CHANGELOG,GPL} || return 1
-       rm -f nuoveXT-kde-$pkgver/{CHANGELOG,GPL} || return 1
+       Fdoc nuoveXT-$pkgver/{CHANGELOG,GPL}
+
# Creating ROX icons
Fmkdir $themepath/MIME
-       cp /usr/share/Apps/ROX-Filer/ROX/MIME/*.png $Fdestdir/$themepath/MIME/ 
|| return 1
+       cp /usr/share/rox-filer/ROX/MIME/*.png $Fdestdir/$themepath/MIME/ || 
Fdie
for i in $Fdestdir/$themepath/48x48/mimetypes/gnome-mime*.png ; do
link=`basename $i | sed 's|gnome-||'`
for typ in application audio image text video ; do
@@ -73,11 +62,10 @@ build()
for icon in `find $Fdestdir/$themepath/MIME -type f` ; do
icon=`echo $icon | sed "s|$Fdestdir||"`
Frm $icon
-               Fln /usr/share/Apps/ROX-Filer/ROX/MIME/`basename $icon` $icon
+               Fln /usr/share/rox-filer/ROX/MIME/`basename $icon` $icon
done
-       sed -i 's|^Directories.*|&,MIME|g' $Fdestdir/$themepath/index.theme
+       sed -i 's|^Directories.*|&,MIME|g' $Fdestdir/$themepath/index.theme || 
Fdie
echo -e '\n[MIME]\nSize=48\nContext=MimeTypes\nType=Fixed' >> \
-       $Fdestdir/$themepath/index.theme
+       $Fdestdir/$themepath/index.theme || Fdie
}

-# vim: ft=sh
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to