New package: shake-1.0
This commit is contained in:
parent
356e7fec8b
commit
aebc17ceb4
|
@ -0,0 +1,28 @@
|
|||
# Template file for 'shake'
|
||||
pkgname=shake
|
||||
version=1.0
|
||||
revision=1
|
||||
build_style=cmake
|
||||
hostmakedepends="help2man"
|
||||
makedepends="attr-devel"
|
||||
short_desc="Defragmenter that runs in userspace while the system is used"
|
||||
maintainer="Casper Ti. Vector <caspervector@gmail.com>"
|
||||
license="GPL-3"
|
||||
homepage="http://vleu.net/shake/"
|
||||
distfiles="https://github.com/unbrice/$pkgname/archive/v$version.tar.gz"
|
||||
checksum=ac5a57bd8d55e197734852bf66318ecf39b4c5c298e43a259ba1d8a4b7a2ced3
|
||||
if [ "$XBPS_TARGET_MACHINE" = *-musl ]; then
|
||||
broken="musl does not provide error.h required by this package"
|
||||
fi
|
||||
|
||||
if [ -n "$CROSS_BUILD" ]; then
|
||||
hostmakedepends+=" shake"
|
||||
post_extract() {
|
||||
sed -i -e 's;get_target_property (HELP2MAN_COMMAND ${command} LOCATION);set(HELP2MAN_COMMAND ${command});' \
|
||||
CMakeLists.txt
|
||||
}
|
||||
fi
|
||||
|
||||
post_install() {
|
||||
vdoc README.md
|
||||
}
|
Loading…
Reference in New Issue