From 83c3c42a38bda36bdc56d594318958bc4cfd9b32 Mon Sep 17 00:00:00 2001 From: root Date: Mon, 28 Nov 2011 23:14:56 +0000 Subject: Mon Nov 28 23:14:56 UTC 2011 --- community/sfk/PKGBUILD | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 community/sfk/PKGBUILD (limited to 'community/sfk') diff --git a/community/sfk/PKGBUILD b/community/sfk/PKGBUILD new file mode 100644 index 000000000..3a6cb9e24 --- /dev/null +++ b/community/sfk/PKGBUILD @@ -0,0 +1,26 @@ +# $Id: PKGBUILD 59548 2011-11-28 01:04:30Z seblu $ +# Maintainer: Sebastien Luttringer +# Contributor: Baumi + +pkgname=sfk +pkgver=1.6.4 +pkgrel=2 +pkgdesc='Swiss File Knife - A Command Line Tools Collection' +arch=('i686' 'x86_64') +url='http://stahlforce.com/dev/?tool=sfk' +license=('custom: BSD') +source=("http://downloads.sourceforge.net/swissfileknife/${pkgname}${pkgver//./}.zip") +md5sums=('263df6a8e18f6ebb6032f3c048df0b6d') + +build() { + cd ${pkgname}${pkgver//./} + g++ $CXXFLAGS $LDFLAGS sfk.cpp sfknet.cpp patch.cpp inst.cpp -o sfk +} + +package() { + cd ${pkgname}${pkgver//./} + install -D -m755 $pkgname "$pkgdir/usr/bin/$pkgname" + install -D -m444 bsd-license.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE" +} + +# vim:set ts=2 sw=2 ft=sh et: -- cgit v1.2.3-54-g00ecf