tar xvf $CWD/$PRGNAM-$VERSION-linux-$ARCHID.tar.gz
cd $PRGNAM
-#mkdir -p $PKG/usr/bin $PKG/usr/lib$LIBDIRSUFFIX/$PRGNAM
sed -i "s/\/src\//\/..\/lib$LIBDIRSUFFIX\/$PRGNAM\//g" sass
install -D -t $PKG/usr/bin/ sass
install -D -t $PKG/usr/lib$LIBDIRSUFFIX/$PRGNAM/ src/dart src/sass.snapshot
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-make dumptorrent CFLAGS="${SLKCFLAGS}"
+make dumptorrent CFLAGS="$SLKCFLAGS"
# There's no 'install' target and no documentation, so we just copy the binary
# to a correct location and package it.
-mkdir -p ${PKG}/usr/bin
-install -Dm755 ./dumptorrent ${PKG}/usr/bin/
+mkdir -p $PKG/usr/bin
+install -Dm755 ./dumptorrent $PKG/usr/bin/
# Strip binaries
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \