core/libxvmc/PKGBUILD
2016-01-19 21:40:53 +01:00

29 lines
876 B
Bash

# Part of the X.org group
# Contributions from Arch: https://projects.archlinux.org/svntogit/packages.git/tree/trunk?h=packages/libxvmc
pkgname=libxvmc
# Caution: This package has a lib32 alternative, make sure to update that one as well
pkgver=1.0.9
pkgrel=1
pkgdesc="X11 Video Motion Compensation extension library"
arch=(x86_64)
url="http://xorg.freedesktop.org/"
license=('custom')
depends=('libxv')
makedepends=('pkgconfig')
source=(${url}/releases/individual/lib/libXvMC-${pkgver}.tar.bz2)
sha1sums=('6fc54831734e781b2848b6f7e3bcc4f752665f21')
build() {
cd ${srcdir}/libXvMC-${pkgver}
./configure --prefix=/usr --sysconfdir=/etc --disable-static
make
}
package() {
cd ${srcdir}/libXvMC-${pkgver}
make DESTDIR=${pkgdir} install
install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"
}