mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-10 13:24:40 +08:00
35 lines
977 B
Bash
35 lines
977 B
Bash
# Maintainer: Drake Justice <djustice@chakraos.org>
|
|
|
|
source ../xorg.conf
|
|
|
|
pkgname=xf86-video-ati
|
|
pkgver=7.9.0
|
|
pkgrel=1
|
|
pkgdesc="X.org ati video driver"
|
|
arch=('x86_64')
|
|
url="http://xorg.freedesktop.org/"
|
|
license=('custom')
|
|
depends=('libdrm>=2.4.58' 'systemd' 'mesa-dri')
|
|
makedepends=('xorg-server-devel' "X-ABI-VIDEODRV_VERSION=${X_ABI_VIDEODRV_VERSION}")
|
|
conflicts=('xorg-server<1.16.0' "X-ABI-VIDEODRV_VERSION<${X_ABI_VIDEODRV_MAJOR}" "X-ABI-VIDEODRV_VERSION>=$((X_ABI_VIDEODRV_MAJOR+1))")
|
|
groups=('xorg-drivers' 'xorg')
|
|
source=(${url}/releases/individual/driver/${pkgname}-${pkgver}.tar.bz2)
|
|
sha256sums=('3cad872e6330afb1707da11e4e959e6887ebe5bcd81854b4d2e496c52c059875')
|
|
|
|
build() {
|
|
cd ${pkgname}-${pkgver}
|
|
|
|
./configure --prefix=/usr \
|
|
--enable-glamor
|
|
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}/"
|
|
}
|
|
|