summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyle Guinn <elyk03@gmail.com>2010-05-11 19:44:48 +0200
committerRobby Workman <rworkman@slackbuilds.org>2010-05-11 19:44:48 +0200
commit7bd6ad24dc4b90ae0b7a9ed6673dfbc58cd200f3 (patch)
treeec602726df511206aad7d62fd03d593487f23fa0
parent9f58d9bb5b29354a820ddef422ea121bb1994d25 (diff)
downloadslackbuilds-7bd6ad24dc4b90ae0b7a9ed6673dfbc58cd200f3.tar.gz
graphics/gerbv: Updated for version 1.0.2
-rw-r--r--graphics/gerbv/README2
-rw-r--r--graphics/gerbv/gerbv.SlackBuild9
-rw-r--r--graphics/gerbv/gerbv.info2
-rw-r--r--graphics/gerbv/slack-desc11
4 files changed, 13 insertions, 11 deletions
diff --git a/graphics/gerbv/README b/graphics/gerbv/README
index dd8a7a8452..30c15e2667 100644
--- a/graphics/gerbv/README
+++ b/graphics/gerbv/README
@@ -1,6 +1,4 @@
Gerber Viewer (gerbv) is a viewer for Gerber files. Gerber files
are generated from PCB CAD systems and sent to PCB manufacturers
as a basis for the manufacturing process.
-
The standard supported by gerbv is RS-274X.
-
diff --git a/graphics/gerbv/gerbv.SlackBuild b/graphics/gerbv/gerbv.SlackBuild
index 9421adbc59..b25f2ee860 100644
--- a/graphics/gerbv/gerbv.SlackBuild
+++ b/graphics/gerbv/gerbv.SlackBuild
@@ -10,7 +10,7 @@ VERSION=1.0.2
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-CWD=`pwd`
+CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -27,7 +27,6 @@ cd $TMP
rm -rf $PRGNAM-$VERSION
tar -xzvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
-
chown -R root:root .
chmod -R u+w,go+r-w,a-s .
@@ -44,7 +43,7 @@ make install-strip DESTDIR=$PKG
if [ -d $PKG/usr/man ]; then
( cd $PKG/usr/man
find . -type f -exec gzip -9 {} \;
- for i in `find . -type l` ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
+ for i in $(find . -type l) ; do ln -s $(readlink $i).gz $i.gz ; rm $i ; done
)
fi
@@ -52,10 +51,6 @@ mkdir -p $PKG/usr/share/{applications,icons/hicolor/48x48/apps}
install -m 0644 desktop/gerbv.desktop $PKG/usr/share/applications/gerbv.desktop
install -m 0644 desktop/gerbv.png $PKG/usr/share/icons/hicolor/48x48/apps/gerbv.png
-# Fix icon path in desktop file
-sed -i 's%Icon=gerbv%Icon=/usr/share/icons/hicolor/48x48/apps/gerbv.png%' \
- $PKG/usr/share/applications/gerbv.desktop
-
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a AUTHORS COPYING ChangeLog INSTALL NEWS README TODO doc/* \
$PKG/usr/doc/$PRGNAM-$VERSION
diff --git a/graphics/gerbv/gerbv.info b/graphics/gerbv/gerbv.info
index 4c10cd298f..cfa0bec3e2 100644
--- a/graphics/gerbv/gerbv.info
+++ b/graphics/gerbv/gerbv.info
@@ -5,4 +5,4 @@ DOWNLOAD="http://geda.seul.org/dist/gerbv-1.0.2.tar.gz"
MD5SUM="2d5dccd9a060e92916bb7a41ef5433e6"
MAINTAINER="Kyle Guinn"
EMAIL="elyk03@gmail.com"
-APPROVED="robw810"
+APPROVED="rworkman"
diff --git a/graphics/gerbv/slack-desc b/graphics/gerbv/slack-desc
index d7de0a71c5..f8d811692e 100644
--- a/graphics/gerbv/slack-desc
+++ b/graphics/gerbv/slack-desc
@@ -1,4 +1,12 @@
-gerbv: Gerber Viewer
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description. Line
+# up the first '|' above the ':' following the base package name, and the '|'
+# on the right side marks the last column you can put a character in. You must
+# make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':'.
+
+ |-----handy-ruler------------------------------------------------------|
+gerbv: Gerber Viewer (viewer for Gerber file)
gerbv:
gerbv: Gerber Viewer (gerbv) is a viewer for Gerber files. Gerber files
gerbv: are generated from PCB CAD systems and sent to PCB manufacturers
@@ -8,3 +16,4 @@ gerbv: The standard supported by gerbv is RS-274X.
gerbv:
gerbv:
gerbv:
+gerbv: