-------- Original Message --------
Subject:        Re: [Frugalware-devel] [New Package] MuPDF Part 1/3
Date:   Fri, 13 May 2011 21:45:14 +0200
From:   Sébastien VINCENT <[email protected]>
To:     Miklos Vajna <[email protected]>



On 13/05/2011 00:05, Miklos Vajna wrote:
On Wed, May 11, 2011 at 09:30:44PM +0200, Sébastien 
VINCENT<[email protected]>  wrote:
pkgname=mupdf
pkgver=0.8.165
pkgrel=1
pkgdesc="A lightweight PDF and XPS viewer"
_F_desktop_name="MuPDF"
_F_desktop_desc="PDF file viewer"
_F_desktop_icon="$pkgname.png"
_F_desktop_categories="Graphics;Viewer;"
depends=('freetype2' 'jbig2dec' 'libjpeg' 'openjpeg' 'zlib' 'libxext')
groups=('xapps-extra')
archs=('i686' 'x86_64')
_F_googlecode_ext="-source.tar.gz"
Finclude googlecode
sha1sums=()
Why is this empty?

build()
{
        Fcd
        Fbuild
Fcd is not necessary here.

        # Rename executables except mupdf due a collision with poppler
        cd $Fdestdir/usr/bin
        for i in pdf*; do
                mv $i $i-mupdf
        done
        Ficon $pkgname-$pkgver/debian/$pkgname.png
Ficonrel debian/$pkgname.png sounds easier.

The rest looks fine. :)


_______________________________________________
Frugalware-devel mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-devel
Hi,

The sha1sums is not empty in the git patch just in the first FrugalBuild.
Fcd is not necessary.
For Ficonrel , not because i'm not in the good directory ( cd $Fdestdir/usr/bin just before)
And i'm apply the council of CSÉCSY László

The git patch attached
>From 467dab2cee8615d03865eac36efa1eda11f65f71 Mon Sep 17 00:00:00 2001
From: Baste <[email protected]>
Date: Fri, 13 May 2011 21:43:35 +0200
Subject: [PATCH] mupdf-0.8.165-1-i686   * new package

---
 source/xapps-extra/mupdf/FrugalBuild |   30 ++++++++++++++++++++++++++++++
 1 files changed, 30 insertions(+), 0 deletions(-)
 create mode 100644 source/xapps-extra/mupdf/FrugalBuild

diff --git a/source/xapps-extra/mupdf/FrugalBuild 
b/source/xapps-extra/mupdf/FrugalBuild
new file mode 100644
index 0000000..e94bebd
--- /dev/null
+++ b/source/xapps-extra/mupdf/FrugalBuild
@@ -0,0 +1,30 @@
+# Compiling Time: 0.07 SBU
+# Maintainer: No Yet
+# Contributor : Baste <[email protected]>
+
+pkgname=mupdf
+pkgver=0.8.165
+pkgrel=1
+pkgdesc="A lightweight PDF and XPS viewer"
+_F_desktop_name="MuPDF"
+_F_desktop_desc="PDF file viewer"
+_F_desktop_icon="$pkgname.png"
+_F_desktop_categories="Graphics;Viewer;"
+depends=('freetype2' 'jbig2dec' 'libjpeg' 'openjpeg' 'zlib' 'libxext')
+groups=('xapps-extra')
+archs=('i686' 'x86_64')
+_F_googlecode_ext="-source.tar.gz"
+Finclude googlecode
+sha1sums=('17222ebc80a482ef7cdb190d015cefd4821028dd')
+
+build()
+{
+       Fbuild
+       # Rename executables except mupdf due a collision with poppler
+       cd $Fdestdir/usr/bin
+       for i in pdf*; do
+               mv $i mu$i
+       done
+       Ficon $pkgname-$pkgver/debian/$pkgname.png
+       Fdesktop2
+}
-- 
1.7.5.1


_______________________________________________
Frugalware-devel mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-devel

Reply via email to