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

# source: james
TARBALL=dislocker-fuse-${PKGVER}.tar.gz
MD5SUM=34567156a989b3246b3d925745e92136
SRC_URL=https://github.com/Aorimn/dislocker/archive/v${PKGVER}.tar.gz
BUNDLE=

SLACKREQ='libfuse' # mbedtls build-time only
SLACKDESC="dislocker-fuse: dislocker-fuse $PKGVER (Mount Bitlocker Volume)
dislocker-fuse: 
dislocker-fuse: This package enables you to read/write Bitlocker-encrypted volume.
dislocker-fuse: 
dislocker-fuse: https://github.com/Aorimn/dislocker
dislocker-fuse: 
dislocker-fuse: 
dislocker-fuse: 
dislocker-fuse: 
dislocker-fuse: 
dislocker-fuse:
" 


### default pkg_download
### default pkg_prepare
### default pkg_package
### build
pkg_build() {
	cd /tmp/dislocker* &&
	# kill ruby dependency
	sed -i -e '/find_package.*(Ruby)/d' src/CMakeLists.txt &&
	cmake . $CMAKEFLAGS &&
	make $MAKEFLAGS && make install &&
	pkg_build_slackdesc
}


