desktop/tsf/PKGBUILD
2012-02-05 15:58:04 +00:00

22 lines
753 B
Bash

# Contributor: Victor Blazquez Francisco <victor.blazquez at kde-espana dot es>
pkgname=tsf
pkgver=0.4.0
pkgrel=1
pkgdesc="tsf is a UNIX/Linux command tool. When 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')
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
}