1. turkbits
  2. spm-packages

Commits

Ivailo Monev  committed 57908fe

minor corrections

  • Participants
  • Parent commits 3b9f4ab
  • Branches master

Comments (0)

Files changed (4)

File fdm/SRCBUILD

View file
 description='Program to fetch and deliver mail'
 depends=('openssl' 'tdb' 'zlib')
 makedepends=('patch' 'sed')
-options=('!makeflags')
 sources=("http://downloads.sourceforge.net/project/fdm/fdm/fdm-$version/fdm-$version.tar.gz"
          'fdm.conf')
 
 src_compile() {
-  cd $SOURCE_DIR/fdm-$version
+  cd "$SOURCE_DIR/fdm-$version"
 
   ./configure
-  make PREFIX=/usr MANDIR=/usr/share/man
+  make -j1 PREFIX=/usr MANDIR=/usr/share/man
 }
 
 src_install() {
-  cd $SOURCE_DIR/fdm-$version
+  cd "$SOURCE_DIR/fdm-$version"
   
-  make DESTDIR=$INSTALL_DIR PREFIX=/usr MANDIR=/usr/share/man install
+  make -j1 DESTDIR="$INSTALL_DIR" PREFIX=/usr MANDIR=/usr/share/man install
 
   install -vdm755 "$INSTALL_DIR/etc/"
   install -vm644 "$SOURCE_DIR/fdm.conf" "$INSTALL_DIR/etc/fdm.conf"
 
-  install -d $INSTALL_DIR/usr/share/doc/fdm
-  mv examples $INSTALL_DIR/usr/share/doc/fdm
+  install -vd "$INSTALL_DIR/usr/share/doc/fdm"
+  mv examples "$INSTALL_DIR/usr/share/doc/fdm"
 }

File gpa/SRCBUILD

View file
 
 src_install() {
   cd "$SOURCE_DIR/gpa-$version"
-  make DESTDIR="$INSTALL_DIR/" install
+  make DESTDIR="$INSTALL_DIR" install
 }
 
 

File tdb/SRCBUILD

View file
 
 version=1.2.12
 description="A Trivial Database similar to GDBM but allows simultaneous commits"
-sources=(http://samba.org/ftp/tdb/tdb-$version.tar.gz)
+sources=("http://samba.org/ftp/tdb/tdb-$version.tar.gz")
 makedepends=('python2' 'libxslt' 'docbook-xsl')
 
 src_compile() {
-   cd $SOURCE_DIR/tdb-$version
+   cd "$SOURCE_DIR/tdb-$version"
+   
    sed -i -e 's#python#python2#g' buildtools/bin/waf
    #sed -i 's#python2\.6\([^ ]*\)#python2.7\1 python2.6\1#' configure
    # Use system docbook.xsl
    #_manstyle="/usr/share/xml/docbook/xsl-stylesheets-1.76.1/manpages/docbook.xsl"
    #sed -i "s#http.*xsl#$_manstyle#" tdb.mk
    export PYTHON=/usr/bin/python2
+   
    ./configure --prefix=/usr \
                --localstatedir=/var \
                --sysconfdir=/etc/samba
 }
 
 src_install() {
-   cd $SOURCE_DIR/tdb-$version
+   cd "$SOURCE_DIR/tdb-$version"
+   
    export PYTHON=/usr/bin/python2
-   make DESTDIR=$INSTALL_DIR/ install
+   make DESTDIR="$INSTALL_DIR" install
 }

File ted/SRCBUILD

View file
 version=2.23
 description="A lightweight rtf text processor"
 depends=('zlib' 'pcre' 'xorg-libraries' 'libjpeg-turbo' 'libtiff' 'libpng' 'gtk2' 'libpaper' 'desktop-file-utils')
+makedepends=('xorg-protocol-headers')
 sources=("http://ftp.nluug.nl/pub/editors/ted/ted-$version.src.tar.gz"
          "http://ftp.nluug.nl/pub/editors/ted/ted_nl_NL.tar.gz"
          "http://ftp.nluug.nl/pub/editors/ted/ted_en_GB.tar.gz"
 src_install() {
   cd "$SOURCE_DIR/Ted-$version"
 
-  install -dm755 "$INSTALL_DIR/usr/share/Ted"
-
+  install -vdm755 "$INSTALL_DIR/usr/share/Ted"
   for i in "$SOURCE_DIR/"TedDocument-*_*.rtf; do
-     install -m644 "$i" "$INSTALL_DIR/usr/share/Ted"
+     install -vm644 "$i" "$INSTALL_DIR/usr/share/Ted"
   done
 
   cd "$SOURCE_DIR/Ted-$version/tedPackage"
 }
 
 post_upgrade() {
-    post_install $1
+    post_install
 }
 
 post_remove() {
-    post_install $1
+    post_install
 }