blob: 2e74217e79540dabd8581e3528a7d281b4e23332 (
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
33
34
35
36
37
38
39
40
41
|
# Maintainer: yantene <contact@yantene.net>
pkgname=simstring-git
_gitname=simstring
pkgver=6209ea8
pkgrel=1
pkgdesc="A simple and efficient algorithm for approximate string matching"
url="http://www.chokkan.org/software/simstring/"
arch=('i686' 'x86_64')
license=('BSD')
depends=('gcc-libs-multilib')
makedepends=('git')
optdepends=()
#depends+=()
provides=('simstring')
conflicts=()
source=('git+https://github.com/chokkan/simstring.git')
md5sums=('SKIP')
pkgver() {
cd $_gitname
git describe --tags --always | sed -e 's/\([^-]*-g\)/r\1/;s/-/./g'
}
prepare() {
cd $_gitname
./autogen.sh
}
build() {
cd $_gitname
./configure --prefix=/usr
make
}
package() {
cd $_gitname
make DESTDIR="$pkgdir" install
install -Dm644 "COPYING" "$pkgdir/usr/share/licenses/simstring-git/COPYING"
}
|