iglunix/pkgs/libdrm/build.sh
2021-01-17 19:15:45 +00:00

29 lines
463 B
Bash

pkgver=2.4.103
pkgname=libdrm
bad=""
ext="dev"
fetch() {
curl -L "https://dri.freedesktop.org/libdrm/libdrm-2.4.103.tar.xz" -o $pkgname-$pkgver.tar.gz
tar -xf $pkgname-$pkgver.tar.gz
}
build() {
cd $pkgname-$pkgver
meson build -Dintel=false --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
}