#!/bin/bash # # Maintainer: Deposite Pirate source /usr/src/ports/Build/build.sh NAME=usb MAJOR=1.0 VERSION=${MAJOR}.15 BUILD=2 # Description cat > ${PKG}/install/slack-desc < ${PKG}${SYS_DIR[sbin]}/update-usbids chmod 0755 ${PKG}${SYS_DIR[sbin]}/update-usbids rm -rf \ ${PKG}${SYS_DIR[bin]}/lsusb.py } SRCNAME[3]=usbids SRCVERS[3]=$(date "+%Y%m%d") SRCPACK[3]=http://linux-usb.sourceforge.net/usb.ids SRCOPTS[3]="nosrcroot nounpack" build3() { install.dir ${PKG}${SYS_DIR[share]}/hwdata rm -f ${PKG}${SYS_DIR[share]}/hwdata/usb.ids install.dat ${CWD}/usb.ids ${PKG}${SYS_DIR[share]}/hwdata }