blob: 8901c22d4c3e56359dc89986e9f92ac218413498 (
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
|
# Maintainer: Anatol Pomozov anatol dot pomozov at g mail
pkgname=slre
pkgver=1.3
pkgrel=1
pkgdesc='Super Light Regular Expression library'
arch=(i686 x86_64)
license=(GPL2)
depends=(glibc)
url='https://github.com/cesanta/slre'
source=(https://github.com/cesanta/slre/archive/$pkgver.tar.gz)
sha1sums=('13aefb20d296bc071e2bacafb72cc263bba1906c')
build() {
cd slre-$pkgver
gcc -shared -fPIC $CFLAGS $LDFLAGS slre.c -o libslre.so
}
package() {
cd slre-$pkgver
install -D -m644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
install -D -m755 libslre.so "$pkgdir/usr/lib/libslre.so"
install -D -m644 slre.h "$pkgdir/usr/include/slre.h"
}
|