blob: 80fb3bd74ae0787ecf08ceb437a87314f3f192ce (
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
|
# Maintainer: George Peppard <gjp1g21 at soton dot ac dot uk>
pkgname=libfsm-git
pkgver=r2867.6038ae4f
pkgrel=1
arch=('x86_64')
pkgdesc="DFA regular expression library & friends"
url="https://github.com/katef/libfsm"
license=('BSD')
depends=(glibc)
makedepends=(git bmake libxslt docbook-xsl docbook-xml)
provides=(libfsm)
source=('git+https://github.com/katef/libfsm.git')
md5sums=('SKIP')
pkgver() {
cd "$srcdir/libfsm"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
prepare () {
cd "$srcdir/libfsm"
git submodule init
git submodule update
}
build() {
cd "$srcdir/libfsm"
bmake -r
}
package () {
cd "$srcdir/libfsm"
PREFIX="$pkgdir/usr" bmake -r install
mv "$pkgdir/usr/man" "$pkgdir/usr/share/man"
install -Dm644 LICENCE "$pkgdir/usr/share/licenses/libfsm-git/LICENSE"
}
|