lots of stuffs

This commit is contained in:
Ella-0 2021-01-17 19:15:45 +00:00
parent 9554174f21
commit 422942d6d7
19 changed files with 656 additions and 11 deletions

29
pkgs/libdrm/build.sh Normal file
View file

@ -0,0 +1,29 @@
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
}