#Maintainer: Dimitris Tzemos pkgname=corbeille-spacefm-el pkgver=1.0.4 pkgrel=1dj arch=noarch source=("add-el-lang.patch" "sed-el-patterns.txt") url="http://www.jpfleury.net/en/software/corbeille-spacefm.php" slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "Corbeille-SpaceFM ("Corbeille" is the French for 'Trash can')" "is a plugin adding trash support in the file manager SpaceFM." "Special attention was given to have minimum requirements. It's" "written in Bash, and only a few external tools from the package" "coreutils are used (ls,mv, rm...), so it should work out-of-the-box" "for everyone." "" "HomePage: http://www.jpfleury.net/en/software/corbeille-spacefm.php" ) build() { git_dir=${pkgname} git_url=git://jpfleury.indefero.net/jpfleury/corbeille-spacefm.git git_cmd=" clone" git $git_cmd $git_url $git_dir 2>svn_err.log # create the source archive tar czf $pkgname-$pkgver.tar.gz $git_dir cp $pkgname-$pkgver.tar.gz ../ cd $SRC/$pkgname patch -p0 < $SRC/add-el-lang.patch || return 1 cp $SRC/sed-el-patterns.txt $SRC/$pkgname || return 1 ./script.sh archive el || return 1 mkdir -p $PKG/usr/share/spacefm/plugins/Corbeille-el-source ||return 1 tar xvf $SRC/$pkgname/Corbeille-el-source.spacefm-plugin.tar.gz -C $PKG/usr/share/spacefm/plugins/Corbeille-el-source || return 1 }