Skip to content

Commit

Permalink
pcre: Fix installation of license files.
Browse files Browse the repository at this point in the history
  • Loading branch information
renatosilva committed Apr 9, 2016
1 parent 2a01ce6 commit b7c2b59
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion mingw-w64-pcre/PKGBUILD
Expand Up @@ -4,7 +4,7 @@ _realname=pcre
pkgbase=mingw-w64-${_realname}
pkgname="${MINGW_PACKAGE_PREFIX}-${_realname}"
pkgver=8.38
pkgrel=1
pkgrel=2
pkgdesc="A library that implements Perl 5-style regular expressions (mingw-w64)"
arch=('any')
url="http://pcre.org"
Expand Down Expand Up @@ -49,4 +49,10 @@ check() {
package() {
cd "${srcdir}/build-${MINGW_CHOST}"
make DESTDIR="${pkgdir}" install

# License files
cd "${pkgdir}${MINGW_PREFIX}/share"
mkdir -p licenses/${_realname}
mv doc/${_realname}/COPYING licenses/${_realname}
mv doc/${_realname}/LICENCE licenses/${_realname}
}

0 comments on commit b7c2b59

Please sign in to comment.