blob: 05f8022b7d9679e1d514dcb95a5dd102b9da93fb (
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
28
|
# Maintainer: Roman Mishin <xtradev (a) yandex (.) ru>
pkgname=sfk-bin
pkgver=1.9.9.0
pkgrel=1
pkgdesc="Swiss File Knife - a command line tools collection"
arch=('x86_64')
url='http://stahlworks.com/dev/swiss-file-knife.html'
license=('BSD')
depends=('gcc-libs')
provides=('sfk')
conflicts=('sfk')
_bin='sfk199-linux-64.exe'
source=("$_bin::https://sourceforge.net/projects/swissfileknife/files/1-swissfileknife/$pkgver/$_bin/download")
noextract=("$_bin")
md5sums=('724049a50821d8f4ca46e5cd948730b7')
prepare() {
cp "$_bin" "$srcdir/sfk"
chmod +x "$srcdir/sfk"
}
package() {
install -DT "$srcdir/sfk" "$pkgdir/usr/bin/sfk"
install -dm755 "$pkgdir/usr/share/licenses/sfk"
"$srcdir/sfk" license >"$pkgdir/usr/share/licenses/sfk/LICENSE" || true
rm "$srcdir/sfk"
}
|