mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-03 17:47:13 +08:00
33 lines
996 B
Bash
33 lines
996 B
Bash
# Part of the X.org group
|
|
# Maintainer: Neophytos Kolokotronis <tetris4 AT gmail DOT com>
|
|
# contributor: abveritas@chakra-project.org
|
|
|
|
pkgname=xf86-video-rendition
|
|
pkgver=4.2.6
|
|
pkgrel=1
|
|
pkgdesc="X.org Rendition video driver"
|
|
arch=('x86_64')
|
|
url="http://xorg.freedesktop.org/"
|
|
license=('custom')
|
|
depends=('glibc')
|
|
makedepends=('xorg-server-devel' 'X-ABI-VIDEODRV_VERSION=19')
|
|
conflicts=('xorg-server<1.16' 'X-ABI-VIDEODRV_VERSION<19' 'X-ABI-VIDEODRV_VERSION>=20')
|
|
options=('!strip')
|
|
source=(${url}/releases/individual/driver/${pkgname}-${pkgver}.tar.bz2)
|
|
sha256sums=('660ecf21f65a4d6002c1b603d62c314f8e9624d208db5b346850b0df9dc2f9a8')
|
|
|
|
build() {
|
|
cd ${pkgname}-${pkgver}
|
|
./configure --prefix=/usr
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd ${pkgname}-${pkgver}
|
|
make DESTDIR="${pkgdir}" install
|
|
install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
|
|
install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"
|
|
|
|
strip --strip-unneeded "${pkgdir}/usr/lib/xorg/modules/drivers/rendition_drv.so"
|
|
}
|