lua: Install additional pkg-config file.
This commit is contained in:
@@ -1,10 +1,9 @@
|
||||
# Maintainer: Alexey Pavlov <alexpux@gmail.com>
|
||||
|
||||
_realname=lua
|
||||
|
||||
pkgname="${MINGW_PACKAGE_PREFIX}-${_realname}"
|
||||
pkgver=5.2.3
|
||||
pkgrel=2
|
||||
pkgrel=3
|
||||
pkgdesc="A powerful light-weight programming language designed for extending applications. (mingw-w64)"
|
||||
arch=('any')
|
||||
url="http://www.lua.org/"
|
||||
@@ -12,7 +11,7 @@ license=('MIT')
|
||||
makedepends=("${MINGW_PACKAGE_PREFIX}-gcc")
|
||||
options=('staticlibs' 'strip' 'emptydirs')
|
||||
source=($url/ftp/lua-$pkgver.tar.gz
|
||||
'lua.pc')
|
||||
'lua.pc')
|
||||
md5sums=('dc7f94ec6ff15c985d2d6ad0f1b35654'
|
||||
'e7ba6c2b695b0b84a5ea0cbff5fc9067')
|
||||
|
||||
@@ -22,6 +21,7 @@ build() {
|
||||
sed -e "s|%VER%|${pkgver%.*}|g;s|%REL%|$pkgver|g" \
|
||||
-e "s|/usr|${MINGW_PREFIX}|g" \
|
||||
-i lua.pc
|
||||
|
||||
|
||||
make -j1 \
|
||||
AR="ar rcu" \
|
||||
@@ -38,6 +38,7 @@ build() {
|
||||
package() {
|
||||
cd ${srcdir}/${_realname}-${pkgver}
|
||||
install -Dm644 lua.pc "${pkgdir}${MINGW_PREFIX}"/lib/pkgconfig/lua.pc
|
||||
install -Dm644 lua.pc "${pkgdir}${MINGW_PREFIX}"/lib/pkgconfig/lua52.pc
|
||||
|
||||
# Install the documentation
|
||||
install -d "${pkgdir}${MINGW_PREFIX}"/share/doc/lua
|
||||
|
||||
Reference in New Issue
Block a user