### this file is sourced not run
PKGVER=2016.01
PKGBUILD=1
PKGARCH=noarch

# source: james
TARBALL=pci.ids.gz
MD5SUM= # no point to check md5sum, this is a living document
SRC_URL=http://pci-ids.ucw.cz/v2.2/$TARBALL
BUNDLE=

DATA_DIR=/usr/share/misc/

SLACKREQ='' # 
SLACKDESC="pci-database: pci-database $PKGVER (PCI vendor database)  
pci-database:  
pci-database: This package contains pci.ids, a database that contains mappping 
pci-database: between PCI id number and their respective vendor names and 
pci-database: product model names. Useful for determining manufacturers of 
pci-database: your pci devices. 
pci-database: 
pci-database: 
pci-database: 
pci-database: 
pci-database: http://pci-ids.ucw.cz/
"

### default pkg_download
### default pkg_prepare
pkg_prepare() {
	! [ -e $SRC_DIR/$TARBALL ] && pkg_download_default $SRC_DIR $TARBALL $SRC_URL
	mkdir -p ./$PCI_DIR &&
	cp $SRC_DIR/$TARBALL ./$DATA_DIR
}

### default pkg_package
### build
pkg_build() {
	pkg_build_slackdesc
}
