PKGBUILDs/alarm/marvell-libvmeta/PKGBUILD

40 lines
1 KiB
Bash

# Maintainer: Kevin Mihelich <kevin@archlinuxarm.org>
# Marvell vMeta HD video decoder library
buildarch=4
pkgname="marvell-libvmeta"
pkgver=1.0
pkgrel=4
arch=('armv7h')
url="http://archlinuxarm.org"
depends=('marvell-libbmm')
license=('Proprietary')
source=("http://archlinuxarm.org/builder/src/marvell-libvmeta-1.0.tar.gz"
"http://archlinuxarm.org/builder/src/vmeta-hardfp.tar.xz"
"vmeta-clk@667.service")
optdepends=("systemd: autostart vmeta-clk@667")
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
make
}
package() {
pkgdesc="Marvell vMeta HD video decoder library"
cd "${srcdir}/${pkgname}-${pkgver}"
mkdir -p "${pkgdir}/usr/"{lib,include}
cp libvmeta.so "${pkgdir}/usr/lib"
cp *.h "${pkgdir}/usr/include"
cp "${srcdir}"/vmeta-hardfp/* "${pkgdir}/usr/lib"
install -Dm0644 "${srcdir}/vmeta-clk@667.service" \
"${pkgdir}/usr/lib/systemd/system/vmeta-clk@667.service"
}
md5sums=('a42e3d010a3fd4936aea1224e2778b3d'
'30eb47cd675c81c4e6ee0858d1fbc3a7'
'b0ed087d03ffb157441eab331acd4397')