# $Id: PKGBUILD 88535 2013-04-19 12:59:02Z seblu $ # Maintainer: Sébastien Luttringer # Contributor: Baumi pkgname=sfk pkgver=1.6.7 pkgrel=1 pkgdesc='Swiss File Knife - A Command Line Tools Collection' arch=('i686' 'x86_64' 'mips64el') url='http://stahlforce.com/dev/?tool=sfk' license=('custom: BSD') depends=('gcc-libs') source=("http://downloads.sourceforge.net/swissfileknife/${pkgname}${pkgver//./}.zip") md5sums=('cd900b0c2f6fb362d5d3ef5190b96767') build() { cd ${pkgname}${pkgver//./} g++ $CXXFLAGS $LDFLAGS sfk.cpp sfknet.cpp patch.cpp inst.cpp -o $pkgname } 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 et: