From 315730df482a05d894f95d52dd8f7d178ca68b56 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Tue, 1 Sep 2020 21:57:14 +0200 Subject: pcre-static new --- pcre-static/PKGBUILD | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 pcre-static/PKGBUILD (limited to 'pcre-static') diff --git a/pcre-static/PKGBUILD b/pcre-static/PKGBUILD new file mode 100644 index 000000000..e13614683 --- /dev/null +++ b/pcre-static/PKGBUILD @@ -0,0 +1,36 @@ +# Maintainer: Erich Eckner +# Contributor: ajs124 < aur AT ajs124 DOT de > +# Contributor: Allan McRae +# Contributor: Eric Belanger +# Contributor: John Proctor + +pkgname=pcre-static +pkgver=8.44 +pkgrel=4 +pkgdesc="A library that implements Perl 5-style regular expressions" +arch=('i686' 'x86_64' 'armv6h' 'armv7h') +url="http://www.pcre.org/" +license=('BSD') +depends=('gcc-libs') +options=('staticlibs' '!libtool') +validpgpkeys=('45F68D54BBE23FB3039B46E59766E084FB0F43D8') +#source=(ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-${pkgver}.tar.bz2{,.sig}) +source=(https://ftp.pcre.org/pub/pcre/pcre-${pkgver}.tar.bz2) +sha256sums=('19108658b23b3ec5058edc9f66ac545ea19f9537234be1ec62b714c84399366d') + +build() { + cd "${srcdir}"/pcre-${pkgver} + ./configure --prefix=/usr \ + --enable-pcre16 --enable-pcre32 --enable-jit \ + --enable-utf --enable-unicode-properties + make +} + +package() { + cd "${srcdir}"/pcre-${pkgver} + make DESTDIR="${pkgdir}" install + rm -rf $pkgdir/usr/{bin,include,share,lib/pkgconfig} + rm -f $pkgdir/usr/lib/*.so* + + install -Dm644 LICENCE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE +} -- cgit v1.2.3-70-g09d2