diff options
author | Erich Eckner <git@eckner.net> | 2020-09-01 21:57:14 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2020-09-01 21:57:14 +0200 |
commit | 315730df482a05d894f95d52dd8f7d178ca68b56 (patch) | |
tree | 5665e4965c467a8bd57f483e308602bb11515bd9 /pcre-static | |
parent | 8f704f18ed78b9fb44efe3cd940b3e1f9cdee5d2 (diff) | |
download | archlinuxewe-315730df482a05d894f95d52dd8f7d178ca68b56.tar.xz |
pcre-static new
Diffstat (limited to 'pcre-static')
-rw-r--r-- | pcre-static/PKGBUILD | 36 |
1 files changed, 36 insertions, 0 deletions
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 <arch at eckner dot net> +# Contributor: ajs124 < aur AT ajs124 DOT de > +# Contributor: Allan McRae <allan@archlinux.org> +# Contributor: Eric Belanger <eric@archlinux.org> +# Contributor: John Proctor <jproctor@prium.net> + +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 +} |