#!/usr/bin/env beesh # BEE_VERSION pciutils-3.6.3.2020.02.12-0 SRCURL[0]="https://www.kernel.org/pub/software/utils/pciutils/pciutils-${PKGVERSION[3]}.tar.xz" # PATCHURL+=() # build_in_sourcedir # sourcesubdir_append src #mee_extract() { # bee_extract "${@}" #} mee_getsources_post() { fetch_one_file "http://pci-ids.ucw.cz/v2.2/pci.ids" } #mee_patch() { # bee_patch "${@}" #} #mee_configure() { # bee_configure #} mee_build() { bee_build \ SHAREDIR=${DATAROOTDIR}/hwdata \ SHARED=yes \ ZLIB=no } mee_install() { bee_install install-lib \ SHAREDIR=${DATAROOTDIR}/hwdata \ SHARED=yes } mee_install_post() { IDS=${D}${DATAROOTDIR}/hwdata/pci.ids cp -v ${F}/pci.ids ${IDS} grep Version: ${IDS} }