summaryrefslogtreecommitdiff
path: root/community/sfk/PKGBUILD
blob: cc1e707b5b3c3bf7935f90da62e09150010e4748 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# $Id: PKGBUILD 77369 2012-10-09 06:40:23Z seblu $
# Maintainer: Sébastien Luttringer <seblu@aur.archlinux.org>
# Contributor: Baumi <baumi@gmx.com>

pkgname=sfk
pkgver=1.6.6
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=('d32f487d783356eb15e23f5e26bf7ac7')

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 ft=sh et: