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 TMP=/tmp
CWD=$(pwd) CWD=$(pwd)
APP_NAME=i8kutils PRGNAM=i8kutils
PKG=$TMP/package-$APP_NAME PKG=$TMP/package-$PRGNAM
VERSION=1.33 VERSION=1.33
@ -21,14 +21,14 @@ PREFIX=/usr
SLCKFLAGS="-fPIC -O2" SLCKFLAGS="-fPIC -O2"
# nettoyage préalable # nettoyage préalable
rm -fr $PKG $TMP/$APP_NAME-$VERSION rm -fr $PKG $TMP/$PRGNAM-$VERSION
mkdir -p $PKG mkdir -p $PKG
# mise en place # mise en place
cd $TMP cd $TMP
tar xf $CWD/$APP_NAME-$VERSION.$EXT tar xf $CWD/$PRGNAM-$VERSION.$EXT
cd $APP_NAME-$VERSION cd $PRGNAM-$VERSION
# configuration # configuration
@ -85,9 +85,9 @@ chmod +x $PKG/etc/rc.d/rc.i8kmon.new
cd $PKG cd $PKG
chown -R root:root * chown -R root:root *
mkdir -p $PKG/usr/doc/$APP_NAME-$VERSION mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cd $TMP/$APP_NAME-$VERSION cd $TMP/$PRGNAM-$VERSION
cp -R $DOCS $PKG/usr/doc/$APP_NAME-$VERSION cp -R $DOCS $PKG/usr/doc/$PRGNAM-$VERSION
mkdir $PKG/etc mkdir $PKG/etc
cp i8kmon.conf $PKG/etc/i8kmon.conf.new cp i8kmon.conf $PKG/etc/i8kmon.conf.new
@ -118,19 +118,19 @@ config() {
config etc/rc.d/rc.i8kmon.new config etc/rc.d/rc.i8kmon.new
EOF EOF
cat <<EOF > $PKG/install/slack-desc cat <<EOF > $PKG/install/slack-desc
$APP_NAME: $APP_NAME (user-space programs for accessing the SMM BIOS of Dell laptops.) $PRGNAM: $PRGNAM (user-space programs for accessing the SMM BIOS of Dell laptops.)
$APP_NAME: $PRGNAM:
$APP_NAME: $PRGNAM:
$APP_NAME: $PRGNAM:
$APP_NAME: $PRGNAM:
$APP_NAME: $PRGNAM:
$APP_NAME: $PRGNAM:
$APP_NAME: http://packages.debian.org/i8kutils $PRGNAM: http://packages.debian.org/i8kutils
$APP_NAME: $PRGNAM:
$APP_NAME: see /usr/doc/$APP_NAME-$VERSION for more details $PRGNAM: see /usr/doc/$PRGNAM-$VERSION for more details
$APP_NAME: $PRGNAM:
EOF EOF
# empaquetage # empaquetage
cd $PKG 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) CWD=$(pwd)
# default settings # default settings
APP_NAME=sdcv PRGNAM=sdcv
ARCH=$(uname -m) ARCH=$(uname -m)
VERSION=svn$(date +%Y.%m.%d_%H.%M) VERSION=svn$(date +%Y.%m.%d_%H.%M)
BUILD=1cyco BUILD=1cyco
TMP=/tmp TMP=/tmp
PKG=$TMP/package-$APP_NAME PKG=$TMP/package-$PRGNAM
GZBZ2="bz2" GZBZ2="bz2"
DOCS="ABOUT-NLS AUTHORS BUGS COPYING ChangeLog INSTALL NEWS README TODO" 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 mkdir -p $PKG
cd $TMP cd $TMP
@ -58,19 +58,19 @@ cat << EOF > install/slack-desc
# customary to leave one space after the ':'. # customary to leave one space after the ':'.
|-----handy-ruler-----------------------------------------------------| |-----handy-ruler-----------------------------------------------------|
$APP_NAME: $APP_NAME (Dictionaries search tool) $PRGNAM: $PRGNAM (Dictionaries search tool)
$APP_NAME: $PRGNAM:
$APP_NAME: You can find free (as in Freedom) dictionnaries at www.freedict.org $PRGNAM: You can find free (as in Freedom) dictionnaries at www.freedict.org
$APP_NAME: Vietnamese dictionaries available at http://cctv.sf.net $PRGNAM: Vietnamese dictionaries available at http://cctv.sf.net
$APP_NAME: Others all over the Internet... $PRGNAM: Others all over the Internet...
$APP_NAME: $PRGNAM:
$APP_NAME: see /usr/doc/$APP_NAME-$VERSION $PRGNAM: see /usr/doc/$PRGNAM-$VERSION
$APP_NAME: $PRGNAM:
$APP_NAME: $PRGNAM:
$APP_NAME: for more informations. $PRGNAM: for more informations.
$APP_NAME: $PRGNAM:
EOF EOF
chown -R root:root $PKG 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 TMP=/tmp
CWD=$(pwd) CWD=$(pwd)
APP_NAME=$(basename $CWD) PRGNAM=$(basename $CWD)
PKG=$TMP/$PACKAGER/pkg-$APP_NAME PKG=$TMP/$PACKAGER/pkg-$PRGNAM
ARCH=$(uname -m) ARCH=$(uname -m)
PREFIX=/usr PREFIX=/usr
# nettoyage préalable # 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 # mise en place
( cd $CWD ( 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 ( cd $TMP
tar xf $CWD/$APP_NAME-src-$VERSION.tar.gz tar xf $CWD/$PRGNAM-src-$VERSION.tar.gz
mv $APP_NAME-src-$VERSION $APP_NAME-$VERSION mv $PRGNAM-src-$VERSION $PRGNAM-$VERSION
cd $APP_NAME-$VERSION cd $PRGNAM-$VERSION
make make
mkdir -p $PKG$PREFIX/bin $PKG$PREFIX/doc/ mkdir -p $PKG$PREFIX/bin $PKG$PREFIX/doc/
mv $APP_NAME $PKG$PREFIX/bin mv $PRGNAM $PKG$PREFIX/bin
cp -R www $PKG$PREFIX/doc/$APP_NAME cp -R www $PKG$PREFIX/doc/$PRGNAM
) )
# correction # correction
@ -53,19 +53,19 @@ cat <<EOF > $PKG/install/slack-desc
# customary to leave one space after the ':'. # customary to leave one space after the ':'.
|-----handy-ruler------------------------------------------------------| |-----handy-ruler------------------------------------------------------|
$APP_NAME: $APP_NAME (distributed software configuration management) $PRGNAM: $PRGNAM (distributed software configuration management)
$APP_NAME: $PRGNAM:
$APP_NAME: Simple, high-reliability, distributed software configuration management $PRGNAM: Simple, high-reliability, distributed software configuration management
$APP_NAME: $PRGNAM:
$APP_NAME: $PRGNAM:
$APP_NAME: $PRGNAM:
$APP_NAME: $PRGNAM:
$APP_NAME: $PRGNAM:
$APP_NAME: $PRGNAM:
$APP_NAME: http://www.fossil-scm.org $PRGNAM: http://www.fossil-scm.org
$APP_NAME: $PRGNAM:
EOF EOF
# empaquetage # empaquetage
cd $PKG 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 # variables
CWD=$(pwd) CWD=$(pwd)
APP_NAME=$(basename $CWD) PRGNAM=$(basename $CWD)
VERSION=4.6.0 VERSION=4.6.0
ARCH=$(uname -m) ARCH=$(uname -m)
BUILD=1 BUILD=1
PACKAGER=cyco PACKAGER=cyco
TMP=/tmp/$PACKAGER TMP=/tmp/$PACKAGER
PKG=$TMP/pkg-$APP_NAME PKG=$TMP/pkg-$PRGNAM
OUTPUT=/tmp OUTPUT=/tmp
PREFIX=/usr PREFIX=/usr
@ -25,7 +25,7 @@ case $ARCH in
esac esac
# nettoyage préalable # nettoyage préalable
rm -fr $PKG $TMP/$APP_NAME-$VERSION rm -fr $PKG $TMP/$PRGNAM-$VERSION
mkdir -p $PKG 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 \ wget -c http://www.iro.umontreal.ca/~gambit/download/gambit/v4.6/source/gambc-$TMPVER-devel.tgz \
-O $CWD/gambc-$TMPVER-devel.tgz -O $CWD/gambc-$TMPVER-devel.tgz
tar xf $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 # configuration
CCPFLAGS=$SLCKFLAGS \ CCPFLAGS=$SLCKFLAGS \
CFLAGS=$SLCKFLAGS \ CFLAGS=$SLCKFLAGS \
@ -47,7 +47,7 @@ mkdir -p $PKG
--prefix=$PREFIX \ --prefix=$PREFIX \
--mandir=$PREFIX/man \ --mandir=$PREFIX/man \
--infodir=$PREFIX/info \ --infodir=$PREFIX/info \
--docdir=$PREFIX/doc/$APP_NAME-$VERSION \ --docdir=$PREFIX/doc/$PRGNAM-$VERSION \
--includedir=$PREFIX/include \ --includedir=$PREFIX/include \
--libdir=$PREFIX/lib$(echo $ARCH | grep -o 64) \ --libdir=$PREFIX/lib$(echo $ARCH | grep -o 64) \
--enable-single-host \ --enable-single-host \
@ -66,9 +66,9 @@ mkdir -p $PKG
# correction # correction
chown -R root:root $PKG/* chown -R root:root $PKG/*
mkdir -p $PKG/usr/doc/$APP_NAME-$VERSION mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
( cd $TMP/$APP_NAME-$VERSION ( cd $TMP/$PRGNAM-$VERSION
cp -R $DOCS $PKG/usr/doc/$APP_NAME-$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/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 # embaumement
mkdir -p $PKG/install mkdir -p $PKG/install
cat <<EOF > $PKG/install/slack-desc cat <<EOF > $PKG/install/slack-desc
$APP_NAME: $APP_NAME (Scheme programming system) $PRGNAM: $PRGNAM (Scheme programming system)
$APP_NAME: $PRGNAM:
$APP_NAME: Gambit-C includes a Scheme interpreter and a Scheme compiler which can be used $PRGNAM: 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 $PRGNAM: 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. $PRGNAM: C code it is fairly easy to port to any platform with a decent C compiler.
$APP_NAME: $PRGNAM:
$APP_NAME: The Gambit-C system conforms to the R4RS, R5RS and IEEE Scheme standards. $PRGNAM: The Gambit-C system conforms to the R4RS, R5RS and IEEE Scheme standards.
$APP_NAME: $PRGNAM:
$APP_NAME: $PRGNAM:
$APP_NAME: http://dynamo.iro.umontreal.ca/~gambit/wiki/index.php/Main_Page $PRGNAM: http://dynamo.iro.umontreal.ca/~gambit/wiki/index.php/Main_Page
$APP_NAME: $PRGNAM:
EOF EOF
# empaquetage # empaquetage
( cd $PKG ( 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 #!/bin/sh -x
APP_NAME=node.js PRGNAM=node.js
VERSION=git$(date +%Y.%m.%d_%H.%M) VERSION=git$(date +%Y.%m.%d_%H.%M)
ARCH=${ARCH:-x86_64} ARCH=${ARCH:-x86_64}
BUILD=${BUILD:-1cyco} BUILD=${BUILD:-1cyco}
@ -13,7 +13,7 @@ PREFIX=/usr
CWD=$(pwd) CWD=$(pwd)
TMP=${TMP:-/tmp} TMP=${TMP:-/tmp}
PKG=$TMP/package-$APP_NAME PKG=$TMP/package-$PRGNAM
rm -rf $PKG rm -rf $PKG
mkdir -p $TMP $PKG mkdir -p $TMP $PKG
@ -29,23 +29,23 @@ elif [ "$ARCH" = "x86_64" ]; then
fi fi
cd $TMP cd $TMP
rm -rf $APP_NAME-$VERSION rm -rf $PRGNAM-$VERSION
cd $TMP cd $TMP
if [ -e $CWD/$APP_NAME-$VERSION.$EXT ] ; then if [ -e $CWD/$PRGNAM-$VERSION.$EXT ] ; then
tar xf $CWD/$APP_NAME-$VERSION.$EXT tar xf $CWD/$PRGNAM-$VERSION.$EXT
else else
if [ ! -e $REPOSITORIES/$APP_NAME ] ; then if [ ! -e $REPOSITORIES/$PRGNAM ] ; then
( cd $REPOSITORIES ( cd $REPOSITORIES
git clone git://github.com/ry/node.git $APP_NAME git clone git://github.com/ry/node.git $PRGNAM
) ; ) ;
fi fi
( cd $REPOSITORIES/$APP_NAME ( cd $REPOSITORIES/$PRGNAM
git pull git pull
) )
cp -R $REPOSITORIES/$APP_NAME $TMP/$APP_NAME-$VERSION cp -R $REPOSITORIES/$PRGNAM $TMP/$PRGNAM-$VERSION
fi fi
cd $APP_NAME-$VERSION || exit 1 cd $PRGNAM-$VERSION || exit 1
chown -R root:root . chown -R root:root .
find . \ find . \
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ \( -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 mv $PKG$PREFIX/share/man $PKG$PREFIX
rm -fr $PKG$PREFIX/share rm -fr $PKG$PREFIX/share
mkdir -p $PKG/usr/doc/$APP_NAME-$VERSION mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \ cp -a \
AUTHORS COPYING HACKING INSTALL LICENSE NEWS README* docs/Wilber* \ 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 \ find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
mkdir -p $PKG/install mkdir -p $PKG/install
cat <<EOF > $PKG/install/slack-desc cat <<EOF > $PKG/install/slack-desc
$APP_NAME: $APP_NAME (Evented I/O for V8 javascript.) $PRGNAM: $PRGNAM (Evented I/O for V8 javascript.)
$APP_NAME: $PRGNAM:
$APP_NAME: Node's goal is to provide an easy way to build scalable network programs. $PRGNAM: Node's goal is to provide an easy way to build scalable network programs.
$APP_NAME: $PRGNAM:
$APP_NAME: $PRGNAM:
$APP_NAME: $PRGNAM:
$APP_NAME: $PRGNAM:
$APP_NAME: $PRGNAM:
$APP_NAME: $PRGNAM:
$APP_NAME: http://nodejs.org/ $PRGNAM: http://nodejs.org/
$APP_NAME: $PRGNAM:
EOF EOF
cd $PKG 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 # variables
CWD=$(pwd) CWD=$(pwd)
APP_NAME=$(basename $CWD) PRGNAM=$(basename $CWD)
VERSION=0.9.2 VERSION=0.9.2
ARCH=$(uname -m) ARCH=$(uname -m)
BUILD=1 BUILD=1
PACKAGER=cyco PACKAGER=cyco
TMP=/tmp/$PACKAGER TMP=/tmp/$PACKAGER
PKG=$TMP/pkg-$APP_NAME PKG=$TMP/pkg-$PRGNAM
OUTPUT=/tmp OUTPUT=/tmp
PREFIX=/usr PREFIX=/usr
DOCS="COPYING MANIFEST.in PKG-INFO README.txt" DOCS="COPYING MANIFEST.in PKG-INFO README.txt"
# nettoyage préalable # nettoyage préalable
rm -fr $PKG $TMP/$APP_NAME-$VERSION rm -fr $PKG $TMP/$PRGNAM-$VERSION
mkdir -p $PKG mkdir -p $PKG
# mise en place # mise en place
( cd $TMP ( cd $TMP
[ ! -e $CWD/$APP_NAME-$VERSION.tar.?z* ] && \ [ ! -e $CWD/$PRGNAM-$VERSION.tar.?z* ] && \
wget -c http://downloads.sourceforge.net/project/$APP_NAME/$APP_NAME/$VERSION/$APP_NAME-$VERSION.tar.gz?use_mirror=jaist \ wget -c http://downloads.sourceforge.net/project/$PRGNAM/$PRGNAM/$VERSION/$PRGNAM-$VERSION.tar.gz?use_mirror=jaist \
-O $CWD/$APP_NAME-$VERSION.tar.gz -O $CWD/$PRGNAM-$VERSION.tar.gz
tar xf $CWD/$APP_NAME-$VERSION.tar.?z* tar xf $CWD/$PRGNAM-$VERSION.tar.?z*
) )
( cd $TMP/$APP_NAME-$VERSION ( cd $TMP/$PRGNAM-$VERSION
# installation # installation
python setup.py install --root=$PKG python setup.py install --root=$PKG
) )
@ -37,9 +37,9 @@ mkdir -p $PKG
# correction # correction
chown -R root:root $PKG/* chown -R root:root $PKG/*
mkdir -p $PKG/usr/doc/$APP_NAME-$VERSION mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
( cd $TMP/$APP_NAME-$VERSION ( cd $TMP/$PRGNAM-$VERSION
cp -R $DOCS $PKG/usr/doc/$APP_NAME-$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/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 # embaumement
mkdir -p $PKG/install mkdir -p $PKG/install
cat <<EOF > $PKG/install/slack-desc cat <<EOF > $PKG/install/slack-desc
$APP_NAME: $APP_NAME (a python refactoring library...) $PRGNAM: $PRGNAM (a python refactoring library...)
$APP_NAME: $PRGNAM:
$APP_NAME: $PRGNAM:
$APP_NAME: $PRGNAM:
$APP_NAME: $PRGNAM:
$APP_NAME: $PRGNAM:
$APP_NAME: $PRGNAM:
$APP_NAME: $PRGNAM:
$APP_NAME: $PRGNAM:
$APP_NAME: http://rope.sourceforge.net/ $PRGNAM: http://rope.sourceforge.net/
$APP_NAME: $PRGNAM:
EOF EOF
# empaquetage # empaquetage
( cd $PKG ( 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 # variables
CWD=$(pwd) CWD=$(pwd)
APP_NAME=$(basename $CWD) PRGNAM=$(basename $CWD)
VERSION=3.2.2 VERSION=3.2.2
ARCH=$(uname -m) ARCH=$(uname -m)
BUILD=1 BUILD=1
PACKAGER=cyco PACKAGER=cyco
TMP=/tmp/$PACKAGER TMP=/tmp/$PACKAGER
PKG=$TMP/pkg-$APP_NAME PKG=$TMP/pkg-$PRGNAM
OUTPUT=/tmp OUTPUT=/tmp
PREFIX=/usr PREFIX=/usr
@ -25,19 +25,19 @@ case $ARCH in
esac esac
# nettoyage préalable # nettoyage préalable
rm -fr $PKG $TMP/$APP_NAME-$VERSION rm -fr $PKG $TMP/$PRGNAM-$VERSION
mkdir -p $PKG mkdir -p $PKG
# mise en place # mise en place
( cd $TMP ( cd $TMP
[ ! -e $CWD/$APP_NAME-$VERSION.tar.xz ] && \ [ ! -e $CWD/$PRGNAM-$VERSION.tar.xz ] && \
wget -c ftp://ftp.gnu.org/gnu/smalltalk/$APP_NAME-$VERSION.tar.xz \ wget -c ftp://ftp.gnu.org/gnu/smalltalk/$PRGNAM-$VERSION.tar.xz \
-O $CWD/$APP_NAME-$VERSION.tar.xz -O $CWD/$PRGNAM-$VERSION.tar.xz
tar xf $CWD/$APP_NAME-$VERSION.tar.xz tar xf $CWD/$PRGNAM-$VERSION.tar.xz
) )
( cd $TMP/$APP_NAME-$VERSION ( cd $TMP/$PRGNAM-$VERSION
# configuration # configuration
CCPFLAGS=$SLCKFLAGS \ CCPFLAGS=$SLCKFLAGS \
CFLAGS=$SLCKFLAGS \ CFLAGS=$SLCKFLAGS \
@ -45,7 +45,7 @@ mkdir -p $PKG
--prefix=$PREFIX \ --prefix=$PREFIX \
--mandir=$PREFIX/man \ --mandir=$PREFIX/man \
--infodir=$PREFIX/info \ --infodir=$PREFIX/info \
--docdir=$PREFIX/doc/$APP_NAME-$VERSION \ --docdir=$PREFIX/doc/$PRGNAM-$VERSION \
--includedir=$PREFIX/include \ --includedir=$PREFIX/include \
--libdir=$PREFIX/lib$(echo $ARCH | grep -o 64) \ --libdir=$PREFIX/lib$(echo $ARCH | grep -o 64) \
--enable-disassembler \ --enable-disassembler \
@ -60,9 +60,9 @@ mkdir -p $PKG
# correction # correction
chown -R root:root $PKG/* chown -R root:root $PKG/*
mkdir -p $PKG/usr/doc/$APP_NAME-$VERSION mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
( cd $TMP/$APP_NAME-$VERSION ( cd $TMP/$PRGNAM-$VERSION
cp -R $DOCS $PKG/usr/doc/$APP_NAME-$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/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 # embaumement
mkdir -p $PKG/install mkdir -p $PKG/install
cat <<EOF > $PKG/install/slack-desc cat <<EOF > $PKG/install/slack-desc
$APP_NAME: $APP_NAME (The Smalltalk for those who can type) $PRGNAM: $PRGNAM (The Smalltalk for those who can type)
$APP_NAME: $PRGNAM:
$APP_NAME: GNU Smalltalk is a free implementation of the Smalltalk-80 language. $PRGNAM: GNU Smalltalk is a free implementation of the Smalltalk-80 language.
$APP_NAME: It runs on most POSIX compatible operating systems (including GNU/Linux, $PRGNAM: It runs on most POSIX compatible operating systems (including GNU/Linux,
$APP_NAME: of course), as well as under Windows. Smalltalk is a dynamic $PRGNAM: of course), as well as under Windows. Smalltalk is a dynamic
$APP_NAME: object-oriented language, well-versed to scripting tasks. $PRGNAM: object-oriented language, well-versed to scripting tasks.
$APP_NAME: $PRGNAM:
$APP_NAME: $PRGNAM:
$APP_NAME: $PRGNAM:
$APP_NAME: http://smalltalk.gnu.org/ $PRGNAM: http://smalltalk.gnu.org/
$APP_NAME: $PRGNAM:
EOF EOF
# empaquetage # empaquetage
( cd $PKG ( 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 # variables
CWD=$(pwd) CWD=$(pwd)
APP_NAME=$(basename $CWD) PRGNAM=$(basename $CWD)
VERSION=0.24-beta1 VERSION=0.24-beta1
ARCH=$(uname -m) ARCH=$(uname -m)
BUILD=1 BUILD=1
PACKAGER=cyco PACKAGER=cyco
TMP=/tmp/$PACKAGER TMP=/tmp/$PACKAGER
PKG=$TMP/pkg-$APP_NAME PKG=$TMP/pkg-$PRGNAM
OUTPUT=/tmp OUTPUT=/tmp
PREFIX=/usr PREFIX=/usr
@ -19,19 +19,19 @@ DOCS="ChangeLog COPYING PKG-INFO README THANKS TODO"
EMACS=$(basename $(ls /usr/bin/emacs-2*)) EMACS=$(basename $(ls /usr/bin/emacs-2*))
# nettoyage préalable # nettoyage préalable
rm -fr $PKG $TMP/$APP_NAME-$VERSION rm -fr $PKG $TMP/$PRGNAM-$VERSION
mkdir -p $PKG mkdir -p $PKG
# mise en place # mise en place
( cd $TMP ( cd $TMP
[ ! -e $CWD/$APP_NAME-$VERSION.tar.?z* ] && \ [ ! -e $CWD/$PRGNAM-$VERSION.tar.?z* ] && \
wget -c http://pymacs.progiciels-bpi.ca/archives/$APP_NAME-$VERSION.tar.gz \ wget -c http://pymacs.progiciels-bpi.ca/archives/$PRGNAM-$VERSION.tar.gz \
-O $CWD/$APP_NAME-$VERSION.tar.gz -O $CWD/$PRGNAM-$VERSION.tar.gz
tar xf $CWD/$APP_NAME-$VERSION.tar.?z* tar xf $CWD/$PRGNAM-$VERSION.tar.?z*
) )
( cd $TMP/$APP_NAME-$VERSION ( cd $TMP/$PRGNAM-$VERSION
# installation # installation
python setup.py install --root=$PKG python setup.py install --root=$PKG
@ -42,15 +42,15 @@ mkdir -p $PKG
# correction # correction
chown -R root:root $PKG/* chown -R root:root $PKG/*
mkdir -p $PKG/usr/doc/$APP_NAME-$VERSION mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
( cd $TMP/$APP_NAME-$VERSION ( cd $TMP/$PRGNAM-$VERSION
cp -R $DOCS $PKG/usr/doc/$APP_NAME-$VERSION cp -R $DOCS $PKG/usr/doc/$PRGNAM-$VERSION
[ ! -e $CWD/pymacs.html ] && \ [ ! -e $CWD/pymacs.html ] && \
wget -c http://pymacs.progiciels-bpi.ca/pymacs.html -O $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 ] && \ [ ! -e $CWD/pymacs.pdf ] && \
wget -c http://pymacs.progiciels-bpi.ca/pymacs.pdf -O $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 {} \; [ -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 # embaumement
mkdir -p $PKG/install mkdir -p $PKG/install
cat <<EOF > $PKG/install/slack-desc cat <<EOF > $PKG/install/slack-desc
$APP_NAME: $APP_NAME (Emacs-lisp <-> Python) $PRGNAM: $PRGNAM (Emacs-lisp <-> Python)
$APP_NAME: $PRGNAM:
$APP_NAME: Pymacs is a powerful tool which, once started from Emacs, allows both-way $PRGNAM: 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 $PRGNAM: 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 $PRGNAM: 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 $PRGNAM: 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 $PRGNAM: 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. $PRGNAM: services, and handle Emacs Lisp objects kept in Emacs Lisp space.
$APP_NAME: $PRGNAM:
$APP_NAME: http://pymacs.progiciels-bpi.ca/ $PRGNAM: http://pymacs.progiciels-bpi.ca/
$APP_NAME: $PRGNAM:
EOF EOF
# empaquetage # empaquetage
( cd $PKG ( 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 # variables
CWD=$(pwd) CWD=$(pwd)
APP_NAME=$(basename $CWD) PRGNAM=$(basename $CWD)
VERSION=0.6 VERSION=0.6
ARCH=$(uname -m) ARCH=$(uname -m)
BUILD=1 BUILD=1
PACKAGER=cyco PACKAGER=cyco
TMP=/tmp/$PACKAGER TMP=/tmp/$PACKAGER
PKG=$TMP/pkg-$APP_NAME PKG=$TMP/pkg-$PRGNAM
OUTPUT=/tmp OUTPUT=/tmp
PREFIX=/usr PREFIX=/usr
DOCS="COPYING MANIFEST.in PKG-INFO README.txt" DOCS="COPYING MANIFEST.in PKG-INFO README.txt"
# nettoyage préalable # nettoyage préalable
rm -fr $PKG $TMP/$APP_NAME-$VERSION rm -fr $PKG $TMP/$PRGNAM-$VERSION
mkdir -p $PKG mkdir -p $PKG
# mise en place # mise en place
( cd $TMP ( cd $TMP
[ ! -e $CWD/$APP_NAME-$VERSION.tar.?z* ] && \ [ ! -e $CWD/$PRGNAM-$VERSION.tar.?z* ] && \
wget -c http://downloads.sourceforge.net/project/rope/$APP_NAME/$VERSION/$APP_NAME-$VERSION.tar.gz?use_mirror=jaist \ wget -c http://downloads.sourceforge.net/project/rope/$PRGNAM/$VERSION/$PRGNAM-$VERSION.tar.gz?use_mirror=jaist \
-O $CWD/$APP_NAME-$VERSION.tar.gz -O $CWD/$PRGNAM-$VERSION.tar.gz
tar xf $CWD/$APP_NAME-$VERSION.tar.?z* tar xf $CWD/$PRGNAM-$VERSION.tar.?z*
) )
( cd $TMP/$APP_NAME-$VERSION ( cd $TMP/$PRGNAM-$VERSION
# installation # installation
python setup.py install --root=$PKG python setup.py install --root=$PKG
) )
@ -37,9 +37,9 @@ mkdir -p $PKG
# correction # correction
chown -R root:root $PKG/* chown -R root:root $PKG/*
mkdir -p $PKG/usr/doc/$APP_NAME-$VERSION mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
( cd $TMP/$APP_NAME-$VERSION ( cd $TMP/$PRGNAM-$VERSION
cp -R $DOCS $PKG/usr/doc/$APP_NAME-$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/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 # embaumement
mkdir -p $PKG/install mkdir -p $PKG/install
cat <<EOF > $PKG/install/slack-desc cat <<EOF > $PKG/install/slack-desc
$APP_NAME: $APP_NAME (a python refactoring library...) $PRGNAM: $PRGNAM (a python refactoring library...)
$APP_NAME: $PRGNAM:
$APP_NAME: $PRGNAM:
$APP_NAME: $PRGNAM:
$APP_NAME: $PRGNAM:
$APP_NAME: $PRGNAM:
$APP_NAME: $PRGNAM:
$APP_NAME: $PRGNAM:
$APP_NAME: $PRGNAM:
$APP_NAME: http://rope.sourceforge.net/ $PRGNAM: http://rope.sourceforge.net/
$APP_NAME: $PRGNAM:
EOF EOF
# empaquetage # empaquetage
( cd $PKG ( 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 TMP=/tmp
CWD=$(pwd) CWD=$(pwd)
APP_NAME=$(basename $CWD) PRGNAM=$(basename $CWD)
PKG=$TMP/$PACKAGER/pkg-$APP_NAME PKG=$TMP/$PACKAGER/pkg-$PRGNAM
REPOSITORY=/home/cycojesus/projets/packages/repositories/$APP_NAME REPOSITORY=/home/cycojesus/projets/packages/repositories/$PRGNAM
PREFIX=/usr PREFIX=/usr
EMACS=$(basename $(ls /usr/bin/emacs-2*)) EMACS=$(basename $(ls /usr/bin/emacs-2*))
EMACS_VERSION=$(echo "$EMACS" | grep -o "[0-9\.]*") EMACS_VERSION=$(echo "$EMACS" | grep -o "[0-9\.]*")
# nettoyage préalable # nettoyage préalable
rm -fr $PKG $TMP/$APP_NAME-$VERSION rm -fr $PKG $TMP/$PRGNAM-$VERSION
mkdir -p $PKG mkdir -p $PKG
@ -30,7 +30,7 @@ if [ ! -e $REPOSITORY ] ; then
cd $(dirname $REPOSITORY) cd $(dirname $REPOSITORY)
echo "Press [Enter]" echo "Press [Enter]"
cvs -d :pserver:anonymous@cvs.namazu.org:/storage/cvsroot login 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 fi
( cd $REPOSITORY ( cd $REPOSITORY
@ -38,16 +38,16 @@ fi
) )
if [ ! -e $REPOSITORY ] ; then if [ ! -e $REPOSITORY ] ; then
[ -e $CWD/$APP_NAME-$VERSION.tar.gz ] && rm $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/$APP_NAME-$VERSION.tar.gz wget -c "http://cvs.namazu.org/emacs-w3m.tar.gz?view=tar" -O $CWD/$PRGNAM-$VERSION.tar.gz
( cd $TMP ( cd $TMP
tar xvf $CWD/$APP_NAME-$VERSION.tar.gz tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
mv $APP_NAME $APP_NAME-$VERSION mv $PRGNAM $PRGNAM-$VERSION
) )
else else
cp -R $REPOSITORY $TMP/$APP_NAME-$VERSION cp -R $REPOSITORY $TMP/$PRGNAM-$VERSION
fi fi
( cd $TMP/$APP_NAME-$VERSION ( cd $TMP/$PRGNAM-$VERSION
zcat $CWD/widget-mouse-face.patch.gz | patch -p1 zcat $CWD/widget-mouse-face.patch.gz | patch -p1
autoreconf autoreconf
./configure \ ./configure \
@ -74,19 +74,19 @@ cat <<EOF > $PKG/install/slack-desc
# customary to leave one space after the ':'. # customary to leave one space after the ':'.
|-----handy-ruler------------------------------------------------------| |-----handy-ruler------------------------------------------------------|
$APP_NAME: $APP_NAME (a simple Emacs interface to w3m.) $PRGNAM: $PRGNAM (a simple Emacs interface to w3m.)
$APP_NAME: $PRGNAM:
$APP_NAME: $PRGNAM:
$APP_NAME: $PRGNAM:
$APP_NAME: $PRGNAM:
$APP_NAME: $PRGNAM:
$APP_NAME: $PRGNAM:
$APP_NAME: $PRGNAM:
$APP_NAME: $PRGNAM:
$APP_NAME: $PRGNAM:
$APP_NAME: http://emacs-w3m.namazu.org/ $PRGNAM: http://emacs-w3m.namazu.org/
EOF EOF
# empaquetage # empaquetage
cd $PKG 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 OUTPUT=/tmp
CWD=$(pwd) CWD=$(pwd)
APP_NAME=$(basename $CWD) PRGNAM=$(basename $CWD)
PKG=$TMP/$PACKAGER/pkg-$APP_NAME PKG=$TMP/$PACKAGER/pkg-$PRGNAM
REPOSITORY=/home/cycojesus/projets/packages/repositories/$APP_NAME REPOSITORY=/home/cycojesus/projets/packages/repositories/$PRGNAM
PREFIX=/usr PREFIX=/usr
EMACS=$(basename $(ls /usr/bin/emacs-2*)) EMACS=$(basename $(ls /usr/bin/emacs-2*))
EMACS_VERSION=$(echo "$EMACS" | grep -o "[0-9\.]*") EMACS_VERSION=$(echo "$EMACS" | grep -o "[0-9\.]*")
# nettoyage préalable # nettoyage préalable
rm -fr $PKG $TMP/$APP_NAME-$VERSION rm -fr $PKG $TMP/$PRGNAM-$VERSION
mkdir -p $PKG mkdir -p $PKG
@ -37,8 +37,8 @@ fi
git pull git pull
) )
cp -R $REPOSITORY $TMP/$APP_NAME-$VERSION cp -R $REPOSITORY $TMP/$PRGNAM-$VERSION
( cd $TMP/$APP_NAME-$VERSION ( cd $TMP/$PRGNAM-$VERSION
sed -i "s|EMACS=emacs|EMACS=$EMACS|" Makefile sed -i "s|EMACS=emacs|EMACS=$EMACS|" Makefile
sed -i "s|prefix=/usr/local|prefix=$PREFIX|" Makefile sed -i "s|prefix=/usr/local|prefix=$PREFIX|" Makefile
sed -i 's|infodir = $(prefix)/share/info|infodir = $(prefix)/info|' 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 # ( cd $PKG$PREFIX/share/emacs/site-lisp/org-mode-contrib/babel
# emacs -batch -f batch-byte-compile-file *.el # emacs -batch -f batch-byte-compile-file *.el
# ) # )
mkdir -p $PKG$PREFIX/doc/$APP_NAME mkdir -p $PKG$PREFIX/doc/$PRGNAM
cp -R contrib $PKG$PREFIX/doc/$APP_NAME cp -R contrib $PKG$PREFIX/doc/$PRGNAM
) )
# correction # correction
@ -102,19 +102,19 @@ cat <<EOF > $PKG/install/slack-desc
# customary to leave one space after the ':'. # customary to leave one space after the ':'.
|-----handy-ruler------------------------------------------------------| |-----handy-ruler------------------------------------------------------|
$APP_NAME: $APP_NAME (an Emacs Mode for Notes, Project Planning, and Authoring) $PRGNAM: $PRGNAM (an Emacs Mode for Notes, Project Planning, and Authoring)
$APP_NAME: $PRGNAM:
$APP_NAME: Org-mode is for keeping notes, maintaining ToDo lists, doing project $PRGNAM: Org-mode is for keeping notes, maintaining ToDo lists, doing project
$APP_NAME: planning, and authoring with a fast and effective plain-text system. $PRGNAM: planning, and authoring with a fast and effective plain-text system.
$APP_NAME: $PRGNAM:
$APP_NAME: $PRGNAM:
$APP_NAME: $PRGNAM:
$APP_NAME: $PRGNAM:
$APP_NAME: $PRGNAM:
$APP_NAME: $PRGNAM:
$APP_NAME: http://orgmode.org/ $PRGNAM: http://orgmode.org/
EOF EOF
# empaquetage # empaquetage
cd $PKG 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 TMP=/tmp
CWD=$(pwd) CWD=$(pwd)
APP_NAME=$(basename $CWD) PRGNAM=$(basename $CWD)
PKG=$TMP/package-$APP_NAME PKG=$TMP/package-$PRGNAM
VERSION=2010-November VERSION=2010-November
@ -25,15 +25,15 @@ case $ARCH in
esac esac
# nettoyage préalable # nettoyage préalable
rm -fr $PKG $TMP/$APP_NAME-$VERSION rm -fr $PKG $TMP/$PRGNAM-$VERSION
mkdir -p $PKG mkdir -p $PKG
# mise en place # mise en place
cd $TMP 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 [ ! -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/$APP_NAME-$VERSION.tar.?z* tar xf $CWD/$PRGNAM-$VERSION.tar.?z*
cd $APP_NAME-$VERSION cd $PRGNAM-$VERSION
# configuration # configuration
CFLAGS=$SLCKFLAGS \ CFLAGS=$SLCKFLAGS \
@ -53,9 +53,9 @@ make install DESTDIR=$PKG
cd $PKG cd $PKG
chown -R root:root * chown -R root:root *
mkdir -p $PKG/usr/doc/$APP_NAME-$VERSION mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cd $TMP/$APP_NAME-$VERSION cd $TMP/$PRGNAM-$VERSION
cp -R $DOCS $PKG/usr/doc/$APP_NAME-$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/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 # embaumement
mkdir -p $PKG/install mkdir -p $PKG/install
cat <<EOF > $PKG/install/slack-desc cat <<EOF > $PKG/install/slack-desc
$APP_NAME: $APP_NAME $PRGNAM: $PRGNAM
$APP_NAME: $PRGNAM:
$APP_NAME: $PRGNAM:
$APP_NAME: $PRGNAM:
$APP_NAME: $PRGNAM:
$APP_NAME: $PRGNAM:
$APP_NAME: $PRGNAM:
$APP_NAME: http://www.jezuk.co.uk/cgi-bin/view/arabica $PRGNAM: http://www.jezuk.co.uk/cgi-bin/view/arabica
$APP_NAME: $PRGNAM:
$APP_NAME: see /usr/doc/$APP_NAME-$VERSION for more details $PRGNAM: see /usr/doc/$PRGNAM-$VERSION for more details
$APP_NAME: $PRGNAM:
EOF EOF
# empaquetage # empaquetage
cd $PKG 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 TMP=/tmp
CWD=$(pwd) CWD=$(pwd)
APP_NAME=$(basename $CWD) PRGNAM=$(basename $CWD)
PKG=$TMP/package-$APP_NAME PKG=$TMP/package-$PRGNAM
VERSION=2.22.0 VERSION=2.22.0
@ -21,14 +21,14 @@ PREFIX=/usr
SLCKFLAGS="-fPIC -O2" SLCKFLAGS="-fPIC -O2"
# nettoyage préalable # nettoyage préalable
rm -fr $PKG $TMP/$APP_NAME-$VERSION rm -fr $PKG $TMP/$PRGNAM-$VERSION
mkdir -p $PKG mkdir -p $PKG
# mise en place # mise en place
cd $TMP cd $TMP
tar xf $CWD/$APP_NAME-$VERSION.$EXT tar xf $CWD/$PRGNAM-$VERSION.$EXT
cd $APP_NAME-$VERSION cd $PRGNAM-$VERSION
# configuration # configuration
CFLAGS=$SLCKFLAGS \ CFLAGS=$SLCKFLAGS \
@ -48,9 +48,9 @@ make install DESTDIR=$PKG
cd $PKG cd $PKG
chown -R root:root * chown -R root:root *
mkdir -p $PKG/usr/doc/$APP_NAME-$VERSION mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cd $TMP/$APP_NAME-$VERSION cd $TMP/$PRGNAM-$VERSION
cp -R $DOCS $PKG/usr/doc/$APP_NAME-$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/man ] && find $PKG/usr/man -type f -name "*.?" -exec gzip -9f {} \;
@ -87,4 +87,4 @@ EOF
# empaquetage # empaquetage
cd $PKG 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 TMP=/tmp
CWD=$(pwd) CWD=$(pwd)
APP_NAME=$(basename $CWD) PRGNAM=$(basename $CWD)
PKG=$TMP/package-$APP_NAME PKG=$TMP/package-$PRGNAM
VERSION=1.4.3 VERSION=1.4.3
@ -19,17 +19,17 @@ PREFIX=/usr
SLCKFLAGS="-fPIC -O2" SLCKFLAGS="-fPIC -O2"
# nettoyage préalable # nettoyage préalable
rm -fr $PKG $TMP/$APP_NAME-$VERSION rm -fr $PKG $TMP/$PRGNAM-$VERSION
mkdir -p $PKG mkdir -p $PKG
# mise en place # mise en place
cd $TMP cd $TMP
[ ! -e $CWD/$APP_NAME-$VERSION.tar.?z* ] && \ [ ! -e $CWD/$PRGNAM-$VERSION.tar.?z* ] && \
wget -c http://ftp1.fr.freebsd.org/pub/frugalware/frugalware-current/source/lib-extra/libconfig/$APP_NAME-$VERSION.tar.gz \ wget -c http://ftp1.fr.freebsd.org/pub/frugalware/frugalware-current/source/lib-extra/libconfig/$PRGNAM-$VERSION.tar.gz \
-O $CWD/$APP_NAME-$VERSION.tar.gz -O $CWD/$PRGNAM-$VERSION.tar.gz
tar xf $CWD/$APP_NAME-$VERSION.tar.?z* tar xf $CWD/$PRGNAM-$VERSION.tar.?z*
cd $APP_NAME-$VERSION cd $PRGNAM-$VERSION
# configuration # configuration
CFLAGS=$SLCKFLAGS \ CFLAGS=$SLCKFLAGS \
@ -50,9 +50,9 @@ make install DESTDIR=$PKG
cd $PKG cd $PKG
chown -R root:root * chown -R root:root *
mkdir -p $PKG/usr/doc/$APP_NAME-$VERSION mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cd $TMP/$APP_NAME-$VERSION cd $TMP/$PRGNAM-$VERSION
cp -R $DOCS $PKG/usr/doc/$APP_NAME-$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/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 {} \; [ -d $PKG/usr/info ] && find $PKG/usr/info -type f -name "*.info*" -exec gzip -9f {} \;
@ -76,19 +76,19 @@ done
) )
EOF EOF
cat <<EOF > $PKG/install/slack-desc cat <<EOF > $PKG/install/slack-desc
$APP_NAME: $APP_NAME (Configuration file library for C and C++.) $PRGNAM: $PRGNAM (Configuration file library for C and C++.)
$APP_NAME: $PRGNAM:
$APP_NAME: $PRGNAM:
$APP_NAME: $PRGNAM:
$APP_NAME: $PRGNAM:
$APP_NAME: $PRGNAM:
$APP_NAME: $PRGNAM:
$APP_NAME: $PRGNAM:
$APP_NAME: $PRGNAM:
$APP_NAME: http://hyperrealm.com/libconfig/libconfig.html $PRGNAM: http://hyperrealm.com/libconfig/libconfig.html
$APP_NAME: $PRGNAM:
EOF EOF
# empaquetage # empaquetage
cd $PKG 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 TMP=/tmp
CWD=$(pwd) CWD=$(pwd)
APP_NAME=libev PRGNAM=libev
PKG=$TMP/package-$APP_NAME PKG=$TMP/package-$PRGNAM
VERSION=4.03 VERSION=4.03
@ -21,15 +21,15 @@ PREFIX=/usr
SLCKFLAGS="-fPIC -O2" SLCKFLAGS="-fPIC -O2"
# nettoyage préalable # nettoyage préalable
rm -fr $PKG $TMP/$APP_NAME-$VERSION rm -fr $PKG $TMP/$PRGNAM-$VERSION
mkdir -p $PKG mkdir -p $PKG
# mise en place # mise en place
cd $TMP 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 [ ! -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/$APP_NAME-$VERSION.$EXT tar xf $CWD/$PRGNAM-$VERSION.$EXT
cd $APP_NAME-$VERSION cd $PRGNAM-$VERSION
# configuration # configuration
CFLAGS=$SLCKFLAGS \ CFLAGS=$SLCKFLAGS \
@ -49,9 +49,9 @@ make install DESTDIR=$PKG
cd $PKG cd $PKG
chown -R root:root * chown -R root:root *
mkdir -p $PKG/usr/doc/$APP_NAME-$VERSION mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cd $TMP/$APP_NAME-$VERSION cd $TMP/$PRGNAM-$VERSION
cp -R $DOCS $PKG/usr/doc/$APP_NAME-$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/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 # embaumement
mkdir -p $PKG/install mkdir -p $PKG/install
cat <<EOF > $PKG/install/slack-desc cat <<EOF > $PKG/install/slack-desc
$APP_NAME: $APP_NAME (one line description here) $PRGNAM: $PRGNAM (one line description here)
$APP_NAME: $PRGNAM:
$APP_NAME: More verbose description here, usually from the README file. $PRGNAM: More verbose description here, usually from the README file.
$APP_NAME: $PRGNAM:
$APP_NAME: $PRGNAM:
$APP_NAME: $PRGNAM:
$APP_NAME: $PRGNAM:
$APP_NAME: $PRGNAM:
$APP_NAME: $PRGNAM:
$APP_NAME: see /usr/doc/$APP_NAME-$VERSION for more details $PRGNAM: see /usr/doc/$PRGNAM-$VERSION for more details
$APP_NAME: $PRGNAM:
EOF EOF
# empaquetage # empaquetage
cd $PKG 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 TMP=/tmp
CWD=$(pwd) CWD=$(pwd)
APP_NAME=libfakekey PRGNAM=libfakekey
PKG=$TMP/package-$APP_NAME PKG=$TMP/package-$PRGNAM
VERSION=0.1 VERSION=0.1
@ -25,14 +25,14 @@ case $ARCH in
esac esac
# nettoyage préalable # nettoyage préalable
rm -fr $PKG $TMP/$APP_NAME-$VERSION rm -fr $PKG $TMP/$PRGNAM-$VERSION
mkdir -p $PKG mkdir -p $PKG
# mise en place # mise en place
cd $TMP cd $TMP
tar xf $CWD/$APP_NAME-$VERSION.tar.?z* tar xf $CWD/$PRGNAM-$VERSION.tar.?z*
cd $APP_NAME-$VERSION cd $PRGNAM-$VERSION
# configuration # configuration
CFLAGS=$SLCKFLAGS \ CFLAGS=$SLCKFLAGS \
@ -52,9 +52,9 @@ make install DESTDIR=$PKG
cd $PKG cd $PKG
chown -R root:root * chown -R root:root *
mkdir -p $PKG/usr/doc/$APP_NAME-$VERSION mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cd $TMP/$APP_NAME-$VERSION cd $TMP/$PRGNAM-$VERSION
cp -R $DOCS $PKG/usr/doc/$APP_NAME-$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/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 # embaumement
mkdir -p $PKG/install mkdir -p $PKG/install
cat <<EOF > $PKG/install/slack-desc cat <<EOF > $PKG/install/slack-desc
$APP_NAME: $APP_NAME () $PRGNAM: $PRGNAM ()
$APP_NAME: $PRGNAM:
$APP_NAME: $PRGNAM:
$APP_NAME: $PRGNAM:
$APP_NAME: $PRGNAM:
$APP_NAME: $PRGNAM:
$APP_NAME: $PRGNAM:
$APP_NAME: http://matchbox-project.org/ $PRGNAM: http://matchbox-project.org/
$APP_NAME: $PRGNAM:
$APP_NAME: see /usr/doc/$APP_NAME-$VERSION for more details $PRGNAM: see /usr/doc/$PRGNAM-$VERSION for more details
$APP_NAME: $PRGNAM:
EOF EOF
# empaquetage # empaquetage
cd $PKG 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 # variables
CWD=$(pwd) CWD=$(pwd)
APP_NAME=$(basename $CWD) PRGNAM=$(basename $CWD)
VERSION=3.0.9 VERSION=3.0.9
ARCH=$(uname -m) ARCH=$(uname -m)
BUILD=1 BUILD=1
PACKAGER=cyco PACKAGER=cyco
TMP=/tmp/$PACKAGER TMP=/tmp/$PACKAGER
PKG=$TMP/pkg-$APP_NAME PKG=$TMP/pkg-$PRGNAM
OUTPUT=/tmp OUTPUT=/tmp
PREFIX=/usr PREFIX=/usr
@ -25,19 +25,19 @@ case $ARCH in
esac esac
# nettoyage préalable # nettoyage préalable
rm -fr $PKG $TMP/$APP_NAME-$VERSION rm -fr $PKG $TMP/$PRGNAM-$VERSION
mkdir -p $PKG mkdir -p $PKG
# mise en place # mise en place
( cd $TMP ( cd $TMP
[ ! -e $CWD/$APP_NAME-$VERSION.tar.?z* ] && \ [ ! -e $CWD/$PRGNAM-$VERSION.tar.?z* ] && \
wget -c ftp://sourceware.org/pub/libffi/$APP_NAME-$VERSION.tar.gz \ wget -c ftp://sourceware.org/pub/libffi/$PRGNAM-$VERSION.tar.gz \
-O $CWD/$APP_NAME-$VERSION.tar.gz -O $CWD/$PRGNAM-$VERSION.tar.gz
tar xf $CWD/$APP_NAME-$VERSION.tar.?z* tar xf $CWD/$PRGNAM-$VERSION.tar.?z*
) )
( cd $TMP/$APP_NAME-$VERSION ( cd $TMP/$PRGNAM-$VERSION
# configuration # configuration
CCPFLAGS=$SLCKFLAGS \ CCPFLAGS=$SLCKFLAGS \
CFLAGS=$SLCKFLAGS \ CFLAGS=$SLCKFLAGS \
@ -47,7 +47,7 @@ mkdir -p $PKG
--prefix=$PREFIX \ --prefix=$PREFIX \
--mandir=$PREFIX/man \ --mandir=$PREFIX/man \
--infodir=$PREFIX/info \ --infodir=$PREFIX/info \
--docdir=$PREFIX/doc/$APP_NAME-$VERSION \ --docdir=$PREFIX/doc/$PRGNAM-$VERSION \
--includedir=$PREFIX/include \ --includedir=$PREFIX/include \
--libdir=$PREFIX/lib$(echo $ARCH | grep -o 64) --libdir=$PREFIX/lib$(echo $ARCH | grep -o 64)
@ -56,15 +56,15 @@ mkdir -p $PKG
# installation # installation
make install DESTDIR=$PKG make install DESTDIR=$PKG
# WAT‽ # 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 # correction
chown -R root:root $PKG/* chown -R root:root $PKG/*
mkdir -p $PKG/usr/doc/$APP_NAME-$VERSION mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
( cd $TMP/$APP_NAME-$VERSION ( cd $TMP/$PRGNAM-$VERSION
cp -R $DOCS $PKG/usr/doc/$APP_NAME-$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/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 # embaumement
mkdir -p $PKG/install mkdir -p $PKG/install
cat <<EOF > $PKG/install/slack-desc cat <<EOF > $PKG/install/slack-desc
$APP_NAME: $APP_NAME (A Portable Foreign Function Interface Library ) $PRGNAM: $PRGNAM (A Portable Foreign Function Interface Library )
$APP_NAME: $PRGNAM:
$APP_NAME: $PRGNAM:
$APP_NAME: $PRGNAM:
$APP_NAME: $PRGNAM:
$APP_NAME: $PRGNAM:
$APP_NAME: $PRGNAM:
$APP_NAME: $PRGNAM:
$APP_NAME: $PRGNAM:
$APP_NAME: http://sourceware.org/libffi/ $PRGNAM: http://sourceware.org/libffi/
$APP_NAME: $PRGNAM:
EOF EOF
# empaquetage # empaquetage
( cd $PKG ( 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 # variables
CWD=$(pwd) CWD=$(pwd)
APP_NAME=$(basename $CWD) PRGNAM=$(basename $CWD)
VERSION=0.9.3 VERSION=0.9.3
ARCH=$(uname -m) ARCH=$(uname -m)
BUILD=1 BUILD=1
PACKAGER=cyco PACKAGER=cyco
TMP=/tmp/$PACKAGER TMP=/tmp/$PACKAGER
PKG=$TMP/pkg-$APP_NAME PKG=$TMP/pkg-$PRGNAM
OUTPUT=/tmp OUTPUT=/tmp
PREFIX=/usr PREFIX=/usr
@ -25,19 +25,19 @@ case $ARCH in
esac esac
# nettoyage préalable # nettoyage préalable
rm -fr $PKG $TMP/$APP_NAME-$VERSION rm -fr $PKG $TMP/$PRGNAM-$VERSION
mkdir -p $PKG mkdir -p $PKG
# mise en place # mise en place
( cd $TMP ( cd $TMP
[ ! -e $CWD/$APP_NAME-$VERSION.tar.?z* ] && \ [ ! -e $CWD/$PRGNAM-$VERSION.tar.?z* ] && \
wget -c http://ftp.gnu.org/gnu/libunistring/$APP_NAME-$VERSION.tar.gz \ wget -c http://ftp.gnu.org/gnu/libunistring/$PRGNAM-$VERSION.tar.gz \
-O $CWD/$APP_NAME-$VERSION.tar.gz -O $CWD/$PRGNAM-$VERSION.tar.gz
tar xf $CWD/$APP_NAME-$VERSION.tar.?z* tar xf $CWD/$PRGNAM-$VERSION.tar.?z*
) )
( cd $TMP/$APP_NAME-$VERSION ( cd $TMP/$PRGNAM-$VERSION
# configuration # configuration
CCPFLAGS=$SLCKFLAGS \ CCPFLAGS=$SLCKFLAGS \
CFLAGS=$SLCKFLAGS \ CFLAGS=$SLCKFLAGS \
@ -47,7 +47,7 @@ mkdir -p $PKG
--prefix=$PREFIX \ --prefix=$PREFIX \
--mandir=$PREFIX/man \ --mandir=$PREFIX/man \
--infodir=$PREFIX/info \ --infodir=$PREFIX/info \
--docdir=$PREFIX/doc/$APP_NAME-$VERSION \ --docdir=$PREFIX/doc/$PRGNAM-$VERSION \
--libdir=$PREFIX/lib$(echo $ARCH | grep -o 64) --libdir=$PREFIX/lib$(echo $ARCH | grep -o 64)
# compilation # compilation
@ -59,9 +59,9 @@ mkdir -p $PKG
# correction # correction
chown -R root:root $PKG/* chown -R root:root $PKG/*
mkdir -p $PKG/usr/doc/$APP_NAME-$VERSION mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
( cd $TMP/$APP_NAME-$VERSION ( cd $TMP/$PRGNAM-$VERSION
cp -R $DOCS $PKG/usr/doc/$APP_NAME-$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/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 # embaumement
mkdir -p $PKG/install mkdir -p $PKG/install
cat <<EOF > $PKG/install/slack-desc cat <<EOF > $PKG/install/slack-desc
$APP_NAME: $APP_NAME (GNU Unicode library) $PRGNAM: $PRGNAM (GNU Unicode library)
$APP_NAME: $PRGNAM:
$APP_NAME: This library provides functions for manipulating Unicode strings and $PRGNAM: This library provides functions for manipulating Unicode strings and
$APP_NAME: for manipulating C strings according to the Unicode standard. $PRGNAM: for manipulating C strings according to the Unicode standard.
$APP_NAME: $PRGNAM:
$APP_NAME: $PRGNAM:
$APP_NAME: $PRGNAM:
$APP_NAME: $PRGNAM:
$APP_NAME: $PRGNAM:
$APP_NAME: http://www.gnu.org/software/libunistring/ $PRGNAM: http://www.gnu.org/software/libunistring/
$APP_NAME: $PRGNAM:
EOF EOF
# empaquetage # empaquetage
( cd $PKG ( 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 TMP=/tmp
CWD=$(pwd) CWD=$(pwd)
APP_NAME=libxdg-basedir PRGNAM=libxdg-basedir
PKG=$TMP/package-$APP_NAME PKG=$TMP/package-$PRGNAM
VERSION=1.0.0 VERSION=1.0.0
@ -21,14 +21,14 @@ PREFIX=/usr
SLCKFLAGS="-fPIC -O2" SLCKFLAGS="-fPIC -O2"
# nettoyage préalable # nettoyage préalable
rm -fr $PKG $TMP/$APP_NAME-$VERSION rm -fr $PKG $TMP/$PRGNAM-$VERSION
mkdir -p $PKG mkdir -p $PKG
# mise en place # mise en place
cd $TMP cd $TMP
tar xf $CWD/$APP_NAME-$VERSION.$EXT tar xf $CWD/$PRGNAM-$VERSION.$EXT
cd $APP_NAME-$VERSION cd $PRGNAM-$VERSION
# configuration # configuration
CFLAGS=$SLCKFLAGS \ CFLAGS=$SLCKFLAGS \
@ -48,9 +48,9 @@ make install DESTDIR=$PKG
cd $PKG cd $PKG
chown -R root:root * chown -R root:root *
mkdir -p $PKG/usr/doc/$APP_NAME-$VERSION mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cd $TMP/$APP_NAME-$VERSION cd $TMP/$PRGNAM-$VERSION
cp -R $DOCS $PKG/usr/doc/$APP_NAME-$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/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 # embaumement
mkdir -p $PKG/install mkdir -p $PKG/install
cat <<EOF > $PKG/install/slack-desc cat <<EOF > $PKG/install/slack-desc
$APP_NAME: $APP_NAME (one line description here) $PRGNAM: $PRGNAM (one line description here)
$APP_NAME: $PRGNAM:
$APP_NAME: More verbose description here, usually from the README file. $PRGNAM: More verbose description here, usually from the README file.
$APP_NAME: $PRGNAM:
$APP_NAME: $PRGNAM:
$APP_NAME: $PRGNAM:
$APP_NAME: $PRGNAM:
$APP_NAME: $PRGNAM:
$APP_NAME: $PRGNAM:
$APP_NAME: see /usr/doc/$APP_NAME-$VERSION for more details $PRGNAM: see /usr/doc/$PRGNAM-$VERSION for more details
$APP_NAME: $PRGNAM:
EOF EOF
# empaquetage # empaquetage
cd $PKG 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 TMP=/tmp
CWD=$(pwd) CWD=$(pwd)
APP_NAME=$(basename $CWD) PRGNAM=$(basename $CWD)
PKG=$TMP/package-$APP_NAME PKG=$TMP/package-$PRGNAM
VERSION=0.8.8 VERSION=0.8.8
@ -21,7 +21,7 @@ PREFIX=/usr
SLCKFLAGS="-O2 $(echo "$ARCH" | grep -q "64" && echo -fPIC)" SLCKFLAGS="-O2 $(echo "$ARCH" | grep -q "64" && echo -fPIC)"
# nettoyage préalable # nettoyage préalable
rm -fr $PKG $TMP/$APP_NAME-$VERSION rm -fr $PKG $TMP/$PRGNAM-$VERSION
mkdir -p $PKG mkdir -p $PKG
@ -34,7 +34,7 @@ fi
cd $TMP cd $TMP
tar xf $CWD/xf86-input-evtouch-$VERSION.tar.bz2 tar xf $CWD/xf86-input-evtouch-$VERSION.tar.bz2
cd $TMP/$APP_NAME-$VERSION cd $TMP/$PRGNAM-$VERSION
patch -p1 -i $CWD/hacks.diff patch -p1 -i $CWD/hacks.diff
@ -63,9 +63,9 @@ mkdir -p $PKG$PREFIX/bin
cd $PKG cd $PKG
chown -R root:root * chown -R root:root *
mkdir -p $PKG/usr/doc/$APP_NAME-$VERSION mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cd $TMP/$APP_NAME-$VERSION cd $TMP/$PRGNAM-$VERSION
cp -R $DOCS $PKG/usr/doc/$APP_NAME-$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/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 # embaumement
mkdir -p $PKG/install mkdir -p $PKG/install
cat <<EOF > $PKG/install/slack-desc cat <<EOF > $PKG/install/slack-desc
$APP_NAME: $APP_NAME (Linux-Touchscreen Driver for X) $PRGNAM: $PRGNAM (Linux-Touchscreen Driver for X)
$APP_NAME: $PRGNAM:
$APP_NAME: Evtouch is a Touchscreen-Driver for X. $PRGNAM: Evtouch is a Touchscreen-Driver for X.
$APP_NAME: $PRGNAM:
$APP_NAME: $PRGNAM:
$APP_NAME: $PRGNAM:
$APP_NAME: $PRGNAM:
$APP_NAME: $PRGNAM:
$APP_NAME: $PRGNAM:
$APP_NAME: http://www.conan.de/touchscreen/evtouch.html $PRGNAM: http://www.conan.de/touchscreen/evtouch.html
$APP_NAME: $PRGNAM:
EOF EOF
# empaquetage # empaquetage
cd $PKG 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 TMP=/tmp
CWD=$(pwd) CWD=$(pwd)
APP_NAME=$(basename $CWD) PRGNAM=$(basename $CWD)
PKG=$TMP/package-$APP_NAME PKG=$TMP/package-$PRGNAM
VERSION=0.4.0 VERSION=0.4.0
@ -21,7 +21,7 @@ PREFIX=/usr
SLCKFLAGS="-fPIC -O2" SLCKFLAGS="-fPIC -O2"
# nettoyage préalable # nettoyage préalable
rm -fr $PKG $TMP/$APP_NAME-$VERSION rm -fr $PKG $TMP/$PRGNAM-$VERSION
mkdir -p $PKG mkdir -p $PKG
@ -34,7 +34,7 @@ fi
cd $TMP cd $TMP
tar xf $CWD/xf86-input-plpevtch-$VERSION.tar.gz tar xf $CWD/xf86-input-plpevtch-$VERSION.tar.gz
cd $TMP/$APP_NAME-$VERSION cd $TMP/$PRGNAM-$VERSION
patch -p1 -i $CWD/hacks.diff patch -p1 -i $CWD/hacks.diff
@ -56,9 +56,9 @@ make install DESTDIR=$PKG
cd $PKG cd $PKG
chown -R root:root * chown -R root:root *
mkdir -p $PKG/usr/doc/$APP_NAME-$VERSION mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cd $TMP/$APP_NAME-$VERSION cd $TMP/$PRGNAM-$VERSION
cp -R $DOCS $PKG/usr/doc/$APP_NAME-$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/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 # embaumement
mkdir -p $PKG/install mkdir -p $PKG/install
cat <<EOF > $PKG/install/slack-desc cat <<EOF > $PKG/install/slack-desc
$APP_NAME: $APP_NAME (Xorg Evdev Touchscreen Driver) $PRGNAM: $PRGNAM (Xorg Evdev Touchscreen Driver)
$APP_NAME: $PRGNAM:
$APP_NAME: The plpevtch driver is an eventdevice driver for touchscreens under Xorg 7.x. $PRGNAM: The plpevtch driver is an eventdevice driver for touchscreens under Xorg 7.x.
$APP_NAME: $PRGNAM:
$APP_NAME: $PRGNAM:
$APP_NAME: $PRGNAM:
$APP_NAME: $PRGNAM:
$APP_NAME: $PRGNAM:
$APP_NAME: $PRGNAM:
$APP_NAME: http://www.plop.at/en/touchscreen.html $PRGNAM: http://www.plop.at/en/touchscreen.html
$APP_NAME: $PRGNAM:
EOF EOF
# empaquetage # empaquetage
cd $PKG 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 TMP=/tmp
CWD=$(pwd) CWD=$(pwd)
APP_NAME=hptalx PRGNAM=hptalx
PKG=$TMP/package-$APP_NAME PKG=$TMP/package-$PRGNAM
VERSION=1.3.1a VERSION=1.3.1a
@ -21,14 +21,14 @@ PREFIX=/usr
SLCKFLAGS="-fPIC -O2" SLCKFLAGS="-fPIC -O2"
# nettoyage préalable # nettoyage préalable
rm -fr $PKG $TMP/$APP_NAME-$VERSION rm -fr $PKG $TMP/$PRGNAM-$VERSION
mkdir -p $PKG mkdir -p $PKG
# mise en place # mise en place
cd $TMP cd $TMP
tar xf $CWD/$APP_NAME-$VERSION.$EXT tar xf $CWD/$PRGNAM-$VERSION.$EXT
cd $APP_NAME-$VERSION cd $PRGNAM-$VERSION
# configuration # configuration
CFLAGS=$SLCKFLAGS \ CFLAGS=$SLCKFLAGS \
@ -48,9 +48,9 @@ make install DESTDIR=$PKG
cd $PKG cd $PKG
chown -R root:root * chown -R root:root *
mkdir -p $PKG/usr/doc/$APP_NAME-$VERSION mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cd $TMP/$APP_NAME-$VERSION cd $TMP/$PRGNAM-$VERSION
cp -R $DOCS $PKG/usr/doc/$APP_NAME-$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/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 # embaumement
mkdir -p $PKG/install mkdir -p $PKG/install
cat <<EOF > $PKG/install/slack-desc cat <<EOF > $PKG/install/slack-desc
$APP_NAME: $APP_NAME (one line description here) $PRGNAM: $PRGNAM (one line description here)
$APP_NAME: $PRGNAM:
$APP_NAME: More verbose description here, usually from the README file. $PRGNAM: More verbose description here, usually from the README file.
$APP_NAME: $PRGNAM:
$APP_NAME: $PRGNAM:
$APP_NAME: $PRGNAM:
$APP_NAME: $PRGNAM:
$APP_NAME: $PRGNAM:
$APP_NAME: $PRGNAM:
$APP_NAME: see /usr/doc/$APP_NAME-$VERSION for more details $PRGNAM: see /usr/doc/$PRGNAM-$VERSION for more details
$APP_NAME: $PRGNAM:
EOF EOF
# empaquetage # empaquetage
cd $PKG 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 TMP=/tmp
CWD=$(pwd) CWD=$(pwd)
APP_NAME=matchbox-keyboard PRGNAM=matchbox-keyboard
PKG=$TMP/package-$APP_NAME PKG=$TMP/package-$PRGNAM
VERSION=0.1 VERSION=0.1
@ -25,14 +25,14 @@ case $ARCH in
esac esac
# nettoyage préalable # nettoyage préalable
rm -fr $PKG $TMP/$APP_NAME-$VERSION rm -fr $PKG $TMP/$PRGNAM-$VERSION
mkdir -p $PKG mkdir -p $PKG
# mise en place # mise en place
cd $TMP cd $TMP
tar xf $CWD/$APP_NAME-$VERSION.tar.?z* tar xf $CWD/$PRGNAM-$VERSION.tar.?z*
cd $APP_NAME-$VERSION cd $PRGNAM-$VERSION
# configuration # configuration
CFLAGS=$SLCKFLAGS \ CFLAGS=$SLCKFLAGS \
@ -54,9 +54,9 @@ make install DESTDIR=$PKG
cd $PKG cd $PKG
chown -R root:root * chown -R root:root *
mkdir -p $PKG/usr/doc/$APP_NAME-$VERSION mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cd $TMP/$APP_NAME-$VERSION cd $TMP/$PRGNAM-$VERSION
cp -R $DOCS $PKG/usr/doc/$APP_NAME-$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/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 # embaumement
mkdir -p $PKG/install mkdir -p $PKG/install
cat <<EOF > $PKG/install/slack-desc cat <<EOF > $PKG/install/slack-desc
$APP_NAME: $APP_NAME (on-screen keyboard) $PRGNAM: $PRGNAM (on-screen keyboard)
$APP_NAME: $PRGNAM:
$APP_NAME: $PRGNAM:
$APP_NAME: $PRGNAM:
$APP_NAME: $PRGNAM:
$APP_NAME: $PRGNAM:
$APP_NAME: $PRGNAM:
$APP_NAME: http://matchbox-project.org/ $PRGNAM: http://matchbox-project.org/
$APP_NAME: $PRGNAM:
$APP_NAME: see /usr/doc/$APP_NAME-$VERSION for more details $PRGNAM: see /usr/doc/$PRGNAM-$VERSION for more details
$APP_NAME: $PRGNAM:
EOF EOF
# empaquetage # empaquetage
cd $PKG 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 TMP=/tmp
CWD=$(pwd) CWD=$(pwd)
APP_NAME=textroom PRGNAM=textroom
PKG=$TMP/package-$APP_NAME PKG=$TMP/package-$PRGNAM
VERSION=0.6.5 VERSION=0.6.5
@ -21,18 +21,18 @@ PREFIX=/usr
SLCKFLAGS="-fPIC -O2" SLCKFLAGS="-fPIC -O2"
# nettoyage préalable # nettoyage préalable
rm -fr $PKG $TMP/$APP_NAME-$VERSION rm -fr $PKG $TMP/$PRGNAM-$VERSION
mkdir -p $PKG mkdir -p $PKG
# mise en place # mise en place
cd $TMP 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 [ ! -e $CWD/$PRGNAM-$VERSION.$EXT ] && wget -c http://textroom.googlecode.com/files/$PRGNAM-$VERSION.$EXT -O $CWD/$PRGNAM-$VERSION.$EXT
tar xf $CWD/$APP_NAME-$VERSION.$EXT tar xf $CWD/$PRGNAM-$VERSION.$EXT
cd $APP_NAME-$VERSION cd $PRGNAM-$VERSION
# configuration # 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|usr/local|usr|g" textroom.pro
sed -i 's|lhunspell|lhunspell-1.2|g' textroom.pro sed -i 's|lhunspell|lhunspell-1.2|g' textroom.pro
qmake qmake
@ -51,9 +51,9 @@ rm -f $PKG/usr/bin/textroom-uninstall
cd $PKG cd $PKG
chown -R root:root * chown -R root:root *
# mkdir -p $PKG/usr/doc/$APP_NAME-$VERSION # mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
# cd $TMP/$APP_NAME-$VERSION # cd $TMP/$PRGNAM-$VERSION
# cp -R $DOCS $PKG/usr/doc/$APP_NAME-$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/man ] && find $PKG/usr/man -type f -name "*.?" -exec gzip -9f {} \;
@ -67,19 +67,19 @@ chown -R root:root *
# embaumement # embaumement
mkdir -p $PKG/install mkdir -p $PKG/install
cat <<EOF > $PKG/install/slack-desc cat <<EOF > $PKG/install/slack-desc
$APP_NAME: $APP_NAME (Anti-distraction text editor) $PRGNAM: $PRGNAM (Anti-distraction text editor)
$APP_NAME: $PRGNAM:
$APP_NAME: TextRoom is a pretty basic full-screen text editor, heavily inspired $PRGNAM: TextRoom is a pretty basic full-screen text editor, heavily inspired
$APP_NAME: by similar text editors such as Q10, JDarkRoom and so on. $PRGNAM: by similar text editors such as Q10, JDarkRoom and so on.
$APP_NAME: $PRGNAM:
$APP_NAME: $PRGNAM:
$APP_NAME: $PRGNAM:
$APP_NAME: $PRGNAM:
$APP_NAME: $PRGNAM:
$APP_NAME: see /usr/doc/$APP_NAME-$VERSION for more details $PRGNAM: see /usr/doc/$PRGNAM-$VERSION for more details
$APP_NAME: $PRGNAM:
EOF EOF
# empaquetage # empaquetage
cd $PKG 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 # variables
CWD=$(pwd) CWD=$(pwd)
APP_NAME=$(basename $CWD) PRGNAM=$(basename $CWD)
VERSION=1.12 VERSION=1.12
ARCH=$(uname -m) ARCH=$(uname -m)
BUILD=1 BUILD=1
PACKAGER=cyco PACKAGER=cyco
TMP=/tmp/$PACKAGER TMP=/tmp/$PACKAGER
PKG=$TMP/pkg-$APP_NAME PKG=$TMP/pkg-$PRGNAM
OUTPUT=/tmp OUTPUT=/tmp
PREFIX=/usr PREFIX=/usr
@ -25,19 +25,19 @@ case $ARCH in
esac esac
# nettoyage préalable # nettoyage préalable
rm -fr $PKG $TMP/$APP_NAME-$VERSION rm -fr $PKG $TMP/$PRGNAM-$VERSION
mkdir -p $PKG mkdir -p $PKG
# mise en place # mise en place
( cd $TMP ( cd $TMP
[ ! -e $CWD/$APP_NAME-$VERSION.tar.?z* ] && \ [ ! -e $CWD/$PRGNAM-$VERSION.tar.?z* ] && \
wget -c http://dl.sv.nongnu.org/releases-noredirect/eliot/releases/$APP_NAME-$VERSION.tar.gz \ wget -c http://dl.sv.nongnu.org/releases-noredirect/eliot/releases/$PRGNAM-$VERSION.tar.gz \
-O $CWD/$APP_NAME-$VERSION.tar.gz -O $CWD/$PRGNAM-$VERSION.tar.gz
tar xf $CWD/$APP_NAME-$VERSION.tar.?z* tar xf $CWD/$PRGNAM-$VERSION.tar.?z*
) )
( cd $TMP/$APP_NAME-$VERSION ( cd $TMP/$PRGNAM-$VERSION
# configuration # configuration
CCPFLAGS=$SLCKFLAGS \ CCPFLAGS=$SLCKFLAGS \
CFLAGS=$SLCKFLAGS \ CFLAGS=$SLCKFLAGS \
@ -68,20 +68,20 @@ mkdir -p $PKG
# dictionaries # dictionaries
#note: ods5.dawg has been taken down from upstream due to legal requirement #note: ods5.dawg has been taken down from upstream due to legal requirement
DICOS="eliot-dic-fr.dawg twl06.dawg sowpods06.dawg" 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 for d in $DICOS ; do
[ ! -e $CWD/$d ] && \ [ ! -e $CWD/$d ] && \
wget -c http://dl.sv.nongnu.org/releases/eliot/dict/$d -O $CWD/$d wget -c http://dl.sv.nongnu.org/releases/eliot/dict/$d -O $CWD/$d
done done
cp $CWD/*.dawg $PKG$PREFIX/share/$APP_NAME/ cp $CWD/*.dawg $PKG$PREFIX/share/$PRGNAM/
) )
# correction # correction
chown -R root:root $PKG/* chown -R root:root $PKG/*
mkdir -p $PKG/usr/doc/$APP_NAME-$VERSION mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
( cd $TMP/$APP_NAME-$VERSION ( cd $TMP/$PRGNAM-$VERSION
cp -R $DOCS $PKG/usr/doc/$APP_NAME-$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/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 # embaumement
mkdir -p $PKG/install mkdir -p $PKG/install
cat <<EOF > $PKG/install/slack-desc cat <<EOF > $PKG/install/slack-desc
$APP_NAME: $APP_NAME (Free Scrabble game) $PRGNAM: $PRGNAM (Free Scrabble game)
$APP_NAME: $PRGNAM:
$APP_NAME: Eliot is an open source Scrabble game, freely available under the GNU GPL license. $PRGNAM: Eliot is an open source Scrabble game, freely available under the GNU GPL license.
$APP_NAME: $PRGNAM:
$APP_NAME: Dictionaries are installed in $PREFIX/share/$APP_NAME $PRGNAM: Dictionaries are installed in $PREFIX/share/$PRGNAM
$APP_NAME: $PRGNAM:
$APP_NAME: $PRGNAM:
$APP_NAME: $PRGNAM:
$APP_NAME: $PRGNAM:
$APP_NAME: http://www.nongnu.org/eliot/en/index.html $PRGNAM: http://www.nongnu.org/eliot/en/index.html
$APP_NAME: $PRGNAM:
EOF EOF
# empaquetage # empaquetage
( cd $PKG ( 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 TMP=/tmp
CWD=$(pwd) CWD=$(pwd)
APP_NAME=gnugo PRGNAM=gnugo
PKG=$TMP/package-$APP_NAME PKG=$TMP/package-$PRGNAM
VERSION=3.8 VERSION=3.8
@ -21,14 +21,14 @@ PREFIX=/usr
SLCKFLAGS="-fPIC -O2" SLCKFLAGS="-fPIC -O2"
# nettoyage préalable # nettoyage préalable
rm -fr $PKG $TMP/$APP_NAME-$VERSION rm -fr $PKG $TMP/$PRGNAM-$VERSION
mkdir -p $PKG mkdir -p $PKG
# mise en place # mise en place
cd $TMP cd $TMP
tar xf $CWD/$APP_NAME-$VERSION.$EXT tar xf $CWD/$PRGNAM-$VERSION.$EXT
cd $APP_NAME-$VERSION cd $PRGNAM-$VERSION
# configuration # configuration
CFLAGS=$SLCKFLAGS \ CFLAGS=$SLCKFLAGS \
@ -48,9 +48,9 @@ make install DESTDIR=$PKG
cd $PKG cd $PKG
chown -R root:root * chown -R root:root *
mkdir -p $PKG/usr/doc/$APP_NAME-$VERSION mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cd $TMP/$APP_NAME-$VERSION cd $TMP/$PRGNAM-$VERSION
cp -R $DOCS $PKG/usr/doc/$APP_NAME-$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/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 {} \; [ -d $PKG/usr/info ] && find $PKG/usr/info -type f -name "*.info*" -exec gzip -9f {} \;
@ -73,19 +73,19 @@ do
done done
EOF EOF
cat <<EOF > $PKG/install/slack-desc cat <<EOF > $PKG/install/slack-desc
$APP_NAME: $APP_NAME (Go game) $PRGNAM: $PRGNAM (Go game)
$APP_NAME: $PRGNAM:
$APP_NAME: GNU Go is a free program that plays the game of Go. GNU Go has played $PRGNAM: 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 $PRGNAM: 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, $PRGNAM: 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 $PRGNAM: 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 $PRGNAM: as the leading non-commercial go program in the recent tournaments that it
$APP_NAME: has taken part in. $PRGNAM: has taken part in.
$APP_NAME: $PRGNAM:
$APP_NAME: http://www.gnu.org/software/gnugo/gnugo.html $PRGNAM: http://www.gnu.org/software/gnugo/gnugo.html
$APP_NAME: $PRGNAM:
EOF EOF
# empaquetage # empaquetage
cd $PKG 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