mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-05 15:37:14 +08:00
36 lines
973 B
Bash
36 lines
973 B
Bash
#
|
|
# Platform Packages for Chakra, part of chakra-project.org
|
|
#
|
|
# maintainer abveritas@chakar-project.org
|
|
|
|
pkgname=xf86-video-chips
|
|
pkgver=1.2.4
|
|
pkgrel=4
|
|
pkgdesc="X.org Chips and Technologies video driver"
|
|
arch=('i686' 'x86_64')
|
|
url="http://xorg.freedesktop.org/"
|
|
license=('custom')
|
|
depends=('glibc')
|
|
makedepends=('xorg-server')
|
|
conflicts=('xorg-server<1.12.3')
|
|
groups=('xorg-video-drivers')
|
|
options=('!libtool')
|
|
source=("${url}/releases/individual/driver/${pkgname}-${pkgver}.tar.bz2"
|
|
'chips-1.2.4-git.patch')
|
|
sha1sums=('71f474335d05f93b2451a7a0750c4409669641a4'
|
|
'ef1110c84f7f509f2246bac36f798642bbcf77a5')
|
|
|
|
build() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
patch -p1 -i ${srcdir}/chips-1.2.4-git.patch
|
|
./configure --prefix=/usr
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
|
|
make DESTDIR="${pkgdir}" install
|
|
install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
|
|
install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"
|
|
} |