mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-05 15:47:15 +08:00
33 lines
1.1 KiB
Bash
33 lines
1.1 KiB
Bash
# $Id: PKGBUILD 58754 2009-11-13 21:40:57Z jgc $
|
|
# Maintainer: Jan de Groot <jgc@archlinux.org>
|
|
|
|
pkgname=xf86-video-sis
|
|
pkgver=0.10.2
|
|
pkgrel=3
|
|
pkgdesc="X.org SiS video driver"
|
|
arch=(i686 x86_64)
|
|
url="http://xorg.freedesktop.org/"
|
|
license=('custom')
|
|
depends=('glibc' 'sis-dri')
|
|
makedepends=('pkgconfig' 'xorg-server>=1.7.0' 'xf86driproto' 'mesa>=7.6' 'glproto>=1.4.10' 'xf86dgaproto' 'xineramaproto')
|
|
conflicts=('xorg-server<1.7.0')
|
|
options=('!libtool')
|
|
groups=('xorg-video-drivers')
|
|
source=(${url}/releases/individual/driver/${pkgname}-${pkgver}.tar.bz2
|
|
fix-bios-read-on-650-760.patch
|
|
LICENSE)
|
|
md5sums=('f04baa307e49e9f0e5a5c3d2e89a5576'
|
|
'827d289307badeae3778180ab19b7363'
|
|
'e33e023e3d811d28a8ed3bfbd2bf5672')
|
|
|
|
build() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
patch -Np1 -i "${srcdir}/fix-bios-read-on-650-760.patch" || return 1
|
|
./configure --prefix=/usr \
|
|
--enable-dri || return 1
|
|
make || return 1
|
|
make DESTDIR="${pkgdir}" install || return 1
|
|
|
|
install -D -m644 "${srcdir}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" || return 1
|
|
}
|