### this file is sourced not run
PKGVER=0.4.23debian1
PKGBUILD=1
PKGARCH=x86_64

# source: james/debian
TARBALL=xresprobe_0.4.23debian1.orig.tar.gz
MD5SUM=53afc73b8b36676eeea4360c6481f9fb
#SRC_URL=http://ftp.de.debian.org/debian/pool/main/x/xresprobe/$TARBALL
SRC_URL=http://distro.ibiblio.org/fatdog/source/800/$TARBALL
BUNDLE=

SLACKREQ='' 
SLACKDESC='ddcprobe: ddcprobe 0.4.23debian1 (X resolution probe)  
ddcprobe:  
ddcprobe: This is a subset of xresprobe, and it only contains ddcprobe. 
ddcprobe: ddcprobe is a tool to get supported screen resolutions from 
ddcprobe: DDC-compliant monitors.  
ddcprobe: 
ddcprobe: 
ddcprobe: 
ddcprobe: 
ddcprobe: 
ddcprobe: 
'

### default pkg_download
### prepare
pkg_prepare() {
	pkg_prepare_default &&
	cd tmp/xresprobe* &&
	zcat $CHROOT_DIR/tmp/pkg/xresprobe_0.4.23debian1-1.diff.gz | patch -Np1
}

### default pkg_package
### build
pkg_build() {
	cd /tmp/xresprobe*
	make $MAKEFLAGS &&
	cp ddcprobe/ddcprobe /usr/bin && # just take ddcprobe, ignore the rest
	pkg_build_slackdesc
}


