### this file is sourced not run
PKGVER=0.1debian8
PKGBUILD=1
PKGARCH=x86_64

# source: james
TARBALL=libfakekey_0.1.orig.tar.gz
MD5SUM=a3ee973b8903ba78850f148147eccac0
SRC_URL=http://ftp.de.debian.org/debian/pool/main/libf/libfakekey/$TARBALL
BUNDLE=

SLACKREQ='libX11'
SLACKDESC='libfakekey: libfakekey 0.1debian8 (Fake X-keypress)  
libfakekey:  
libfakekey: libfakekey is a simple library for converting UTF-8 characters 
libfakekey: into "fake" X key-presses.  
libfakekey: 
libfakekey: 
libfakekey: 
libfakekey: 
libfakekey: 
libfakekey: 
libfakekey:
'

### default pkg_download
### prepare
pkg_prepare() {
	pkg_prepare_default &&
	cd tmp/*fake*
	tar -xf $CHROOT_DIR/tmp/pkg/libfakekey_0.1-8.debian.tar.gz
	for p in $(cat debian/patches/series); do
		patch -Np1 -i debian/patches/$p
	done
}

### default pkg_package
### build
pkg_build() {
	CONFFLAGS="$CONFFLAGS --disable-static"
	cd /tmp/*fake*
	autoreconf -fi &&
	
	pkg_build_autoconf && 
	pkg_build_slackdesc
}


