mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-11 13:14:36 +08:00
23 lines
636 B
Bash
23 lines
636 B
Bash
#
|
|
# Platform Packages for Chakra, part of chakra-project.org
|
|
#
|
|
|
|
pkgname=videoproto
|
|
pkgver=2.3.2
|
|
pkgrel=1
|
|
pkgdesc="X11 Video extension wire protocol"
|
|
arch=(any)
|
|
url="http://xorg.freedesktop.org/"
|
|
license=('custom')
|
|
source=(${url}/releases/individual/proto/${pkgname}-${pkgver}.tar.bz2)
|
|
sha1sums=('aa60e3b93c6a78ad03f1c502b910e7c45faaedbc')
|
|
|
|
build() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
./configure --prefix=/usr || return 1
|
|
make || return 1
|
|
make DESTDIR="${pkgdir}" install || return 1
|
|
install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
|
|
install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/" || return 1
|
|
}
|