iglunix/pkgs/libdrm/build.sh
2021-06-15 10:40:49 +01:00

30 lines
468 B
Bash

pkgver=2.4.106
pkgname=libdrm
dep="libpciaccess"
bad=""
ext="dev"
fetch() {
curl -L "https://dri.freedesktop.org/libdrm/libdrm-$pkgver.tar.xz" -o $pkgname-$pkgver.tar.gz
tar -xf $pkgname-$pkgver.tar.gz
}
build() {
cd $pkgname-$pkgver
meson build --prefix /usr
samu -C build
}
package() {
cd $pkgname-$pkgver
DESTDIR=$pkgdir samu -C build install
}
package_dev() {
cd $pkgname-$pkgver
DESTDIR=$pkgdir samu -C build install
}
license() {
cat ../COPYING
}