s/APP_NAME/PRGNAM for consistency

Signed-off-by: Gwenhael Le Moine <gwenhael.le.moine@gmail.com>
This commit is contained in:
Gwenhael Le Moine 2011-02-17 11:19:56 +07:00
parent 5ddbaf49bb
commit 66d2fa3fce
26 changed files with 548 additions and 548 deletions

View file

@ -4,8 +4,8 @@
TMP=/tmp
CWD=$(pwd)
APP_NAME=i8kutils
PKG=$TMP/package-$APP_NAME
PRGNAM=i8kutils
PKG=$TMP/package-$PRGNAM
VERSION=1.33
@ -21,14 +21,14 @@ PREFIX=/usr
SLCKFLAGS="-fPIC -O2"
# nettoyage préalable
rm -fr $PKG $TMP/$APP_NAME-$VERSION
rm -fr $PKG $TMP/$PRGNAM-$VERSION
mkdir -p $PKG
# mise en place
cd $TMP
tar xf $CWD/$APP_NAME-$VERSION.$EXT
cd $APP_NAME-$VERSION
tar xf $CWD/$PRGNAM-$VERSION.$EXT
cd $PRGNAM-$VERSION
# configuration
@ -85,9 +85,9 @@ chmod +x $PKG/etc/rc.d/rc.i8kmon.new
cd $PKG
chown -R root:root *
mkdir -p $PKG/usr/doc/$APP_NAME-$VERSION
cd $TMP/$APP_NAME-$VERSION
cp -R $DOCS $PKG/usr/doc/$APP_NAME-$VERSION
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cd $TMP/$PRGNAM-$VERSION
cp -R $DOCS $PKG/usr/doc/$PRGNAM-$VERSION
mkdir $PKG/etc
cp i8kmon.conf $PKG/etc/i8kmon.conf.new
@ -118,19 +118,19 @@ config() {
config etc/rc.d/rc.i8kmon.new
EOF
cat <<EOF > $PKG/install/slack-desc
$APP_NAME: $APP_NAME (user-space programs for accessing the SMM BIOS of Dell laptops.)
$APP_NAME:
$APP_NAME:
$APP_NAME:
$APP_NAME:
$APP_NAME:
$APP_NAME:
$APP_NAME: http://packages.debian.org/i8kutils
$APP_NAME:
$APP_NAME: see /usr/doc/$APP_NAME-$VERSION for more details
$APP_NAME:
$PRGNAM: $PRGNAM (user-space programs for accessing the SMM BIOS of Dell laptops.)
$PRGNAM:
$PRGNAM:
$PRGNAM:
$PRGNAM:
$PRGNAM:
$PRGNAM:
$PRGNAM: http://packages.debian.org/i8kutils
$PRGNAM:
$PRGNAM: see /usr/doc/$PRGNAM-$VERSION for more details
$PRGNAM:
EOF
# empaquetage
cd $PKG
makepkg -l y -c n $TMP/$APP_NAME-$(echo $VERSION | sed 's/-//g')-$ARCH-$BUILD.txz
makepkg -l y -c n $TMP/$PRGNAM-$(echo $VERSION | sed 's/-//g')-$ARCH-$BUILD.txz

View file

@ -3,19 +3,19 @@
CWD=$(pwd)
# default settings
APP_NAME=sdcv
PRGNAM=sdcv
ARCH=$(uname -m)
VERSION=svn$(date +%Y.%m.%d_%H.%M)
BUILD=1cyco
TMP=/tmp
PKG=$TMP/package-$APP_NAME
PKG=$TMP/package-$PRGNAM
GZBZ2="bz2"
DOCS="ABOUT-NLS AUTHORS BUGS COPYING ChangeLog INSTALL NEWS README TODO"
rm -rf $PKG $TMP/$APP_NAME-$VERSION
rm -rf $PKG $TMP/$PRGNAM-$VERSION
mkdir -p $PKG
cd $TMP
@ -58,19 +58,19 @@ cat << EOF > install/slack-desc
# customary to leave one space after the ':'.
|-----handy-ruler-----------------------------------------------------|
$APP_NAME: $APP_NAME (Dictionaries search tool)
$APP_NAME:
$APP_NAME: You can find free (as in Freedom) dictionnaries at www.freedict.org
$APP_NAME: Vietnamese dictionaries available at http://cctv.sf.net
$APP_NAME: Others all over the Internet...
$APP_NAME:
$APP_NAME: see /usr/doc/$APP_NAME-$VERSION
$APP_NAME:
$APP_NAME:
$APP_NAME: for more informations.
$APP_NAME:
$PRGNAM: $PRGNAM (Dictionaries search tool)
$PRGNAM:
$PRGNAM: You can find free (as in Freedom) dictionnaries at www.freedict.org
$PRGNAM: Vietnamese dictionaries available at http://cctv.sf.net
$PRGNAM: Others all over the Internet...
$PRGNAM:
$PRGNAM: see /usr/doc/$PRGNAM-$VERSION
$PRGNAM:
$PRGNAM:
$PRGNAM: for more informations.
$PRGNAM:
EOF
chown -R root:root $PKG
makepkg -c n -l y $TMP/$APP_NAME-$VERSION-$ARCH-$BUILD.txz || exit $ERROR_MKPKG
makepkg -c n -l y $TMP/$PRGNAM-$VERSION-$ARCH-$BUILD.txz || exit $ERROR_MKPKG

View file

@ -8,33 +8,33 @@ PACKAGER=cyco
TMP=/tmp
CWD=$(pwd)
APP_NAME=$(basename $CWD)
PKG=$TMP/$PACKAGER/pkg-$APP_NAME
PRGNAM=$(basename $CWD)
PKG=$TMP/$PACKAGER/pkg-$PRGNAM
ARCH=$(uname -m)
PREFIX=/usr
# nettoyage préalable
rm -fr $PKG $TMP/$APP_NAME-$VERSION
rm -fr $PKG $TMP/$PRGNAM-$VERSION
mkdir -p $PKG$PREFIX/doc/$APP_NAME
mkdir -p $PKG$PREFIX/doc/$PRGNAM
# mise en place
( cd $CWD
[ ! -e $APP_NAME-src-$VERSION.tar.gz ] && wget -c http://www.$APP_NAME-scm.org/download/$APP_NAME-src-$VERSION.tar.gz
[ ! -e $PRGNAM-src-$VERSION.tar.gz ] && wget -c http://www.$PRGNAM-scm.org/download/$PRGNAM-src-$VERSION.tar.gz
)
( cd $TMP
tar xf $CWD/$APP_NAME-src-$VERSION.tar.gz
mv $APP_NAME-src-$VERSION $APP_NAME-$VERSION
cd $APP_NAME-$VERSION
tar xf $CWD/$PRGNAM-src-$VERSION.tar.gz
mv $PRGNAM-src-$VERSION $PRGNAM-$VERSION
cd $PRGNAM-$VERSION
make
mkdir -p $PKG$PREFIX/bin $PKG$PREFIX/doc/
mv $APP_NAME $PKG$PREFIX/bin
cp -R www $PKG$PREFIX/doc/$APP_NAME
mv $PRGNAM $PKG$PREFIX/bin
cp -R www $PKG$PREFIX/doc/$PRGNAM
)
# correction
@ -53,19 +53,19 @@ cat <<EOF > $PKG/install/slack-desc
# customary to leave one space after the ':'.
|-----handy-ruler------------------------------------------------------|
$APP_NAME: $APP_NAME (distributed software configuration management)
$APP_NAME:
$APP_NAME: Simple, high-reliability, distributed software configuration management
$APP_NAME:
$APP_NAME:
$APP_NAME:
$APP_NAME:
$APP_NAME:
$APP_NAME:
$APP_NAME: http://www.fossil-scm.org
$APP_NAME:
$PRGNAM: $PRGNAM (distributed software configuration management)
$PRGNAM:
$PRGNAM: Simple, high-reliability, distributed software configuration management
$PRGNAM:
$PRGNAM:
$PRGNAM:
$PRGNAM:
$PRGNAM:
$PRGNAM:
$PRGNAM: http://www.fossil-scm.org
$PRGNAM:
EOF
# empaquetage
cd $PKG
makepkg -l y -c n $TMP/$APP_NAME-$VERSION-$ARCH-$BUILD$PACKAGER.txz
makepkg -l y -c n $TMP/$PRGNAM-$VERSION-$ARCH-$BUILD$PACKAGER.txz

View file

@ -3,14 +3,14 @@
# variables
CWD=$(pwd)
APP_NAME=$(basename $CWD)
PRGNAM=$(basename $CWD)
VERSION=4.6.0
ARCH=$(uname -m)
BUILD=1
PACKAGER=cyco
TMP=/tmp/$PACKAGER
PKG=$TMP/pkg-$APP_NAME
PKG=$TMP/pkg-$PRGNAM
OUTPUT=/tmp
PREFIX=/usr
@ -25,7 +25,7 @@ case $ARCH in
esac
# nettoyage préalable
rm -fr $PKG $TMP/$APP_NAME-$VERSION
rm -fr $PKG $TMP/$PRGNAM-$VERSION
mkdir -p $PKG
@ -36,10 +36,10 @@ mkdir -p $PKG
wget -c http://www.iro.umontreal.ca/~gambit/download/gambit/v4.6/source/gambc-$TMPVER-devel.tgz \
-O $CWD/gambc-$TMPVER-devel.tgz
tar xf $CWD/gambc-$TMPVER-devel.tgz
mv gambc-$TMPVER-devel $APP_NAME-$VERSION
mv gambc-$TMPVER-devel $PRGNAM-$VERSION
)
( cd $TMP/$APP_NAME-$VERSION
( cd $TMP/$PRGNAM-$VERSION
# configuration
CCPFLAGS=$SLCKFLAGS \
CFLAGS=$SLCKFLAGS \
@ -47,7 +47,7 @@ mkdir -p $PKG
--prefix=$PREFIX \
--mandir=$PREFIX/man \
--infodir=$PREFIX/info \
--docdir=$PREFIX/doc/$APP_NAME-$VERSION \
--docdir=$PREFIX/doc/$PRGNAM-$VERSION \
--includedir=$PREFIX/include \
--libdir=$PREFIX/lib$(echo $ARCH | grep -o 64) \
--enable-single-host \
@ -66,9 +66,9 @@ mkdir -p $PKG
# correction
chown -R root:root $PKG/*
mkdir -p $PKG/usr/doc/$APP_NAME-$VERSION
( cd $TMP/$APP_NAME-$VERSION
cp -R $DOCS $PKG/usr/doc/$APP_NAME-$VERSION
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
( cd $TMP/$PRGNAM-$VERSION
cp -R $DOCS $PKG/usr/doc/$PRGNAM-$VERSION
)
[ -d $PKG/usr/man ] && find $PKG/usr/man -type f -name "*.?" -exec gzip -9f {} \;
@ -82,20 +82,20 @@ find $PKG | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs
# embaumement
mkdir -p $PKG/install
cat <<EOF > $PKG/install/slack-desc
$APP_NAME: $APP_NAME (Scheme programming system)
$APP_NAME:
$APP_NAME: Gambit-C includes a Scheme interpreter and a Scheme compiler which can be used
$APP_NAME: to build standalone executables. Because the compiler generates portable
$APP_NAME: C code it is fairly easy to port to any platform with a decent C compiler.
$APP_NAME:
$APP_NAME: The Gambit-C system conforms to the R4RS, R5RS and IEEE Scheme standards.
$APP_NAME:
$APP_NAME:
$APP_NAME: http://dynamo.iro.umontreal.ca/~gambit/wiki/index.php/Main_Page
$APP_NAME:
$PRGNAM: $PRGNAM (Scheme programming system)
$PRGNAM:
$PRGNAM: Gambit-C includes a Scheme interpreter and a Scheme compiler which can be used
$PRGNAM: to build standalone executables. Because the compiler generates portable
$PRGNAM: C code it is fairly easy to port to any platform with a decent C compiler.
$PRGNAM:
$PRGNAM: The Gambit-C system conforms to the R4RS, R5RS and IEEE Scheme standards.
$PRGNAM:
$PRGNAM:
$PRGNAM: http://dynamo.iro.umontreal.ca/~gambit/wiki/index.php/Main_Page
$PRGNAM:
EOF
# empaquetage
( cd $PKG
makepkg -l y -c n $OUTPUT/$APP_NAME-$(echo $VERSION | tr -d -)-$ARCH-$BUILD$PACKAGER.txz
makepkg -l y -c n $OUTPUT/$PRGNAM-$(echo $VERSION | tr -d -)-$ARCH-$BUILD$PACKAGER.txz
)

View file

@ -1,6 +1,6 @@
#!/bin/sh -x
APP_NAME=node.js
PRGNAM=node.js
VERSION=git$(date +%Y.%m.%d_%H.%M)
ARCH=${ARCH:-x86_64}
BUILD=${BUILD:-1cyco}
@ -13,7 +13,7 @@ PREFIX=/usr
CWD=$(pwd)
TMP=${TMP:-/tmp}
PKG=$TMP/package-$APP_NAME
PKG=$TMP/package-$PRGNAM
rm -rf $PKG
mkdir -p $TMP $PKG
@ -29,23 +29,23 @@ elif [ "$ARCH" = "x86_64" ]; then
fi
cd $TMP
rm -rf $APP_NAME-$VERSION
rm -rf $PRGNAM-$VERSION
cd $TMP
if [ -e $CWD/$APP_NAME-$VERSION.$EXT ] ; then
tar xf $CWD/$APP_NAME-$VERSION.$EXT
if [ -e $CWD/$PRGNAM-$VERSION.$EXT ] ; then
tar xf $CWD/$PRGNAM-$VERSION.$EXT
else
if [ ! -e $REPOSITORIES/$APP_NAME ] ; then
if [ ! -e $REPOSITORIES/$PRGNAM ] ; then
( cd $REPOSITORIES
git clone git://github.com/ry/node.git $APP_NAME
git clone git://github.com/ry/node.git $PRGNAM
) ;
fi
( cd $REPOSITORIES/$APP_NAME
( cd $REPOSITORIES/$PRGNAM
git pull
)
cp -R $REPOSITORIES/$APP_NAME $TMP/$APP_NAME-$VERSION
cp -R $REPOSITORIES/$PRGNAM $TMP/$PRGNAM-$VERSION
fi
cd $APP_NAME-$VERSION || exit 1
cd $PRGNAM-$VERSION || exit 1
chown -R root:root .
find . \
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
@ -63,29 +63,29 @@ make install DESTDIR=$PKG PREFIX=$PREFIX
mv $PKG$PREFIX/share/man $PKG$PREFIX
rm -fr $PKG$PREFIX/share
mkdir -p $PKG/usr/doc/$APP_NAME-$VERSION
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
AUTHORS COPYING HACKING INSTALL LICENSE NEWS README* docs/Wilber* \
$PKG/usr/doc/$APP_NAME-$VERSION
$PKG/usr/doc/$PRGNAM-$VERSION
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
mkdir -p $PKG/install
cat <<EOF > $PKG/install/slack-desc
$APP_NAME: $APP_NAME (Evented I/O for V8 javascript.)
$APP_NAME:
$APP_NAME: Node's goal is to provide an easy way to build scalable network programs.
$APP_NAME:
$APP_NAME:
$APP_NAME:
$APP_NAME:
$APP_NAME:
$APP_NAME:
$APP_NAME: http://nodejs.org/
$APP_NAME:
$PRGNAM: $PRGNAM (Evented I/O for V8 javascript.)
$PRGNAM:
$PRGNAM: Node's goal is to provide an easy way to build scalable network programs.
$PRGNAM:
$PRGNAM:
$PRGNAM:
$PRGNAM:
$PRGNAM:
$PRGNAM:
$PRGNAM: http://nodejs.org/
$PRGNAM:
EOF
cd $PKG
/sbin/makepkg -l y -c n $TMP/$APP_NAME-$VERSION-$ARCH-$BUILD.txz
/sbin/makepkg -l y -c n $TMP/$PRGNAM-$VERSION-$ARCH-$BUILD.txz

View file

@ -3,33 +3,33 @@
# variables
CWD=$(pwd)
APP_NAME=$(basename $CWD)
PRGNAM=$(basename $CWD)
VERSION=0.9.2
ARCH=$(uname -m)
BUILD=1
PACKAGER=cyco
TMP=/tmp/$PACKAGER
PKG=$TMP/pkg-$APP_NAME
PKG=$TMP/pkg-$PRGNAM
OUTPUT=/tmp
PREFIX=/usr
DOCS="COPYING MANIFEST.in PKG-INFO README.txt"
# nettoyage préalable
rm -fr $PKG $TMP/$APP_NAME-$VERSION
rm -fr $PKG $TMP/$PRGNAM-$VERSION
mkdir -p $PKG
# mise en place
( cd $TMP
[ ! -e $CWD/$APP_NAME-$VERSION.tar.?z* ] && \
wget -c http://downloads.sourceforge.net/project/$APP_NAME/$APP_NAME/$VERSION/$APP_NAME-$VERSION.tar.gz?use_mirror=jaist \
-O $CWD/$APP_NAME-$VERSION.tar.gz
tar xf $CWD/$APP_NAME-$VERSION.tar.?z*
[ ! -e $CWD/$PRGNAM-$VERSION.tar.?z* ] && \
wget -c http://downloads.sourceforge.net/project/$PRGNAM/$PRGNAM/$VERSION/$PRGNAM-$VERSION.tar.gz?use_mirror=jaist \
-O $CWD/$PRGNAM-$VERSION.tar.gz
tar xf $CWD/$PRGNAM-$VERSION.tar.?z*
)
( cd $TMP/$APP_NAME-$VERSION
( cd $TMP/$PRGNAM-$VERSION
# installation
python setup.py install --root=$PKG
)
@ -37,9 +37,9 @@ mkdir -p $PKG
# correction
chown -R root:root $PKG/*
mkdir -p $PKG/usr/doc/$APP_NAME-$VERSION
( cd $TMP/$APP_NAME-$VERSION
cp -R $DOCS $PKG/usr/doc/$APP_NAME-$VERSION
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
( cd $TMP/$PRGNAM-$VERSION
cp -R $DOCS $PKG/usr/doc/$PRGNAM-$VERSION
)
[ -d $PKG/usr/man ] && find $PKG/usr/man -type f -name "*.?" -exec gzip -9f {} \;
@ -53,20 +53,20 @@ find $PKG | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs
# embaumement
mkdir -p $PKG/install
cat <<EOF > $PKG/install/slack-desc
$APP_NAME: $APP_NAME (a python refactoring library...)
$APP_NAME:
$APP_NAME:
$APP_NAME:
$APP_NAME:
$APP_NAME:
$APP_NAME:
$APP_NAME:
$APP_NAME:
$APP_NAME: http://rope.sourceforge.net/
$APP_NAME:
$PRGNAM: $PRGNAM (a python refactoring library...)
$PRGNAM:
$PRGNAM:
$PRGNAM:
$PRGNAM:
$PRGNAM:
$PRGNAM:
$PRGNAM:
$PRGNAM:
$PRGNAM: http://rope.sourceforge.net/
$PRGNAM:
EOF
# empaquetage
( cd $PKG
makepkg -l y -c n $OUTPUT/$APP_NAME-$(echo $VERSION | tr -d -)-$ARCH-$BUILD$PACKAGER.txz
makepkg -l y -c n $OUTPUT/$PRGNAM-$(echo $VERSION | tr -d -)-$ARCH-$BUILD$PACKAGER.txz
)

View file

@ -3,14 +3,14 @@
# variables
CWD=$(pwd)
APP_NAME=$(basename $CWD)
PRGNAM=$(basename $CWD)
VERSION=3.2.2
ARCH=$(uname -m)
BUILD=1
PACKAGER=cyco
TMP=/tmp/$PACKAGER
PKG=$TMP/pkg-$APP_NAME
PKG=$TMP/pkg-$PRGNAM
OUTPUT=/tmp
PREFIX=/usr
@ -25,19 +25,19 @@ case $ARCH in
esac
# nettoyage préalable
rm -fr $PKG $TMP/$APP_NAME-$VERSION
rm -fr $PKG $TMP/$PRGNAM-$VERSION
mkdir -p $PKG
# mise en place
( cd $TMP
[ ! -e $CWD/$APP_NAME-$VERSION.tar.xz ] && \
wget -c ftp://ftp.gnu.org/gnu/smalltalk/$APP_NAME-$VERSION.tar.xz \
-O $CWD/$APP_NAME-$VERSION.tar.xz
tar xf $CWD/$APP_NAME-$VERSION.tar.xz
[ ! -e $CWD/$PRGNAM-$VERSION.tar.xz ] && \
wget -c ftp://ftp.gnu.org/gnu/smalltalk/$PRGNAM-$VERSION.tar.xz \
-O $CWD/$PRGNAM-$VERSION.tar.xz
tar xf $CWD/$PRGNAM-$VERSION.tar.xz
)
( cd $TMP/$APP_NAME-$VERSION
( cd $TMP/$PRGNAM-$VERSION
# configuration
CCPFLAGS=$SLCKFLAGS \
CFLAGS=$SLCKFLAGS \
@ -45,7 +45,7 @@ mkdir -p $PKG
--prefix=$PREFIX \
--mandir=$PREFIX/man \
--infodir=$PREFIX/info \
--docdir=$PREFIX/doc/$APP_NAME-$VERSION \
--docdir=$PREFIX/doc/$PRGNAM-$VERSION \
--includedir=$PREFIX/include \
--libdir=$PREFIX/lib$(echo $ARCH | grep -o 64) \
--enable-disassembler \
@ -60,9 +60,9 @@ mkdir -p $PKG
# correction
chown -R root:root $PKG/*
mkdir -p $PKG/usr/doc/$APP_NAME-$VERSION
( cd $TMP/$APP_NAME-$VERSION
cp -R $DOCS $PKG/usr/doc/$APP_NAME-$VERSION
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
( cd $TMP/$PRGNAM-$VERSION
cp -R $DOCS $PKG/usr/doc/$PRGNAM-$VERSION
)
[ -d $PKG/usr/man ] && find $PKG/usr/man -type f -name "*.?" -exec gzip -9f {} \;
@ -76,20 +76,20 @@ find $PKG | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs
# embaumement
mkdir -p $PKG/install
cat <<EOF > $PKG/install/slack-desc
$APP_NAME: $APP_NAME (The Smalltalk for those who can type)
$APP_NAME:
$APP_NAME: GNU Smalltalk is a free implementation of the Smalltalk-80 language.
$APP_NAME: It runs on most POSIX compatible operating systems (including GNU/Linux,
$APP_NAME: of course), as well as under Windows. Smalltalk is a dynamic
$APP_NAME: object-oriented language, well-versed to scripting tasks.
$APP_NAME:
$APP_NAME:
$APP_NAME:
$APP_NAME: http://smalltalk.gnu.org/
$APP_NAME:
$PRGNAM: $PRGNAM (The Smalltalk for those who can type)
$PRGNAM:
$PRGNAM: GNU Smalltalk is a free implementation of the Smalltalk-80 language.
$PRGNAM: It runs on most POSIX compatible operating systems (including GNU/Linux,
$PRGNAM: of course), as well as under Windows. Smalltalk is a dynamic
$PRGNAM: object-oriented language, well-versed to scripting tasks.
$PRGNAM:
$PRGNAM:
$PRGNAM:
$PRGNAM: http://smalltalk.gnu.org/
$PRGNAM:
EOF
# empaquetage
( cd $PKG
makepkg -l y -c n $OUTPUT/$APP_NAME-$(echo $VERSION | tr -d -)-$ARCH-$BUILD$PACKAGER.txz
makepkg -l y -c n $OUTPUT/$PRGNAM-$(echo $VERSION | tr -d -)-$ARCH-$BUILD$PACKAGER.txz
)

View file

@ -3,14 +3,14 @@
# variables
CWD=$(pwd)
APP_NAME=$(basename $CWD)
PRGNAM=$(basename $CWD)
VERSION=0.24-beta1
ARCH=$(uname -m)
BUILD=1
PACKAGER=cyco
TMP=/tmp/$PACKAGER
PKG=$TMP/pkg-$APP_NAME
PKG=$TMP/pkg-$PRGNAM
OUTPUT=/tmp
PREFIX=/usr
@ -19,19 +19,19 @@ DOCS="ChangeLog COPYING PKG-INFO README THANKS TODO"
EMACS=$(basename $(ls /usr/bin/emacs-2*))
# nettoyage préalable
rm -fr $PKG $TMP/$APP_NAME-$VERSION
rm -fr $PKG $TMP/$PRGNAM-$VERSION
mkdir -p $PKG
# mise en place
( cd $TMP
[ ! -e $CWD/$APP_NAME-$VERSION.tar.?z* ] && \
wget -c http://pymacs.progiciels-bpi.ca/archives/$APP_NAME-$VERSION.tar.gz \
-O $CWD/$APP_NAME-$VERSION.tar.gz
tar xf $CWD/$APP_NAME-$VERSION.tar.?z*
[ ! -e $CWD/$PRGNAM-$VERSION.tar.?z* ] && \
wget -c http://pymacs.progiciels-bpi.ca/archives/$PRGNAM-$VERSION.tar.gz \
-O $CWD/$PRGNAM-$VERSION.tar.gz
tar xf $CWD/$PRGNAM-$VERSION.tar.?z*
)
( cd $TMP/$APP_NAME-$VERSION
( cd $TMP/$PRGNAM-$VERSION
# installation
python setup.py install --root=$PKG
@ -42,15 +42,15 @@ mkdir -p $PKG
# correction
chown -R root:root $PKG/*
mkdir -p $PKG/usr/doc/$APP_NAME-$VERSION
( cd $TMP/$APP_NAME-$VERSION
cp -R $DOCS $PKG/usr/doc/$APP_NAME-$VERSION
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
( cd $TMP/$PRGNAM-$VERSION
cp -R $DOCS $PKG/usr/doc/$PRGNAM-$VERSION
[ ! -e $CWD/pymacs.html ] && \
wget -c http://pymacs.progiciels-bpi.ca/pymacs.html -O $CWD/pymacs.html
cp -R $CWD/pymacs.html $PKG/usr/doc/$APP_NAME-$VERSION
cp -R $CWD/pymacs.html $PKG/usr/doc/$PRGNAM-$VERSION
[ ! -e $CWD/pymacs.pdf ] && \
wget -c http://pymacs.progiciels-bpi.ca/pymacs.pdf -O $CWD/pymacs.pdf
cp -R $CWD/pymacs.pdf $PKG/usr/doc/$APP_NAME-$VERSION
cp -R $CWD/pymacs.pdf $PKG/usr/doc/$PRGNAM-$VERSION
)
[ -d $PKG/usr/man ] && find $PKG/usr/man -type f -name "*.?" -exec gzip -9f {} \;
@ -64,20 +64,20 @@ find $PKG | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs
# embaumement
mkdir -p $PKG/install
cat <<EOF > $PKG/install/slack-desc
$APP_NAME: $APP_NAME (Emacs-lisp <-> Python)
$APP_NAME:
$APP_NAME: Pymacs is a powerful tool which, once started from Emacs, allows both-way
$APP_NAME: communication between Emacs Lisp and Python. Pymacs aims Python as an
$APP_NAME: extension language for Emacs rather than the other way around, and this
$APP_NAME: asymmetry is reflected in some design choices. Within Emacs Lisp code, one
$APP_NAME: may load and use Python modules. Python functions may themselves use Emacs
$APP_NAME: services, and handle Emacs Lisp objects kept in Emacs Lisp space.
$APP_NAME:
$APP_NAME: http://pymacs.progiciels-bpi.ca/
$APP_NAME:
$PRGNAM: $PRGNAM (Emacs-lisp <-> Python)
$PRGNAM:
$PRGNAM: Pymacs is a powerful tool which, once started from Emacs, allows both-way
$PRGNAM: communication between Emacs Lisp and Python. Pymacs aims Python as an
$PRGNAM: extension language for Emacs rather than the other way around, and this
$PRGNAM: asymmetry is reflected in some design choices. Within Emacs Lisp code, one
$PRGNAM: may load and use Python modules. Python functions may themselves use Emacs
$PRGNAM: services, and handle Emacs Lisp objects kept in Emacs Lisp space.
$PRGNAM:
$PRGNAM: http://pymacs.progiciels-bpi.ca/
$PRGNAM:
EOF
# empaquetage
( cd $PKG
makepkg -l y -c n $OUTPUT/$APP_NAME-$(echo $VERSION | tr -d -)-$ARCH-$BUILD$PACKAGER.txz
makepkg -l y -c n $OUTPUT/$PRGNAM-$(echo $VERSION | tr -d -)-$ARCH-$BUILD$PACKAGER.txz
)

View file

@ -3,33 +3,33 @@
# variables
CWD=$(pwd)
APP_NAME=$(basename $CWD)
PRGNAM=$(basename $CWD)
VERSION=0.6
ARCH=$(uname -m)
BUILD=1
PACKAGER=cyco
TMP=/tmp/$PACKAGER
PKG=$TMP/pkg-$APP_NAME
PKG=$TMP/pkg-$PRGNAM
OUTPUT=/tmp
PREFIX=/usr
DOCS="COPYING MANIFEST.in PKG-INFO README.txt"
# nettoyage préalable
rm -fr $PKG $TMP/$APP_NAME-$VERSION
rm -fr $PKG $TMP/$PRGNAM-$VERSION
mkdir -p $PKG
# mise en place
( cd $TMP
[ ! -e $CWD/$APP_NAME-$VERSION.tar.?z* ] && \
wget -c http://downloads.sourceforge.net/project/rope/$APP_NAME/$VERSION/$APP_NAME-$VERSION.tar.gz?use_mirror=jaist \
-O $CWD/$APP_NAME-$VERSION.tar.gz
tar xf $CWD/$APP_NAME-$VERSION.tar.?z*
[ ! -e $CWD/$PRGNAM-$VERSION.tar.?z* ] && \
wget -c http://downloads.sourceforge.net/project/rope/$PRGNAM/$VERSION/$PRGNAM-$VERSION.tar.gz?use_mirror=jaist \
-O $CWD/$PRGNAM-$VERSION.tar.gz
tar xf $CWD/$PRGNAM-$VERSION.tar.?z*
)
( cd $TMP/$APP_NAME-$VERSION
( cd $TMP/$PRGNAM-$VERSION
# installation
python setup.py install --root=$PKG
)
@ -37,9 +37,9 @@ mkdir -p $PKG
# correction
chown -R root:root $PKG/*
mkdir -p $PKG/usr/doc/$APP_NAME-$VERSION
( cd $TMP/$APP_NAME-$VERSION
cp -R $DOCS $PKG/usr/doc/$APP_NAME-$VERSION
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
( cd $TMP/$PRGNAM-$VERSION
cp -R $DOCS $PKG/usr/doc/$PRGNAM-$VERSION
)
[ -d $PKG/usr/man ] && find $PKG/usr/man -type f -name "*.?" -exec gzip -9f {} \;
@ -53,20 +53,20 @@ find $PKG | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs
# embaumement
mkdir -p $PKG/install
cat <<EOF > $PKG/install/slack-desc
$APP_NAME: $APP_NAME (a python refactoring library...)
$APP_NAME:
$APP_NAME:
$APP_NAME:
$APP_NAME:
$APP_NAME:
$APP_NAME:
$APP_NAME:
$APP_NAME:
$APP_NAME: http://rope.sourceforge.net/
$APP_NAME:
$PRGNAM: $PRGNAM (a python refactoring library...)
$PRGNAM:
$PRGNAM:
$PRGNAM:
$PRGNAM:
$PRGNAM:
$PRGNAM:
$PRGNAM:
$PRGNAM:
$PRGNAM: http://rope.sourceforge.net/
$PRGNAM:
EOF
# empaquetage
( cd $PKG
makepkg -l y -c n $OUTPUT/$APP_NAME-$(echo $VERSION | tr -d -)-$ARCH-$BUILD$PACKAGER.txz
makepkg -l y -c n $OUTPUT/$PRGNAM-$(echo $VERSION | tr -d -)-$ARCH-$BUILD$PACKAGER.txz
)

View file

@ -9,17 +9,17 @@ PACKAGER=cyco
TMP=/tmp
CWD=$(pwd)
APP_NAME=$(basename $CWD)
PKG=$TMP/$PACKAGER/pkg-$APP_NAME
PRGNAM=$(basename $CWD)
PKG=$TMP/$PACKAGER/pkg-$PRGNAM
REPOSITORY=/home/cycojesus/projets/packages/repositories/$APP_NAME
REPOSITORY=/home/cycojesus/projets/packages/repositories/$PRGNAM
PREFIX=/usr
EMACS=$(basename $(ls /usr/bin/emacs-2*))
EMACS_VERSION=$(echo "$EMACS" | grep -o "[0-9\.]*")
# nettoyage préalable
rm -fr $PKG $TMP/$APP_NAME-$VERSION
rm -fr $PKG $TMP/$PRGNAM-$VERSION
mkdir -p $PKG
@ -30,7 +30,7 @@ if [ ! -e $REPOSITORY ] ; then
cd $(dirname $REPOSITORY)
echo "Press [Enter]"
cvs -d :pserver:anonymous@cvs.namazu.org:/storage/cvsroot login
cvs -d :pserver:anonymous@cvs.namazu.org:/storage/cvsroot co $APP_NAME
cvs -d :pserver:anonymous@cvs.namazu.org:/storage/cvsroot co $PRGNAM
fi
( cd $REPOSITORY
@ -38,16 +38,16 @@ fi
)
if [ ! -e $REPOSITORY ] ; then
[ -e $CWD/$APP_NAME-$VERSION.tar.gz ] && rm $CWD/$APP_NAME-$VERSION.tar.gz
wget -c "http://cvs.namazu.org/emacs-w3m.tar.gz?view=tar" -O $CWD/$APP_NAME-$VERSION.tar.gz
[ -e $CWD/$PRGNAM-$VERSION.tar.gz ] && rm $CWD/$PRGNAM-$VERSION.tar.gz
wget -c "http://cvs.namazu.org/emacs-w3m.tar.gz?view=tar" -O $CWD/$PRGNAM-$VERSION.tar.gz
( cd $TMP
tar xvf $CWD/$APP_NAME-$VERSION.tar.gz
mv $APP_NAME $APP_NAME-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
mv $PRGNAM $PRGNAM-$VERSION
)
else
cp -R $REPOSITORY $TMP/$APP_NAME-$VERSION
cp -R $REPOSITORY $TMP/$PRGNAM-$VERSION
fi
( cd $TMP/$APP_NAME-$VERSION
( cd $TMP/$PRGNAM-$VERSION
zcat $CWD/widget-mouse-face.patch.gz | patch -p1
autoreconf
./configure \
@ -74,19 +74,19 @@ cat <<EOF > $PKG/install/slack-desc
# customary to leave one space after the ':'.
|-----handy-ruler------------------------------------------------------|
$APP_NAME: $APP_NAME (a simple Emacs interface to w3m.)
$APP_NAME:
$APP_NAME:
$APP_NAME:
$APP_NAME:
$APP_NAME:
$APP_NAME:
$APP_NAME:
$APP_NAME:
$APP_NAME:
$APP_NAME: http://emacs-w3m.namazu.org/
$PRGNAM: $PRGNAM (a simple Emacs interface to w3m.)
$PRGNAM:
$PRGNAM:
$PRGNAM:
$PRGNAM:
$PRGNAM:
$PRGNAM:
$PRGNAM:
$PRGNAM:
$PRGNAM:
$PRGNAM: http://emacs-w3m.namazu.org/
EOF
# empaquetage
cd $PKG
makepkg -l y -c n $TMP/$APP_NAME-$VERSION-$ARCH-$BUILD$PACKAGER.txz
makepkg -l y -c n $TMP/$PRGNAM-$VERSION-$ARCH-$BUILD$PACKAGER.txz

View file

@ -11,17 +11,17 @@ TMP=/tmp/$PACKAGER
OUTPUT=/tmp
CWD=$(pwd)
APP_NAME=$(basename $CWD)
PKG=$TMP/$PACKAGER/pkg-$APP_NAME
PRGNAM=$(basename $CWD)
PKG=$TMP/$PACKAGER/pkg-$PRGNAM
REPOSITORY=/home/cycojesus/projets/packages/repositories/$APP_NAME
REPOSITORY=/home/cycojesus/projets/packages/repositories/$PRGNAM
PREFIX=/usr
EMACS=$(basename $(ls /usr/bin/emacs-2*))
EMACS_VERSION=$(echo "$EMACS" | grep -o "[0-9\.]*")
# nettoyage préalable
rm -fr $PKG $TMP/$APP_NAME-$VERSION
rm -fr $PKG $TMP/$PRGNAM-$VERSION
mkdir -p $PKG
@ -37,8 +37,8 @@ fi
git pull
)
cp -R $REPOSITORY $TMP/$APP_NAME-$VERSION
( cd $TMP/$APP_NAME-$VERSION
cp -R $REPOSITORY $TMP/$PRGNAM-$VERSION
( cd $TMP/$PRGNAM-$VERSION
sed -i "s|EMACS=emacs|EMACS=$EMACS|" Makefile
sed -i "s|prefix=/usr/local|prefix=$PREFIX|" Makefile
sed -i 's|infodir = $(prefix)/share/info|infodir = $(prefix)/info|' Makefile
@ -67,8 +67,8 @@ cp -R $REPOSITORY $TMP/$APP_NAME-$VERSION
# ( cd $PKG$PREFIX/share/emacs/site-lisp/org-mode-contrib/babel
# emacs -batch -f batch-byte-compile-file *.el
# )
mkdir -p $PKG$PREFIX/doc/$APP_NAME
cp -R contrib $PKG$PREFIX/doc/$APP_NAME
mkdir -p $PKG$PREFIX/doc/$PRGNAM
cp -R contrib $PKG$PREFIX/doc/$PRGNAM
)
# correction
@ -102,19 +102,19 @@ cat <<EOF > $PKG/install/slack-desc
# customary to leave one space after the ':'.
|-----handy-ruler------------------------------------------------------|
$APP_NAME: $APP_NAME (an Emacs Mode for Notes, Project Planning, and Authoring)
$APP_NAME:
$APP_NAME: Org-mode is for keeping notes, maintaining ToDo lists, doing project
$APP_NAME: planning, and authoring with a fast and effective plain-text system.
$APP_NAME:
$APP_NAME:
$APP_NAME:
$APP_NAME:
$APP_NAME:
$APP_NAME:
$APP_NAME: http://orgmode.org/
$PRGNAM: $PRGNAM (an Emacs Mode for Notes, Project Planning, and Authoring)
$PRGNAM:
$PRGNAM: Org-mode is for keeping notes, maintaining ToDo lists, doing project
$PRGNAM: planning, and authoring with a fast and effective plain-text system.
$PRGNAM:
$PRGNAM:
$PRGNAM:
$PRGNAM:
$PRGNAM:
$PRGNAM:
$PRGNAM: http://orgmode.org/
EOF
# empaquetage
cd $PKG
makepkg -l y -c n $OUTPUT/$APP_NAME-$VERSION-$ARCH-$BUILD$PACKAGER.txz
makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$PACKAGER.txz

View file

@ -4,8 +4,8 @@
TMP=/tmp
CWD=$(pwd)
APP_NAME=$(basename $CWD)
PKG=$TMP/package-$APP_NAME
PRGNAM=$(basename $CWD)
PKG=$TMP/package-$PRGNAM
VERSION=2010-November
@ -25,15 +25,15 @@ case $ARCH in
esac
# nettoyage préalable
rm -fr $PKG $TMP/$APP_NAME-$VERSION
rm -fr $PKG $TMP/$PRGNAM-$VERSION
mkdir -p $PKG
# mise en place
cd $TMP
[ ! -e $CWD/$APP_NAME-$VERSION.tar.?z* ] && wget -c http://downloads.sourceforge.net/project/arabica/arabica/November-10/$APP_NAME-$VERSION.tar.bz2 -O $CWD/$APP_NAME-$VERSION.tar.bz2
tar xf $CWD/$APP_NAME-$VERSION.tar.?z*
cd $APP_NAME-$VERSION
[ ! -e $CWD/$PRGNAM-$VERSION.tar.?z* ] && wget -c http://downloads.sourceforge.net/project/arabica/arabica/November-10/$PRGNAM-$VERSION.tar.bz2 -O $CWD/$PRGNAM-$VERSION.tar.bz2
tar xf $CWD/$PRGNAM-$VERSION.tar.?z*
cd $PRGNAM-$VERSION
# configuration
CFLAGS=$SLCKFLAGS \
@ -53,9 +53,9 @@ make install DESTDIR=$PKG
cd $PKG
chown -R root:root *
mkdir -p $PKG/usr/doc/$APP_NAME-$VERSION
cd $TMP/$APP_NAME-$VERSION
cp -R $DOCS $PKG/usr/doc/$APP_NAME-$VERSION
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cd $TMP/$PRGNAM-$VERSION
cp -R $DOCS $PKG/usr/doc/$PRGNAM-$VERSION
[ -d $PKG/usr/man ] && find $PKG/usr/man -type f -name "*.?" -exec gzip -9f {} \;
@ -69,19 +69,19 @@ cp -R $DOCS $PKG/usr/doc/$APP_NAME-$VERSION
# embaumement
mkdir -p $PKG/install
cat <<EOF > $PKG/install/slack-desc
$APP_NAME: $APP_NAME
$APP_NAME:
$APP_NAME:
$APP_NAME:
$APP_NAME:
$APP_NAME:
$APP_NAME:
$APP_NAME: http://www.jezuk.co.uk/cgi-bin/view/arabica
$APP_NAME:
$APP_NAME: see /usr/doc/$APP_NAME-$VERSION for more details
$APP_NAME:
$PRGNAM: $PRGNAM
$PRGNAM:
$PRGNAM:
$PRGNAM:
$PRGNAM:
$PRGNAM:
$PRGNAM:
$PRGNAM: http://www.jezuk.co.uk/cgi-bin/view/arabica
$PRGNAM:
$PRGNAM: see /usr/doc/$PRGNAM-$VERSION for more details
$PRGNAM:
EOF
# empaquetage
cd $PKG
makepkg -l y -c n $TMP/$APP_NAME-$(echo $VERSION | sed 's/-//g')-$ARCH-$BUILD.txz
makepkg -l y -c n $TMP/$PRGNAM-$(echo $VERSION | sed 's/-//g')-$ARCH-$BUILD.txz

View file

@ -4,8 +4,8 @@
TMP=/tmp
CWD=$(pwd)
APP_NAME=$(basename $CWD)
PKG=$TMP/package-$APP_NAME
PRGNAM=$(basename $CWD)
PKG=$TMP/package-$PRGNAM
VERSION=2.22.0
@ -21,14 +21,14 @@ PREFIX=/usr
SLCKFLAGS="-fPIC -O2"
# nettoyage préalable
rm -fr $PKG $TMP/$APP_NAME-$VERSION
rm -fr $PKG $TMP/$PRGNAM-$VERSION
mkdir -p $PKG
# mise en place
cd $TMP
tar xf $CWD/$APP_NAME-$VERSION.$EXT
cd $APP_NAME-$VERSION
tar xf $CWD/$PRGNAM-$VERSION.$EXT
cd $PRGNAM-$VERSION
# configuration
CFLAGS=$SLCKFLAGS \
@ -48,9 +48,9 @@ make install DESTDIR=$PKG
cd $PKG
chown -R root:root *
mkdir -p $PKG/usr/doc/$APP_NAME-$VERSION
cd $TMP/$APP_NAME-$VERSION
cp -R $DOCS $PKG/usr/doc/$APP_NAME-$VERSION
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cd $TMP/$PRGNAM-$VERSION
cp -R $DOCS $PKG/usr/doc/$PRGNAM-$VERSION
[ -d $PKG/usr/man ] && find $PKG/usr/man -type f -name "*.?" -exec gzip -9f {} \;
@ -87,4 +87,4 @@ EOF
# empaquetage
cd $PKG
makepkg -l y -c n $TMP/$APP_NAME-$(echo $VERSION | sed 's/-//g')-$ARCH-$BUILD.txz
makepkg -l y -c n $TMP/$PRGNAM-$(echo $VERSION | sed 's/-//g')-$ARCH-$BUILD.txz

View file

@ -4,8 +4,8 @@
TMP=/tmp
CWD=$(pwd)
APP_NAME=$(basename $CWD)
PKG=$TMP/package-$APP_NAME
PRGNAM=$(basename $CWD)
PKG=$TMP/package-$PRGNAM
VERSION=1.4.3
@ -19,17 +19,17 @@ PREFIX=/usr
SLCKFLAGS="-fPIC -O2"
# nettoyage préalable
rm -fr $PKG $TMP/$APP_NAME-$VERSION
rm -fr $PKG $TMP/$PRGNAM-$VERSION
mkdir -p $PKG
# mise en place
cd $TMP
[ ! -e $CWD/$APP_NAME-$VERSION.tar.?z* ] && \
wget -c http://ftp1.fr.freebsd.org/pub/frugalware/frugalware-current/source/lib-extra/libconfig/$APP_NAME-$VERSION.tar.gz \
-O $CWD/$APP_NAME-$VERSION.tar.gz
tar xf $CWD/$APP_NAME-$VERSION.tar.?z*
cd $APP_NAME-$VERSION
[ ! -e $CWD/$PRGNAM-$VERSION.tar.?z* ] && \
wget -c http://ftp1.fr.freebsd.org/pub/frugalware/frugalware-current/source/lib-extra/libconfig/$PRGNAM-$VERSION.tar.gz \
-O $CWD/$PRGNAM-$VERSION.tar.gz
tar xf $CWD/$PRGNAM-$VERSION.tar.?z*
cd $PRGNAM-$VERSION
# configuration
CFLAGS=$SLCKFLAGS \
@ -50,9 +50,9 @@ make install DESTDIR=$PKG
cd $PKG
chown -R root:root *
mkdir -p $PKG/usr/doc/$APP_NAME-$VERSION
cd $TMP/$APP_NAME-$VERSION
cp -R $DOCS $PKG/usr/doc/$APP_NAME-$VERSION
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cd $TMP/$PRGNAM-$VERSION
cp -R $DOCS $PKG/usr/doc/$PRGNAM-$VERSION
[ -d $PKG/usr/man ] && find $PKG/usr/man -type f -name "*.?" -exec gzip -9f {} \;
[ -d $PKG/usr/info ] && find $PKG/usr/info -type f -name "*.info*" -exec gzip -9f {} \;
@ -76,19 +76,19 @@ done
)
EOF
cat <<EOF > $PKG/install/slack-desc
$APP_NAME: $APP_NAME (Configuration file library for C and C++.)
$APP_NAME:
$APP_NAME:
$APP_NAME:
$APP_NAME:
$APP_NAME:
$APP_NAME:
$APP_NAME:
$APP_NAME:
$APP_NAME: http://hyperrealm.com/libconfig/libconfig.html
$APP_NAME:
$PRGNAM: $PRGNAM (Configuration file library for C and C++.)
$PRGNAM:
$PRGNAM:
$PRGNAM:
$PRGNAM:
$PRGNAM:
$PRGNAM:
$PRGNAM:
$PRGNAM:
$PRGNAM: http://hyperrealm.com/libconfig/libconfig.html
$PRGNAM:
EOF
# empaquetage
cd $PKG
makepkg -l y -c n $TMP/$APP_NAME-$(echo $VERSION | sed 's/-//g')-$ARCH-$BUILD.txz
makepkg -l y -c n $TMP/$PRGNAM-$(echo $VERSION | sed 's/-//g')-$ARCH-$BUILD.txz

View file

@ -4,8 +4,8 @@
TMP=/tmp
CWD=$(pwd)
APP_NAME=libev
PKG=$TMP/package-$APP_NAME
PRGNAM=libev
PKG=$TMP/package-$PRGNAM
VERSION=4.03
@ -21,15 +21,15 @@ PREFIX=/usr
SLCKFLAGS="-fPIC -O2"
# nettoyage préalable
rm -fr $PKG $TMP/$APP_NAME-$VERSION
rm -fr $PKG $TMP/$PRGNAM-$VERSION
mkdir -p $PKG
# mise en place
cd $TMP
[ ! -e $CWD/$APP_NAME-$VERSION.$EXT ] && wget -c http://dist.schmorp.de/libev/libev-4.03.tar.gz -O $CWD/$APP_NAME-$VERSION.$EXT
tar xf $CWD/$APP_NAME-$VERSION.$EXT
cd $APP_NAME-$VERSION
[ ! -e $CWD/$PRGNAM-$VERSION.$EXT ] && wget -c http://dist.schmorp.de/libev/libev-4.03.tar.gz -O $CWD/$PRGNAM-$VERSION.$EXT
tar xf $CWD/$PRGNAM-$VERSION.$EXT
cd $PRGNAM-$VERSION
# configuration
CFLAGS=$SLCKFLAGS \
@ -49,9 +49,9 @@ make install DESTDIR=$PKG
cd $PKG
chown -R root:root *
mkdir -p $PKG/usr/doc/$APP_NAME-$VERSION
cd $TMP/$APP_NAME-$VERSION
cp -R $DOCS $PKG/usr/doc/$APP_NAME-$VERSION
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cd $TMP/$PRGNAM-$VERSION
cp -R $DOCS $PKG/usr/doc/$PRGNAM-$VERSION
[ -d $PKG/usr/man ] && find $PKG/usr/man -type f -name "*.?" -exec gzip -9f {} \;
@ -65,19 +65,19 @@ cp -R $DOCS $PKG/usr/doc/$APP_NAME-$VERSION
# embaumement
mkdir -p $PKG/install
cat <<EOF > $PKG/install/slack-desc
$APP_NAME: $APP_NAME (one line description here)
$APP_NAME:
$APP_NAME: More verbose description here, usually from the README file.
$APP_NAME:
$APP_NAME:
$APP_NAME:
$APP_NAME:
$APP_NAME:
$APP_NAME:
$APP_NAME: see /usr/doc/$APP_NAME-$VERSION for more details
$APP_NAME:
$PRGNAM: $PRGNAM (one line description here)
$PRGNAM:
$PRGNAM: More verbose description here, usually from the README file.
$PRGNAM:
$PRGNAM:
$PRGNAM:
$PRGNAM:
$PRGNAM:
$PRGNAM:
$PRGNAM: see /usr/doc/$PRGNAM-$VERSION for more details
$PRGNAM:
EOF
# empaquetage
cd $PKG
makepkg -l y -c n $TMP/$APP_NAME-$(echo $VERSION | sed 's/-//g')-$ARCH-$BUILD.txz
makepkg -l y -c n $TMP/$PRGNAM-$(echo $VERSION | sed 's/-//g')-$ARCH-$BUILD.txz

View file

@ -4,8 +4,8 @@
TMP=/tmp
CWD=$(pwd)
APP_NAME=libfakekey
PKG=$TMP/package-$APP_NAME
PRGNAM=libfakekey
PKG=$TMP/package-$PRGNAM
VERSION=0.1
@ -25,14 +25,14 @@ case $ARCH in
esac
# nettoyage préalable
rm -fr $PKG $TMP/$APP_NAME-$VERSION
rm -fr $PKG $TMP/$PRGNAM-$VERSION
mkdir -p $PKG
# mise en place
cd $TMP
tar xf $CWD/$APP_NAME-$VERSION.tar.?z*
cd $APP_NAME-$VERSION
tar xf $CWD/$PRGNAM-$VERSION.tar.?z*
cd $PRGNAM-$VERSION
# configuration
CFLAGS=$SLCKFLAGS \
@ -52,9 +52,9 @@ make install DESTDIR=$PKG
cd $PKG
chown -R root:root *
mkdir -p $PKG/usr/doc/$APP_NAME-$VERSION
cd $TMP/$APP_NAME-$VERSION
cp -R $DOCS $PKG/usr/doc/$APP_NAME-$VERSION
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cd $TMP/$PRGNAM-$VERSION
cp -R $DOCS $PKG/usr/doc/$PRGNAM-$VERSION
[ -d $PKG/usr/man ] && find $PKG/usr/man -type f -name "*.?" -exec gzip -9f {} \;
@ -68,19 +68,19 @@ cp -R $DOCS $PKG/usr/doc/$APP_NAME-$VERSION
# embaumement
mkdir -p $PKG/install
cat <<EOF > $PKG/install/slack-desc
$APP_NAME: $APP_NAME ()
$APP_NAME:
$APP_NAME:
$APP_NAME:
$APP_NAME:
$APP_NAME:
$APP_NAME:
$APP_NAME: http://matchbox-project.org/
$APP_NAME:
$APP_NAME: see /usr/doc/$APP_NAME-$VERSION for more details
$APP_NAME:
$PRGNAM: $PRGNAM ()
$PRGNAM:
$PRGNAM:
$PRGNAM:
$PRGNAM:
$PRGNAM:
$PRGNAM:
$PRGNAM: http://matchbox-project.org/
$PRGNAM:
$PRGNAM: see /usr/doc/$PRGNAM-$VERSION for more details
$PRGNAM:
EOF
# empaquetage
cd $PKG
makepkg -l y -c n $TMP/$APP_NAME-$(echo $VERSION | sed 's/-//g')-$ARCH-$BUILD.txz
makepkg -l y -c n $TMP/$PRGNAM-$(echo $VERSION | sed 's/-//g')-$ARCH-$BUILD.txz

View file

@ -3,14 +3,14 @@
# variables
CWD=$(pwd)
APP_NAME=$(basename $CWD)
PRGNAM=$(basename $CWD)
VERSION=3.0.9
ARCH=$(uname -m)
BUILD=1
PACKAGER=cyco
TMP=/tmp/$PACKAGER
PKG=$TMP/pkg-$APP_NAME
PKG=$TMP/pkg-$PRGNAM
OUTPUT=/tmp
PREFIX=/usr
@ -25,19 +25,19 @@ case $ARCH in
esac
# nettoyage préalable
rm -fr $PKG $TMP/$APP_NAME-$VERSION
rm -fr $PKG $TMP/$PRGNAM-$VERSION
mkdir -p $PKG
# mise en place
( cd $TMP
[ ! -e $CWD/$APP_NAME-$VERSION.tar.?z* ] && \
wget -c ftp://sourceware.org/pub/libffi/$APP_NAME-$VERSION.tar.gz \
-O $CWD/$APP_NAME-$VERSION.tar.gz
tar xf $CWD/$APP_NAME-$VERSION.tar.?z*
[ ! -e $CWD/$PRGNAM-$VERSION.tar.?z* ] && \
wget -c ftp://sourceware.org/pub/libffi/$PRGNAM-$VERSION.tar.gz \
-O $CWD/$PRGNAM-$VERSION.tar.gz
tar xf $CWD/$PRGNAM-$VERSION.tar.?z*
)
( cd $TMP/$APP_NAME-$VERSION
( cd $TMP/$PRGNAM-$VERSION
# configuration
CCPFLAGS=$SLCKFLAGS \
CFLAGS=$SLCKFLAGS \
@ -47,7 +47,7 @@ mkdir -p $PKG
--prefix=$PREFIX \
--mandir=$PREFIX/man \
--infodir=$PREFIX/info \
--docdir=$PREFIX/doc/$APP_NAME-$VERSION \
--docdir=$PREFIX/doc/$PRGNAM-$VERSION \
--includedir=$PREFIX/include \
--libdir=$PREFIX/lib$(echo $ARCH | grep -o 64)
@ -56,15 +56,15 @@ mkdir -p $PKG
# installation
make install DESTDIR=$PKG
# WAT‽
cp -R $PKG$PREFIX/lib$(echo $ARCH | grep -o 64)/$APP_NAME-$VERSION/include $PKG$PREFIX/
cp -R $PKG$PREFIX/lib$(echo $ARCH | grep -o 64)/$PRGNAM-$VERSION/include $PKG$PREFIX/
)
# correction
chown -R root:root $PKG/*
mkdir -p $PKG/usr/doc/$APP_NAME-$VERSION
( cd $TMP/$APP_NAME-$VERSION
cp -R $DOCS $PKG/usr/doc/$APP_NAME-$VERSION
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
( cd $TMP/$PRGNAM-$VERSION
cp -R $DOCS $PKG/usr/doc/$PRGNAM-$VERSION
)
[ -d $PKG/usr/man ] && find $PKG/usr/man -type f -name "*.?" -exec gzip -9f {} \;
@ -78,20 +78,20 @@ find $PKG | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs
# embaumement
mkdir -p $PKG/install
cat <<EOF > $PKG/install/slack-desc
$APP_NAME: $APP_NAME (A Portable Foreign Function Interface Library )
$APP_NAME:
$APP_NAME:
$APP_NAME:
$APP_NAME:
$APP_NAME:
$APP_NAME:
$APP_NAME:
$APP_NAME:
$APP_NAME: http://sourceware.org/libffi/
$APP_NAME:
$PRGNAM: $PRGNAM (A Portable Foreign Function Interface Library )
$PRGNAM:
$PRGNAM:
$PRGNAM:
$PRGNAM:
$PRGNAM:
$PRGNAM:
$PRGNAM:
$PRGNAM:
$PRGNAM: http://sourceware.org/libffi/
$PRGNAM:
EOF
# empaquetage
( cd $PKG
makepkg -l y -c n $OUTPUT/$APP_NAME-$(echo $VERSION | tr -d -)-$ARCH-$BUILD$PACKAGER.txz
makepkg -l y -c n $OUTPUT/$PRGNAM-$(echo $VERSION | tr -d -)-$ARCH-$BUILD$PACKAGER.txz
)

View file

@ -3,14 +3,14 @@
# variables
CWD=$(pwd)
APP_NAME=$(basename $CWD)
PRGNAM=$(basename $CWD)
VERSION=0.9.3
ARCH=$(uname -m)
BUILD=1
PACKAGER=cyco
TMP=/tmp/$PACKAGER
PKG=$TMP/pkg-$APP_NAME
PKG=$TMP/pkg-$PRGNAM
OUTPUT=/tmp
PREFIX=/usr
@ -25,19 +25,19 @@ case $ARCH in
esac
# nettoyage préalable
rm -fr $PKG $TMP/$APP_NAME-$VERSION
rm -fr $PKG $TMP/$PRGNAM-$VERSION
mkdir -p $PKG
# mise en place
( cd $TMP
[ ! -e $CWD/$APP_NAME-$VERSION.tar.?z* ] && \
wget -c http://ftp.gnu.org/gnu/libunistring/$APP_NAME-$VERSION.tar.gz \
-O $CWD/$APP_NAME-$VERSION.tar.gz
tar xf $CWD/$APP_NAME-$VERSION.tar.?z*
[ ! -e $CWD/$PRGNAM-$VERSION.tar.?z* ] && \
wget -c http://ftp.gnu.org/gnu/libunistring/$PRGNAM-$VERSION.tar.gz \
-O $CWD/$PRGNAM-$VERSION.tar.gz
tar xf $CWD/$PRGNAM-$VERSION.tar.?z*
)
( cd $TMP/$APP_NAME-$VERSION
( cd $TMP/$PRGNAM-$VERSION
# configuration
CCPFLAGS=$SLCKFLAGS \
CFLAGS=$SLCKFLAGS \
@ -47,7 +47,7 @@ mkdir -p $PKG
--prefix=$PREFIX \
--mandir=$PREFIX/man \
--infodir=$PREFIX/info \
--docdir=$PREFIX/doc/$APP_NAME-$VERSION \
--docdir=$PREFIX/doc/$PRGNAM-$VERSION \
--libdir=$PREFIX/lib$(echo $ARCH | grep -o 64)
# compilation
@ -59,9 +59,9 @@ mkdir -p $PKG
# correction
chown -R root:root $PKG/*
mkdir -p $PKG/usr/doc/$APP_NAME-$VERSION
( cd $TMP/$APP_NAME-$VERSION
cp -R $DOCS $PKG/usr/doc/$APP_NAME-$VERSION
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
( cd $TMP/$PRGNAM-$VERSION
cp -R $DOCS $PKG/usr/doc/$PRGNAM-$VERSION
)
[ -d $PKG/usr/man ] && find $PKG/usr/man -type f -name "*.?" -exec gzip -9f {} \;
@ -75,20 +75,20 @@ find $PKG | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs
# embaumement
mkdir -p $PKG/install
cat <<EOF > $PKG/install/slack-desc
$APP_NAME: $APP_NAME (GNU Unicode library)
$APP_NAME:
$APP_NAME: This library provides functions for manipulating Unicode strings and
$APP_NAME: for manipulating C strings according to the Unicode standard.
$APP_NAME:
$APP_NAME:
$APP_NAME:
$APP_NAME:
$APP_NAME:
$APP_NAME: http://www.gnu.org/software/libunistring/
$APP_NAME:
$PRGNAM: $PRGNAM (GNU Unicode library)
$PRGNAM:
$PRGNAM: This library provides functions for manipulating Unicode strings and
$PRGNAM: for manipulating C strings according to the Unicode standard.
$PRGNAM:
$PRGNAM:
$PRGNAM:
$PRGNAM:
$PRGNAM:
$PRGNAM: http://www.gnu.org/software/libunistring/
$PRGNAM:
EOF
# empaquetage
( cd $PKG
makepkg -l y -c n $OUTPUT/$APP_NAME-$(echo $VERSION | tr -d -)-$ARCH-$BUILD$PACKAGER.txz
makepkg -l y -c n $OUTPUT/$PRGNAM-$(echo $VERSION | tr -d -)-$ARCH-$BUILD$PACKAGER.txz
)

View file

@ -4,8 +4,8 @@
TMP=/tmp
CWD=$(pwd)
APP_NAME=libxdg-basedir
PKG=$TMP/package-$APP_NAME
PRGNAM=libxdg-basedir
PKG=$TMP/package-$PRGNAM
VERSION=1.0.0
@ -21,14 +21,14 @@ PREFIX=/usr
SLCKFLAGS="-fPIC -O2"
# nettoyage préalable
rm -fr $PKG $TMP/$APP_NAME-$VERSION
rm -fr $PKG $TMP/$PRGNAM-$VERSION
mkdir -p $PKG
# mise en place
cd $TMP
tar xf $CWD/$APP_NAME-$VERSION.$EXT
cd $APP_NAME-$VERSION
tar xf $CWD/$PRGNAM-$VERSION.$EXT
cd $PRGNAM-$VERSION
# configuration
CFLAGS=$SLCKFLAGS \
@ -48,9 +48,9 @@ make install DESTDIR=$PKG
cd $PKG
chown -R root:root *
mkdir -p $PKG/usr/doc/$APP_NAME-$VERSION
cd $TMP/$APP_NAME-$VERSION
cp -R $DOCS $PKG/usr/doc/$APP_NAME-$VERSION
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cd $TMP/$PRGNAM-$VERSION
cp -R $DOCS $PKG/usr/doc/$PRGNAM-$VERSION
[ -d $PKG/usr/man ] && find $PKG/usr/man -type f -name "*.?" -exec gzip -9f {} \;
@ -64,19 +64,19 @@ cp -R $DOCS $PKG/usr/doc/$APP_NAME-$VERSION
# embaumement
mkdir -p $PKG/install
cat <<EOF > $PKG/install/slack-desc
$APP_NAME: $APP_NAME (one line description here)
$APP_NAME:
$APP_NAME: More verbose description here, usually from the README file.
$APP_NAME:
$APP_NAME:
$APP_NAME:
$APP_NAME:
$APP_NAME:
$APP_NAME:
$APP_NAME: see /usr/doc/$APP_NAME-$VERSION for more details
$APP_NAME:
$PRGNAM: $PRGNAM (one line description here)
$PRGNAM:
$PRGNAM: More verbose description here, usually from the README file.
$PRGNAM:
$PRGNAM:
$PRGNAM:
$PRGNAM:
$PRGNAM:
$PRGNAM:
$PRGNAM: see /usr/doc/$PRGNAM-$VERSION for more details
$PRGNAM:
EOF
# empaquetage
cd $PKG
makepkg -l y -c n $TMP/$APP_NAME-$(echo $VERSION | sed 's/-//g')-$ARCH-$BUILD.txz
makepkg -l y -c n $TMP/$PRGNAM-$(echo $VERSION | sed 's/-//g')-$ARCH-$BUILD.txz

View file

@ -4,8 +4,8 @@
TMP=/tmp
CWD=$(pwd)
APP_NAME=$(basename $CWD)
PKG=$TMP/package-$APP_NAME
PRGNAM=$(basename $CWD)
PKG=$TMP/package-$PRGNAM
VERSION=0.8.8
@ -21,7 +21,7 @@ PREFIX=/usr
SLCKFLAGS="-O2 $(echo "$ARCH" | grep -q "64" && echo -fPIC)"
# nettoyage préalable
rm -fr $PKG $TMP/$APP_NAME-$VERSION
rm -fr $PKG $TMP/$PRGNAM-$VERSION
mkdir -p $PKG
@ -34,7 +34,7 @@ fi
cd $TMP
tar xf $CWD/xf86-input-evtouch-$VERSION.tar.bz2
cd $TMP/$APP_NAME-$VERSION
cd $TMP/$PRGNAM-$VERSION
patch -p1 -i $CWD/hacks.diff
@ -63,9 +63,9 @@ mkdir -p $PKG$PREFIX/bin
cd $PKG
chown -R root:root *
mkdir -p $PKG/usr/doc/$APP_NAME-$VERSION
cd $TMP/$APP_NAME-$VERSION
cp -R $DOCS $PKG/usr/doc/$APP_NAME-$VERSION
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cd $TMP/$PRGNAM-$VERSION
cp -R $DOCS $PKG/usr/doc/$PRGNAM-$VERSION
[ -d $PKG/usr/man ] && find $PKG/usr/man -type f -name "*.?" -exec gzip -9f {} \;
@ -79,19 +79,19 @@ cp -R $DOCS $PKG/usr/doc/$APP_NAME-$VERSION
# embaumement
mkdir -p $PKG/install
cat <<EOF > $PKG/install/slack-desc
$APP_NAME: $APP_NAME (Linux-Touchscreen Driver for X)
$APP_NAME:
$APP_NAME: Evtouch is a Touchscreen-Driver for X.
$APP_NAME:
$APP_NAME:
$APP_NAME:
$APP_NAME:
$APP_NAME:
$APP_NAME:
$APP_NAME: http://www.conan.de/touchscreen/evtouch.html
$APP_NAME:
$PRGNAM: $PRGNAM (Linux-Touchscreen Driver for X)
$PRGNAM:
$PRGNAM: Evtouch is a Touchscreen-Driver for X.
$PRGNAM:
$PRGNAM:
$PRGNAM:
$PRGNAM:
$PRGNAM:
$PRGNAM:
$PRGNAM: http://www.conan.de/touchscreen/evtouch.html
$PRGNAM:
EOF
# empaquetage
cd $PKG
makepkg -l y -c n $TMP/$APP_NAME-$(echo $VERSION | sed 's/-//g')-$ARCH-$BUILD.txz
makepkg -l y -c n $TMP/$PRGNAM-$(echo $VERSION | sed 's/-//g')-$ARCH-$BUILD.txz

View file

@ -4,8 +4,8 @@
TMP=/tmp
CWD=$(pwd)
APP_NAME=$(basename $CWD)
PKG=$TMP/package-$APP_NAME
PRGNAM=$(basename $CWD)
PKG=$TMP/package-$PRGNAM
VERSION=0.4.0
@ -21,7 +21,7 @@ PREFIX=/usr
SLCKFLAGS="-fPIC -O2"
# nettoyage préalable
rm -fr $PKG $TMP/$APP_NAME-$VERSION
rm -fr $PKG $TMP/$PRGNAM-$VERSION
mkdir -p $PKG
@ -34,7 +34,7 @@ fi
cd $TMP
tar xf $CWD/xf86-input-plpevtch-$VERSION.tar.gz
cd $TMP/$APP_NAME-$VERSION
cd $TMP/$PRGNAM-$VERSION
patch -p1 -i $CWD/hacks.diff
@ -56,9 +56,9 @@ make install DESTDIR=$PKG
cd $PKG
chown -R root:root *
mkdir -p $PKG/usr/doc/$APP_NAME-$VERSION
cd $TMP/$APP_NAME-$VERSION
cp -R $DOCS $PKG/usr/doc/$APP_NAME-$VERSION
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cd $TMP/$PRGNAM-$VERSION
cp -R $DOCS $PKG/usr/doc/$PRGNAM-$VERSION
[ -d $PKG/usr/man ] && find $PKG/usr/man -type f -name "*.?" -exec gzip -9f {} \;
@ -72,19 +72,19 @@ cp -R $DOCS $PKG/usr/doc/$APP_NAME-$VERSION
# embaumement
mkdir -p $PKG/install
cat <<EOF > $PKG/install/slack-desc
$APP_NAME: $APP_NAME (Xorg Evdev Touchscreen Driver)
$APP_NAME:
$APP_NAME: The plpevtch driver is an eventdevice driver for touchscreens under Xorg 7.x.
$APP_NAME:
$APP_NAME:
$APP_NAME:
$APP_NAME:
$APP_NAME:
$APP_NAME:
$APP_NAME: http://www.plop.at/en/touchscreen.html
$APP_NAME:
$PRGNAM: $PRGNAM (Xorg Evdev Touchscreen Driver)
$PRGNAM:
$PRGNAM: The plpevtch driver is an eventdevice driver for touchscreens under Xorg 7.x.
$PRGNAM:
$PRGNAM:
$PRGNAM:
$PRGNAM:
$PRGNAM:
$PRGNAM:
$PRGNAM: http://www.plop.at/en/touchscreen.html
$PRGNAM:
EOF
# empaquetage
cd $PKG
makepkg -l y -c n $TMP/$APP_NAME-$(echo $VERSION | sed 's/-//g')-$ARCH-$BUILD.txz
makepkg -l y -c n $TMP/$PRGNAM-$(echo $VERSION | sed 's/-//g')-$ARCH-$BUILD.txz

View file

@ -4,8 +4,8 @@
TMP=/tmp
CWD=$(pwd)
APP_NAME=hptalx
PKG=$TMP/package-$APP_NAME
PRGNAM=hptalx
PKG=$TMP/package-$PRGNAM
VERSION=1.3.1a
@ -21,14 +21,14 @@ PREFIX=/usr
SLCKFLAGS="-fPIC -O2"
# nettoyage préalable
rm -fr $PKG $TMP/$APP_NAME-$VERSION
rm -fr $PKG $TMP/$PRGNAM-$VERSION
mkdir -p $PKG
# mise en place
cd $TMP
tar xf $CWD/$APP_NAME-$VERSION.$EXT
cd $APP_NAME-$VERSION
tar xf $CWD/$PRGNAM-$VERSION.$EXT
cd $PRGNAM-$VERSION
# configuration
CFLAGS=$SLCKFLAGS \
@ -48,9 +48,9 @@ make install DESTDIR=$PKG
cd $PKG
chown -R root:root *
mkdir -p $PKG/usr/doc/$APP_NAME-$VERSION
cd $TMP/$APP_NAME-$VERSION
cp -R $DOCS $PKG/usr/doc/$APP_NAME-$VERSION
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cd $TMP/$PRGNAM-$VERSION
cp -R $DOCS $PKG/usr/doc/$PRGNAM-$VERSION
[ -d $PKG/usr/man ] && find $PKG/usr/man -type f -name "*.?" -exec gzip -9f {} \;
@ -64,19 +64,19 @@ cp -R $DOCS $PKG/usr/doc/$APP_NAME-$VERSION
# embaumement
mkdir -p $PKG/install
cat <<EOF > $PKG/install/slack-desc
$APP_NAME: $APP_NAME (one line description here)
$APP_NAME:
$APP_NAME: More verbose description here, usually from the README file.
$APP_NAME:
$APP_NAME:
$APP_NAME:
$APP_NAME:
$APP_NAME:
$APP_NAME:
$APP_NAME: see /usr/doc/$APP_NAME-$VERSION for more details
$APP_NAME:
$PRGNAM: $PRGNAM (one line description here)
$PRGNAM:
$PRGNAM: More verbose description here, usually from the README file.
$PRGNAM:
$PRGNAM:
$PRGNAM:
$PRGNAM:
$PRGNAM:
$PRGNAM:
$PRGNAM: see /usr/doc/$PRGNAM-$VERSION for more details
$PRGNAM:
EOF
# empaquetage
cd $PKG
makepkg -l y -c n $TMP/$APP_NAME-$(echo $VERSION | sed 's/-//g')-$ARCH-$BUILD.txz
makepkg -l y -c n $TMP/$PRGNAM-$(echo $VERSION | sed 's/-//g')-$ARCH-$BUILD.txz

View file

@ -4,8 +4,8 @@
TMP=/tmp
CWD=$(pwd)
APP_NAME=matchbox-keyboard
PKG=$TMP/package-$APP_NAME
PRGNAM=matchbox-keyboard
PKG=$TMP/package-$PRGNAM
VERSION=0.1
@ -25,14 +25,14 @@ case $ARCH in
esac
# nettoyage préalable
rm -fr $PKG $TMP/$APP_NAME-$VERSION
rm -fr $PKG $TMP/$PRGNAM-$VERSION
mkdir -p $PKG
# mise en place
cd $TMP
tar xf $CWD/$APP_NAME-$VERSION.tar.?z*
cd $APP_NAME-$VERSION
tar xf $CWD/$PRGNAM-$VERSION.tar.?z*
cd $PRGNAM-$VERSION
# configuration
CFLAGS=$SLCKFLAGS \
@ -54,9 +54,9 @@ make install DESTDIR=$PKG
cd $PKG
chown -R root:root *
mkdir -p $PKG/usr/doc/$APP_NAME-$VERSION
cd $TMP/$APP_NAME-$VERSION
cp -R $DOCS $PKG/usr/doc/$APP_NAME-$VERSION
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cd $TMP/$PRGNAM-$VERSION
cp -R $DOCS $PKG/usr/doc/$PRGNAM-$VERSION
[ -d $PKG/usr/man ] && find $PKG/usr/man -type f -name "*.?" -exec gzip -9f {} \;
@ -70,19 +70,19 @@ cp -R $DOCS $PKG/usr/doc/$APP_NAME-$VERSION
# embaumement
mkdir -p $PKG/install
cat <<EOF > $PKG/install/slack-desc
$APP_NAME: $APP_NAME (on-screen keyboard)
$APP_NAME:
$APP_NAME:
$APP_NAME:
$APP_NAME:
$APP_NAME:
$APP_NAME:
$APP_NAME: http://matchbox-project.org/
$APP_NAME:
$APP_NAME: see /usr/doc/$APP_NAME-$VERSION for more details
$APP_NAME:
$PRGNAM: $PRGNAM (on-screen keyboard)
$PRGNAM:
$PRGNAM:
$PRGNAM:
$PRGNAM:
$PRGNAM:
$PRGNAM:
$PRGNAM: http://matchbox-project.org/
$PRGNAM:
$PRGNAM: see /usr/doc/$PRGNAM-$VERSION for more details
$PRGNAM:
EOF
# empaquetage
cd $PKG
makepkg -l y -c n $TMP/$APP_NAME-$(echo $VERSION | sed 's/-//g')-$ARCH-$BUILD.txz
makepkg -l y -c n $TMP/$PRGNAM-$(echo $VERSION | sed 's/-//g')-$ARCH-$BUILD.txz

View file

@ -4,8 +4,8 @@
TMP=/tmp
CWD=$(pwd)
APP_NAME=textroom
PKG=$TMP/package-$APP_NAME
PRGNAM=textroom
PKG=$TMP/package-$PRGNAM
VERSION=0.6.5
@ -21,18 +21,18 @@ PREFIX=/usr
SLCKFLAGS="-fPIC -O2"
# nettoyage préalable
rm -fr $PKG $TMP/$APP_NAME-$VERSION
rm -fr $PKG $TMP/$PRGNAM-$VERSION
mkdir -p $PKG
# mise en place
cd $TMP
[ ! -e $CWD/$APP_NAME-$VERSION.$EXT ] && wget -c http://textroom.googlecode.com/files/$APP_NAME-$VERSION.$EXT -O $CWD/$APP_NAME-$VERSION.$EXT
tar xf $CWD/$APP_NAME-$VERSION.$EXT
cd $APP_NAME-$VERSION
[ ! -e $CWD/$PRGNAM-$VERSION.$EXT ] && wget -c http://textroom.googlecode.com/files/$PRGNAM-$VERSION.$EXT -O $CWD/$PRGNAM-$VERSION.$EXT
tar xf $CWD/$PRGNAM-$VERSION.$EXT
cd $PRGNAM-$VERSION
# configuration
sed -i "s|/usr/local/textroom/doc|/usr/doc/$APP_NAME-$VERSION|" textroom.pro
sed -i "s|/usr/local/textroom/doc|/usr/doc/$PRGNAM-$VERSION|" textroom.pro
sed -i "s|usr/local|usr|g" textroom.pro
sed -i 's|lhunspell|lhunspell-1.2|g' textroom.pro
qmake
@ -51,9 +51,9 @@ rm -f $PKG/usr/bin/textroom-uninstall
cd $PKG
chown -R root:root *
# mkdir -p $PKG/usr/doc/$APP_NAME-$VERSION
# cd $TMP/$APP_NAME-$VERSION
# cp -R $DOCS $PKG/usr/doc/$APP_NAME-$VERSION
# mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
# cd $TMP/$PRGNAM-$VERSION
# cp -R $DOCS $PKG/usr/doc/$PRGNAM-$VERSION
[ -d $PKG/usr/man ] && find $PKG/usr/man -type f -name "*.?" -exec gzip -9f {} \;
@ -67,19 +67,19 @@ chown -R root:root *
# embaumement
mkdir -p $PKG/install
cat <<EOF > $PKG/install/slack-desc
$APP_NAME: $APP_NAME (Anti-distraction text editor)
$APP_NAME:
$APP_NAME: TextRoom is a pretty basic full-screen text editor, heavily inspired
$APP_NAME: by similar text editors such as Q10, JDarkRoom and so on.
$APP_NAME:
$APP_NAME:
$APP_NAME:
$APP_NAME:
$APP_NAME:
$APP_NAME: see /usr/doc/$APP_NAME-$VERSION for more details
$APP_NAME:
$PRGNAM: $PRGNAM (Anti-distraction text editor)
$PRGNAM:
$PRGNAM: TextRoom is a pretty basic full-screen text editor, heavily inspired
$PRGNAM: by similar text editors such as Q10, JDarkRoom and so on.
$PRGNAM:
$PRGNAM:
$PRGNAM:
$PRGNAM:
$PRGNAM:
$PRGNAM: see /usr/doc/$PRGNAM-$VERSION for more details
$PRGNAM:
EOF
# empaquetage
cd $PKG
makepkg -l y -c n $TMP/$APP_NAME-$(echo $VERSION | sed 's/-//g')-$ARCH-$BUILD.txz
makepkg -l y -c n $TMP/$PRGNAM-$(echo $VERSION | sed 's/-//g')-$ARCH-$BUILD.txz

View file

@ -3,14 +3,14 @@
# variables
CWD=$(pwd)
APP_NAME=$(basename $CWD)
PRGNAM=$(basename $CWD)
VERSION=1.12
ARCH=$(uname -m)
BUILD=1
PACKAGER=cyco
TMP=/tmp/$PACKAGER
PKG=$TMP/pkg-$APP_NAME
PKG=$TMP/pkg-$PRGNAM
OUTPUT=/tmp
PREFIX=/usr
@ -25,19 +25,19 @@ case $ARCH in
esac
# nettoyage préalable
rm -fr $PKG $TMP/$APP_NAME-$VERSION
rm -fr $PKG $TMP/$PRGNAM-$VERSION
mkdir -p $PKG
# mise en place
( cd $TMP
[ ! -e $CWD/$APP_NAME-$VERSION.tar.?z* ] && \
wget -c http://dl.sv.nongnu.org/releases-noredirect/eliot/releases/$APP_NAME-$VERSION.tar.gz \
-O $CWD/$APP_NAME-$VERSION.tar.gz
tar xf $CWD/$APP_NAME-$VERSION.tar.?z*
[ ! -e $CWD/$PRGNAM-$VERSION.tar.?z* ] && \
wget -c http://dl.sv.nongnu.org/releases-noredirect/eliot/releases/$PRGNAM-$VERSION.tar.gz \
-O $CWD/$PRGNAM-$VERSION.tar.gz
tar xf $CWD/$PRGNAM-$VERSION.tar.?z*
)
( cd $TMP/$APP_NAME-$VERSION
( cd $TMP/$PRGNAM-$VERSION
# configuration
CCPFLAGS=$SLCKFLAGS \
CFLAGS=$SLCKFLAGS \
@ -68,20 +68,20 @@ mkdir -p $PKG
# dictionaries
#note: ods5.dawg has been taken down from upstream due to legal requirement
DICOS="eliot-dic-fr.dawg twl06.dawg sowpods06.dawg"
mkdir -p $PKG$PREFIX/share/$APP_NAME
mkdir -p $PKG$PREFIX/share/$PRGNAM
for d in $DICOS ; do
[ ! -e $CWD/$d ] && \
wget -c http://dl.sv.nongnu.org/releases/eliot/dict/$d -O $CWD/$d
done
cp $CWD/*.dawg $PKG$PREFIX/share/$APP_NAME/
cp $CWD/*.dawg $PKG$PREFIX/share/$PRGNAM/
)
# correction
chown -R root:root $PKG/*
mkdir -p $PKG/usr/doc/$APP_NAME-$VERSION
( cd $TMP/$APP_NAME-$VERSION
cp -R $DOCS $PKG/usr/doc/$APP_NAME-$VERSION
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
( cd $TMP/$PRGNAM-$VERSION
cp -R $DOCS $PKG/usr/doc/$PRGNAM-$VERSION
)
[ -d $PKG/usr/man ] && find $PKG/usr/man -type f -name "*.?" -exec gzip -9f {} \;
@ -95,20 +95,20 @@ find $PKG | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs
# embaumement
mkdir -p $PKG/install
cat <<EOF > $PKG/install/slack-desc
$APP_NAME: $APP_NAME (Free Scrabble game)
$APP_NAME:
$APP_NAME: Eliot is an open source Scrabble game, freely available under the GNU GPL license.
$APP_NAME:
$APP_NAME: Dictionaries are installed in $PREFIX/share/$APP_NAME
$APP_NAME:
$APP_NAME:
$APP_NAME:
$APP_NAME:
$APP_NAME: http://www.nongnu.org/eliot/en/index.html
$APP_NAME:
$PRGNAM: $PRGNAM (Free Scrabble game)
$PRGNAM:
$PRGNAM: Eliot is an open source Scrabble game, freely available under the GNU GPL license.
$PRGNAM:
$PRGNAM: Dictionaries are installed in $PREFIX/share/$PRGNAM
$PRGNAM:
$PRGNAM:
$PRGNAM:
$PRGNAM:
$PRGNAM: http://www.nongnu.org/eliot/en/index.html
$PRGNAM:
EOF
# empaquetage
( cd $PKG
makepkg -l y -c n $OUTPUT/$APP_NAME-$(echo $VERSION | tr -d -)-$ARCH-$BUILD$PACKAGER.txz
makepkg -l y -c n $OUTPUT/$PRGNAM-$(echo $VERSION | tr -d -)-$ARCH-$BUILD$PACKAGER.txz
)

View file

@ -4,8 +4,8 @@
TMP=/tmp
CWD=$(pwd)
APP_NAME=gnugo
PKG=$TMP/package-$APP_NAME
PRGNAM=gnugo
PKG=$TMP/package-$PRGNAM
VERSION=3.8
@ -21,14 +21,14 @@ PREFIX=/usr
SLCKFLAGS="-fPIC -O2"
# nettoyage préalable
rm -fr $PKG $TMP/$APP_NAME-$VERSION
rm -fr $PKG $TMP/$PRGNAM-$VERSION
mkdir -p $PKG
# mise en place
cd $TMP
tar xf $CWD/$APP_NAME-$VERSION.$EXT
cd $APP_NAME-$VERSION
tar xf $CWD/$PRGNAM-$VERSION.$EXT
cd $PRGNAM-$VERSION
# configuration
CFLAGS=$SLCKFLAGS \
@ -48,9 +48,9 @@ make install DESTDIR=$PKG
cd $PKG
chown -R root:root *
mkdir -p $PKG/usr/doc/$APP_NAME-$VERSION
cd $TMP/$APP_NAME-$VERSION
cp -R $DOCS $PKG/usr/doc/$APP_NAME-$VERSION
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cd $TMP/$PRGNAM-$VERSION
cp -R $DOCS $PKG/usr/doc/$PRGNAM-$VERSION
[ -d $PKG/usr/man ] && find $PKG/usr/man -type f -name "*.?" -exec gzip -9f {} \;
[ -d $PKG/usr/info ] && find $PKG/usr/info -type f -name "*.info*" -exec gzip -9f {} \;
@ -73,19 +73,19 @@ do
done
EOF
cat <<EOF > $PKG/install/slack-desc
$APP_NAME: $APP_NAME (Go game)
$APP_NAME:
$APP_NAME: GNU Go is a free program that plays the game of Go. GNU Go has played
$APP_NAME: thousands of games on the NNGS Go server. GNU Go is now also playing
$APP_NAME: regularly on the Legend Go Server in Taiwan, on the WING server in Japan,
$APP_NAME: and many volunteers run GNU Go clients on KGS. GNU Go has established itself
$APP_NAME: as the leading non-commercial go program in the recent tournaments that it
$APP_NAME: has taken part in.
$APP_NAME:
$APP_NAME: http://www.gnu.org/software/gnugo/gnugo.html
$APP_NAME:
$PRGNAM: $PRGNAM (Go game)
$PRGNAM:
$PRGNAM: GNU Go is a free program that plays the game of Go. GNU Go has played
$PRGNAM: thousands of games on the NNGS Go server. GNU Go is now also playing
$PRGNAM: regularly on the Legend Go Server in Taiwan, on the WING server in Japan,
$PRGNAM: and many volunteers run GNU Go clients on KGS. GNU Go has established itself
$PRGNAM: as the leading non-commercial go program in the recent tournaments that it
$PRGNAM: has taken part in.
$PRGNAM:
$PRGNAM: http://www.gnu.org/software/gnugo/gnugo.html
$PRGNAM:
EOF
# empaquetage
cd $PKG
makepkg -l y -c n $TMP/$APP_NAME-$(echo $VERSION | sed 's/-//g')-$ARCH-$BUILD.txz
makepkg -l y -c n $TMP/$PRGNAM-$(echo $VERSION | sed 's/-//g')-$ARCH-$BUILD.txz