diff options
author | root <root@rshg054.dnsready.net> | 2013-08-13 01:33:19 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-08-13 01:33:19 -0700 |
commit | 7a65a910b77ad191d69881098c47f9b0c852d92e (patch) | |
tree | 9564e611af1442f8952a8cbddb3b0ad25ed71aab /community/sfk | |
parent | 60da6abff6c9577a783d72865f11de7a585e912e (diff) |
Tue Aug 13 01:31:08 PDT 2013
Diffstat (limited to 'community/sfk')
-rw-r--r-- | community/sfk/PKGBUILD | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/community/sfk/PKGBUILD b/community/sfk/PKGBUILD new file mode 100644 index 000000000..4f9e3d965 --- /dev/null +++ b/community/sfk/PKGBUILD @@ -0,0 +1,27 @@ +# $Id: PKGBUILD 93781 2013-07-10 08:33:37Z seblu $ +# Maintainer: Sébastien Luttringer +# Contributor: Baumi <baumi@gmx.com> + +pkgname=sfk +pkgver=1.6.8 +pkgrel=1 +pkgdesc='Swiss File Knife - A Command Line Tools Collection' +arch=('i686' 'x86_64') +url='http://stahlforce.com/dev/?tool=sfk' +license=('custom: BSD') +depends=('gcc-libs') +source=("http://downloads.sourceforge.net/swissfileknife/${pkgname}${pkgver//./}.zip") +md5sums=('cce2184223597cfe314ca7a5f247d1ce') + +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: |