core/libxv/PKGBUILD

30 lines
852 B
Bash
Raw Normal View History

2013-12-18 19:09:47 +08:00
# Part of the X.org group
2016-01-20 04:40:34 +08:00
# Contributions from Arch: https://projects.archlinux.org/svntogit/packages.git/tree/trunk?h=packages/libxv
2010-03-14 23:48:48 +08:00
pkgname=libxv
2016-01-20 04:40:34 +08:00
# Caution: This package has a lib32 alternative, make sure to update that one as well
pkgver=1.0.11
pkgrel=1
2010-03-14 23:48:48 +08:00
pkgdesc="X11 Video extension library"
2013-12-18 19:09:47 +08:00
arch=(x86_64)
2010-03-14 23:48:48 +08:00
license=('custom')
url="http://xorg.freedesktop.org/"
depends=('libxext' 'videoproto')
2016-01-20 04:40:34 +08:00
makedepends=('pkgconfig')
2010-03-14 23:48:48 +08:00
source=(${url}/releases/individual/lib/libXv-${pkgver}.tar.bz2)
sha1sums=('d79f9c56faedd682f420fa68bb9d7ff755b84579')
2010-03-14 23:48:48 +08:00
build() {
cd "${srcdir}/libXv-${pkgver}"
2010-03-14 23:48:48 +08:00
./configure --prefix=/usr --disable-static
make
2013-12-18 19:09:47 +08:00
}
package() {
cd "${srcdir}/libXv-${pkgver}"
make DESTDIR="${pkgdir}" install
2010-03-14 23:48:48 +08:00
install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"
2010-03-14 23:48:48 +08:00
}