blob: fd8594aca9efbf0c4dd956510776ad30031bf4bc (
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
29
30
31
32
|
# Maintainer: Ashymad <czilukim@o2.pl>
pkgname=sfk
_version=1.9.9
_revision=0
pkgver=${_version}.${_revision}
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')
makedepends=()
source=("$pkgname-$pkgver.tar.gz::https://sourceforge.net/projects/swissfileknife/files/1-swissfileknife/${pkgver}/sfk-${_version}.tar.gz")
sha256sums=('49cd73283495a254f8659cb0d96983239c34618892064c318b0c2d19861c7910')
prepare() {
cd "$pkgname-$_version"
sed -i 's/typedef long long int64_t;//g' ./sfkmatch.hpp
sed -i 's/#define bool unsigned char//g' ./sfkbase.hpp
}
build() {
cd "$pkgname-$_version"
./configure --prefix=/usr
make
}
package() {
cd "$pkgname-$_version"
make DESTDIR="$pkgdir/" install
install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
}
|