# Contributor: Rasmus Thomsen # Maintainer: pkgname=libfaketime pkgver=0.9.10 pkgrel=3 pkgdesc="intercept system calls related to time and return user-defined values" options="!check" # https://github.com/wolfcw/libfaketime/issues/259 url="https://github.com/wolfcw/libfaketime" arch="all" makedepends="coreutils" license="GPL-2.0-or-later" subpackages="$pkgname-doc" source="$pkgname-$pkgver.tar.gz::https://github.com/wolfcw/libfaketime/archive/v$pkgver.tar.gz $pkgname-32-bit.patch::https://github.com/wolfcw/libfaketime/commit/ccc9992840598e149dd73d008501ff3887c484ec.patch no-werror.patch " build() { export CFLAGS="$CFLAGS -D_LARGEFILE64_SOURCE" make PREFIX=/usr } check() { make -j1 test } package() { make DESTDIR="$pkgdir" PREFIX="/usr" install } sha512sums=" 07c431bee21e31343b680d1322dd529ea276e3cc4dbec61646c12bf5d0263163faf6186efeb36b199e24b655578a493c43e3b7a7acf8eba8b9ff84a1e94d618b libfaketime-0.9.10.tar.gz b8fc9ca479d06b4af331834bac0b272abc8a05d1ca54ec87db83966151bc078cd9aeea116533d9e6657e3c54e6e9411d7c9c95cd6fcd09ac74fbcce20d90779a libfaketime-32-bit.patch 5202e13803734735f6e18a276a097bf6c28d773110f57e9a773174dd51df50c4eb5ca18e7db1b236283784bbe521aed32ee45bd706430f0d77d7eb16fa6291e5 no-werror.patch "