pkgconfig fix

This commit is contained in:
Jack L. Frost 2015-06-25 16:45:12 +03:00
parent 65dad129b8
commit 48f56d0de8

View File

@ -8,7 +8,7 @@ _src_uri='http://dev.gentoo.org/~blueness/eudev'
pkgname=( 'eudev' 'libeudev' ) pkgname=( 'eudev' 'libeudev' )
pkgver=3.1.2 pkgver=3.1.2
pkgrel=2 pkgrel=3
pkgdesc="The userspace dev tools (udev) forked by Gentoo" pkgdesc="The userspace dev tools (udev) forked by Gentoo"
arch=('i686' 'x86_64') arch=('i686' 'x86_64')
url="http://www.gentoo.org/proj/en/eudev/" url="http://www.gentoo.org/proj/en/eudev/"
@ -71,8 +71,9 @@ package_eudev() {
cd "${srcdir}/_libeudev" cd "${srcdir}/_libeudev"
# ...libs # ...libs
mkdir -pm755 usr/lib mkdir -pm755 usr/lib usr/lib/pkgconfig
mv "$pkgdir"/usr/lib/libudev*.{so,a}* usr/lib mv "$pkgdir"/usr/lib/libudev*.{so,a}* usr/lib/
mv "$pkgdir"/usr/lib/pkgconfig/libudev.pc usr/lib/pkgconfig/libudev.pc
# ...headers # ...headers
mkdir -pm755 usr/include mkdir -pm755 usr/include