summaryrefslogtreecommitdiff
path: root/libfaketime/Pkgfile
diff options
context:
space:
mode:
authorDanny Rawlins <monster.romster@gmail.com>2019-12-30 14:25:29 +1100
committerDanny Rawlins <monster.romster@gmail.com>2019-12-30 14:25:29 +1100
commitc8f7cf8f5a08f5609ad8ce3a9f35fa907371a88b (patch)
tree329817c90804f5e87d7b5ab2f52feeeeee9ec261 /libfaketime/Pkgfile
parentfb3542a5d49060d6c896184eac6a665a28018e92 (diff)
downloadcontrib-c8f7cf8f5a08f5609ad8ce3a9f35fa907371a88b.tar.gz
contrib-c8f7cf8f5a08f5609ad8ce3a9f35fa907371a88b.tar.xz
libfaketime: 0.9.1 -> 0.9.8
Diffstat (limited to 'libfaketime/Pkgfile')
-rw-r--r--libfaketime/Pkgfile13
1 files changed, 4 insertions, 9 deletions
diff --git a/libfaketime/Pkgfile b/libfaketime/Pkgfile
index 11e505cbe..5fd71c70e 100644
--- a/libfaketime/Pkgfile
+++ b/libfaketime/Pkgfile
@@ -1,22 +1,17 @@
# Description: Fake time preload library, report faked system time to programs without having to change the system-wide time.
-# URL: http://www.code-wizards.com/projects/libfaketime/index.html
+# URL: https://github.com/wolfcw/libfaketime
# Maintainer: Danny Rawlins, crux at romster dot me
-# Packager: Danny Rawlins, crux at romster dot me
name=libfaketime
-version=0.9.1
+version=0.9.8
release=1
-source=(http://www.code-wizards.com/projects/libfaketime/libfaketime-$version.tar.gz)
+source=(https://github.com/wolfcw/$name/archive/v$version/$name-v$version.tar.gz)
build() {
cd libfaketime-$version
- sed -i -e 's|/share/man/|/man/|g' man/Makefile
- sed -i -e 's|/lib/faketime/|/lib/|g' src/Makefile
-
make PREFIX=/usr
make PREFIX=/usr DESTDIR=$PKG install
- ln -sf libfaketime.so.1 $PKG/usr/lib/libfaketime.so
- ln -sf libfaketimeMT.so.1 $PKG/usr/lib/libfaketimeMT.so
+ rm -r $PKG/usr/share/doc
}

Generated by cgit