mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
26 lines
764 B
Bash
26 lines
764 B
Bash
# Maintainer: Alexander Foremny <alexanderforemny@gmail.com>
|
|
# Modified by OpenPogo
|
|
|
|
pkgname=pcre
|
|
pkgver=7.9
|
|
pkgrel=3
|
|
pkgdesc="A library that implements Perl 5-style regular expressions"
|
|
arch=(arm)
|
|
url="http://pcre.sourceforge.net"
|
|
license=('BSD')
|
|
groups=('base')
|
|
depends=('gcc-libs')
|
|
options=('!libtool' '!makeflags')
|
|
source=(ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/$pkgname-$pkgver.tar.bz2)
|
|
md5sums=('b6a9669d1863423f01ea46cdf00f93dc')
|
|
|
|
build() {
|
|
cd ${srcdir}/${pkgname}-${pkgver}
|
|
|
|
./configure --prefix=/opt \
|
|
--enable-utf8 --enable-unicode-properties || return 1
|
|
make || return 1
|
|
make DESTDIR=${pkgdir} install || return 1
|
|
install -D -m644 LICENCE \
|
|
${pkgdir}/opt/share/licenses/${pkgname}/LICENSE || return 1
|
|
}
|