mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-01-27 23:44:04 +00:00
29 lines
936 B
Bash
29 lines
936 B
Bash
# Maintainer: Kevin Mihelich <kevin@plugapps.com>
|
|
|
|
# Armada 510/Dove graphics libraries
|
|
|
|
buildarch=4
|
|
|
|
pkgname="marvell-libgfx"
|
|
pkgver=0.2.0
|
|
pkgrel=1
|
|
arch=('armv7h')
|
|
url="http://archlinuxarm.org"
|
|
license=('Proprietary')
|
|
source=("http://archlinuxarm.org/builder/src/marvell-libgfx-0.2.0.tar.gz")
|
|
|
|
package() {
|
|
pkgdesc="Armada 510/Dove graphics Libraries"
|
|
|
|
cd "${srcdir}/${pkgname}-${pkgver}/bin"
|
|
mkdir -p "${pkgdir}/usr/lib"
|
|
mkdir -p "${pkgdir}/usr/include"
|
|
cp libGAL.so.1 libgcu.so.1 libOpenVG.so.1 libVDK.so.1 "${pkgdir}/usr/lib"
|
|
ln -s /usr/lib/libGAL.so.1 "${pkgdir}/usr/lib/libGAL.so"
|
|
ln -s /usr/lib/libgcu.so.1 "${pkgdir}/usr/lib/libgcu.so"
|
|
ln -s /usr/lib/libOpenVG.so.1 "${pkgdir}/usr/lib/libOpenVG.so"
|
|
ln -s /usr/lib/libVDK.so.1 "${pkgdir}/usr/lib/libVDK.so"
|
|
cd "${srcdir}/${pkgname}-${pkgver}/include"
|
|
cp -r gcu.h vdk.h vdkTypes.h HAL VG "${pkgdir}/usr/include"
|
|
}
|
|
md5sums=('6cd584e6feb6a8605662bb2280676f65')
|