# Contributor: Victor Blazquez Francisco pkgname=tsf pkgver=0.4.0 pkgrel=1 pkgdesc="A UNIX/Linux command tool that invoked on a file, a copy of that file is created with a name made of the file name plus a timestamp. tsf comes handy as an easy and quick way for creating timestamped copies of files before modifying them." arch=('x86_64' 'i686') url="http://tsf.sourceforge.net/" license=('GPL') depends=('gcc') categories=('utils') source=('http://sourceforge.net/projects/${pkgname}/files/${pkgname}/${pkgver}/tsf.c') md5sums=('2d571570c80c02160a609338fff0f198') build() { mkdir -p $srcdir/tmp gcc -o $srcdir/tmp/tsf $srcdir/tsf.c } package() { mkdir -p $pkgdir/usr/bin cp -rf $srcdir/tmp/tsf $pkgdir/usr/bin/tsf }