smlinux/xorg/libpciaccess/libpciaccess.SMBuild

34 lines
753 B
Text

# Maintainer: PktSurf <smlinux@pktsurf.in>
app=libpciaccess
version=0.18.1
build=1sml
homepage="https://xorg.freedesktop.org/"
download="https://xorg.freedesktop.org/releases/individual/lib/libpciaccess-$version.tar.gz"
desc="X11 PCI access library"
requires="musl xorg-macros"
prepbuilddir() {
mkandenterbuilddir
rm -rf $app-$version
tar xf $srcdir/$app-$version.tar.?z*
cd $app-$version
fixbuilddirpermissions
}
build() {
mkdir -p smbuild && cd smbuild
meson .. \
--prefix=/usr
ninja
DESTDIR=$pkg ninja install
cp ../COPYING $pkgdocs/
mkfinalpkg
}
sha512sums="
b84bc9045ddfdfcb8ad0b3fd710e211da40f0ffd17c41202ff6230e2b93e49efc5cb58cd0dc0320aef896f83c6c6b8367dce7b44f17fd79bc4233a1365216679 libpciaccess-0.16.tar.lz
"