main/libvpx: fix permissions

This commit is contained in:
Natanael Copa 2013-12-11 13:37:24 +00:00
parent f3dcfdf363
commit bc0c3bd7cf

View File

@ -2,7 +2,7 @@
pkgname=libvpx
pkgver=1.3.0
_ver=${pkgver/_/-}
pkgrel=1
pkgrel=2
pkgdesc="Library for the vp8 codec"
url="http://www.webmproject.org/"
arch="all"
@ -42,7 +42,8 @@ build() {
package() {
cd "$_builddir"
make DIST_DIR="$pkgdir"/usr install
chmod 644 "$pkgdir"/usr/include/vpx/*.h || return 1
chmod 644 "$pkgdir"/usr/include/vpx/*.h \
"$pkgdir"/usr/lib/pkgconfig/* || return 1
chown root:root -R "$pkgdir" || return 1
chmod 755 "$pkgdir"/usr/lib/* || return 1
}