[arch-commits] Commit in lib32-pcre/repos/multilib-x86_64 (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Mon Mar 11 19:06:00 UTC 2019
Date: Monday, March 11, 2019 @ 19:06:00
Author: felixonmars
Revision: 439831
archrelease: copy trunk to multilib-x86_64
Added:
lib32-pcre/repos/multilib-x86_64/PKGBUILD
(from rev 439830, lib32-pcre/trunk/PKGBUILD)
Deleted:
lib32-pcre/repos/multilib-x86_64/PKGBUILD
----------+
PKGBUILD | 119 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 59 insertions(+), 60 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-03-11 19:05:47 UTC (rev 439830)
+++ PKGBUILD 2019-03-11 19:06:00 UTC (rev 439831)
@@ -1,60 +0,0 @@
-# $Id$
-# Maintainer: Ionut Biru <ibiru at archlinux.org>
-
-_pkgbasename=pcre
-pkgname=lib32-$_pkgbasename
-pkgver=8.42
-pkgrel=1
-pkgdesc="A library that implements Perl 5-style regular expressions (32-bit)"
-arch=('x86_64')
-url="https://www.pcre.org"
-license=('custom')
-depends=('lib32-gcc-libs' $_pkgbasename)
-source=("https://ftp.pcre.org/pub/pcre/$_pkgbasename-$pkgver.tar.bz2"{,.sig})
-md5sums=('085b6aa253e0f91cae70b3cdbe8c1ac2'
- 'SKIP')
-validpgpkeys=('45F68D54BBE23FB3039B46E59766E084FB0F43D8') # Philip Hazel
-
-prepare() {
- cd "${srcdir}"/${_pkgbasename}-${pkgver}
- # apply patch from the source array (should be a pacman feature)
- local filename
- for filename in "${source[@]}"; do
- if [[ "$filename" =~ \.patch$ ]]; then
- msg2 "Applying patch ${filename##*/}"
- patch -p1 -N -i "$srcdir/${filename##*/}"
- fi
- done
- :
-}
-
-build() {
- cd "${srcdir}"/${_pkgbasename}-${pkgver}
- export CC="gcc -m32"
- export CXX="g++ -m32"
- export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
-
- ./configure \
- --prefix=/usr \
- --libdir=/usr/lib32 \
- --enable-unicode-properties \
- --enable-pcre16 \
- --enable-pcre32 \
- --enable-jit
- make
-}
-
-check() {
- cd "${srcdir}"/${_pkgbasename}-${pkgver}
-
- make -j1 check
-}
-
-package() {
- cd "${srcdir}/${_pkgbasename}-${pkgver}"
- make DESTDIR="${pkgdir}" install
-
- rm -rf "${pkgdir}"/usr/{include,share,bin}
- mkdir -p "$pkgdir/usr/share/licenses"
- ln -s $_pkgbasename "$pkgdir/usr/share/licenses/$pkgname"
-}
Copied: lib32-pcre/repos/multilib-x86_64/PKGBUILD (from rev 439830, lib32-pcre/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-03-11 19:06:00 UTC (rev 439831)
@@ -0,0 +1,59 @@
+# Maintainer: Ionut Biru <ibiru at archlinux.org>
+
+_pkgbasename=pcre
+pkgname=lib32-$_pkgbasename
+pkgver=8.43
+pkgrel=1
+pkgdesc="A library that implements Perl 5-style regular expressions (32-bit)"
+arch=('x86_64')
+url="https://www.pcre.org"
+license=('custom')
+depends=('lib32-gcc-libs' $_pkgbasename)
+source=("https://ftp.pcre.org/pub/pcre/$_pkgbasename-$pkgver.tar.bz2"{,.sig})
+md5sums=('636222e79e392c3d95dcc545f24f98c4'
+ 'SKIP')
+validpgpkeys=('45F68D54BBE23FB3039B46E59766E084FB0F43D8') # Philip Hazel
+
+prepare() {
+ cd "${srcdir}"/${_pkgbasename}-${pkgver}
+ # apply patch from the source array (should be a pacman feature)
+ local filename
+ for filename in "${source[@]}"; do
+ if [[ "$filename" =~ \.patch$ ]]; then
+ msg2 "Applying patch ${filename##*/}"
+ patch -p1 -N -i "$srcdir/${filename##*/}"
+ fi
+ done
+ :
+}
+
+build() {
+ cd "${srcdir}"/${_pkgbasename}-${pkgver}
+ export CC="gcc -m32"
+ export CXX="g++ -m32"
+ export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
+
+ ./configure \
+ --prefix=/usr \
+ --libdir=/usr/lib32 \
+ --enable-unicode-properties \
+ --enable-pcre16 \
+ --enable-pcre32 \
+ --enable-jit
+ make
+}
+
+check() {
+ cd "${srcdir}"/${_pkgbasename}-${pkgver}
+
+ make -j1 check
+}
+
+package() {
+ cd "${srcdir}/${_pkgbasename}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+
+ rm -rf "${pkgdir}"/usr/{include,share,bin}
+ mkdir -p "$pkgdir/usr/share/licenses"
+ ln -s $_pkgbasename "$pkgdir/usr/share/licenses/$pkgname"
+}
More information about the arch-commits
mailing list