2021-12-26 12:40:14 +00:00
|
|
|
pkgver=2.4.109
|
2021-01-17 19:15:45 +00:00
|
|
|
pkgname=libdrm
|
2021-04-08 17:50:18 +00:00
|
|
|
dep="libpciaccess"
|
2021-01-17 19:15:45 +00:00
|
|
|
bad=""
|
|
|
|
|
|
|
|
fetch() {
|
2021-06-15 09:40:49 +00:00
|
|
|
curl -L "https://dri.freedesktop.org/libdrm/libdrm-$pkgver.tar.xz" -o $pkgname-$pkgver.tar.gz
|
2021-01-17 19:15:45 +00:00
|
|
|
tar -xf $pkgname-$pkgver.tar.gz
|
|
|
|
}
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cd $pkgname-$pkgver
|
2021-01-31 11:09:14 +00:00
|
|
|
meson build --prefix /usr
|
2021-01-17 19:15:45 +00:00
|
|
|
samu -C build
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd $pkgname-$pkgver
|
|
|
|
DESTDIR=$pkgdir samu -C build install
|
|
|
|
}
|
|
|
|
|
2021-12-26 12:40:14 +00:00
|
|
|
backup() {
|
|
|
|
return
|
2021-01-17 19:15:45 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
license() {
|
|
|
|
cat ../COPYING
|
|
|
|
}
|