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

commit 5a8aea3bdacfbf729164ebb32850360bbe7baa7f
Author: Cedynamix <cedyna...@gmail.com>
Date:   Thu Apr 16 21:40:56 2009 +0200

fslint-2.28-1-i686

* new package

diff --git a/source/apps-extra/fslint/FrugalBuild 
b/source/apps-extra/fslint/FrugalBuild
new file mode 100644
index 0000000..73bb93f
--- /dev/null
+++ b/source/apps-extra/fslint/FrugalBuild
@@ -0,0 +1,50 @@
+# Compiling Time: 0 SBU
+# Maintainer: Cedrick Hannier alias Cedynamix <cedyna...@gmail.com>
+
+pkgname=fslint
+pkgver=2.28
+pkgrel=1
+pkgdesc="A utility to find and clean various forms of lint on a filesystem."
+depends=('pygtk' 'python>=2.6.1')
+groups=('apps-extra')
+archs=('i686')
+url="http://www.pixelbeat.org/fslint";
+up2date=$pkgver
+source=($url/$pkgname-$pkgver.tar.gz FslintGuiPatch.diff)
+sha1sums=('5aeab7371ab4eaeef5cab3ba40bf19e91d477357' \
+          '76568644d4314ef613a6a19e76c51c97d1c06ef0')
+
+build() {
+  Fcd
+  Fpatchall
+  Finstall 755 $pkgname-$pkgver/$pkgname-gui usr/bin/$pkgname-gui
+  Finstall 644 $pkgname-$pkgver/$pkgname.glade 
usr/share/$pkgname/$pkgname.glade
+  Finstall 755 $pkgname-$pkgver/$pkgname/find* usr/share/$pkgname/$pkgname/
+  Finstall 755 $pkgname-$pkgver/$pkgname/zipdir usr/share/$pkgname/$pkgname/
+  Finstall 755 $pkgname-$pkgver/$pkgname/$pkgname usr/share/$pkgname/$pkgname
+  Finstall 755 $pkgname-$pkgver/$pkgname/fstool/* 
usr/share/$pkgname/$pkgname/fstool
+  Finstall 755 $pkgname-$pkgver/$pkgname/supprt/get* 
usr/share/$pkgname/$pkgname/supprt
+  Finstall 755 $pkgname-$pkgver/$pkgname/supprt/fslver 
usr/share/$pkgname/$pkgname/supprt
+  Finstall 755 $pkgname-$pkgver/$pkgname/supprt/rmlint/* 
usr/share/$pkgname/$pkgname/supprt/rmlint
+
+  #icons
+  Ficon $pkgname-$pkgver/fslint_icon.png
+  Finstall 644 $pkgname-$pkgver/fslint_icon.png 
usr/share/fslint/fslint_icon.png
+
+  #shortcut
+  Finstall 644 $pkgname-$pkgver/$pkgname.desktop 
usr/share/applications/$pkgname.desktop
+
+  #locales
+  cd po || Fdie
+  Fmake
+  Fmakeinstall
+
+  #man pages
+  Fmkdir usr/share/man/man1/
+  Fcp $pkgname-$pkgver/man/* /usr/share/man/man1/
+
+  #doc files
+  Fmkdir usr/share/$pkgname/doc/
+  Fcp $pkgname-$pkgver/doc/* /usr/share/$pkgname/doc
+}
+
diff --git a/source/apps-extra/fslint/FslintGuiPatch.diff 
b/source/apps-extra/fslint/FslintGuiPatch.diff
new file mode 100644
index 0000000..1671ab6
--- /dev/null
+++ b/source/apps-extra/fslint/FslintGuiPatch.diff
@@ -0,0 +1,11 @@
+--- fslint-2.28/fslint-gui   2008-09-09 12:40:07.000000000 +0200
++++ fslint-2.28/fslint-gui     2009-04-12 22:09:37.000000000 +0200
+@@ -38,7 +38,7 @@
+
+ time_commands=False #print sub commands timing on status line
+
+-liblocation=os.path.dirname(os.path.abspath(sys.argv[0]))
++liblocation='/usr/share/fslint'
+ locale_base=liblocation+'/po/locale'
+ try:
+     import fslint
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to