python-texttable: update to 1.3.1
[void-packages.git] / srcpkgs / shake / template
blobec9b731cacfcafe6521b600c17d5bde19b34e353
1 # Template file for 'shake'
2 pkgname=shake
3 version=1.0
4 revision=1
5 build_style=cmake
6 hostmakedepends="help2man"
7 makedepends="attr-devel"
8 short_desc="Defragmenter that runs in userspace while the system is used"
9 maintainer="Casper Ti. Vector <caspervector@gmail.com>"
10 license="GPL-3"
11 homepage="http://vleu.net/shake/"
12 distfiles="https://github.com/unbrice/$pkgname/archive/v$version.tar.gz"
13 checksum=ac5a57bd8d55e197734852bf66318ecf39b4c5c298e43a259ba1d8a4b7a2ced3
14 if [ "$XBPS_TARGET_MACHINE" = *-musl ]; then
15         broken="musl does not provide error.h required by this package"
18 if [ -n "$CROSS_BUILD" ]; then
19         hostmakedepends+=" shake"
20         post_extract() {
21                 sed -i -e 's;get_target_property (HELP2MAN_COMMAND ${command} LOCATION);set(HELP2MAN_COMMAND ${command});' \
22                         CMakeLists.txt
23         }
26 post_install() {
27         vdoc README.md