diff options
-rw-r--r-- | .SRCINFO | 16 | ||||
-rw-r--r-- | PKGBUILD | 36 | ||||
-rw-r--r-- | libfiu-0.95.install | 7 | ||||
-rw-r--r-- | libfiu-0.95.patch | 18 |
4 files changed, 18 insertions, 59 deletions
@@ -1,21 +1,15 @@ -# Generated by mksrcinfo v8 -# Mon Sep 4 20:19:20 UTC 2017 pkgbase = libfiu pkgdesc = userspace fault injection framework - pkgver = 0.95 + pkgver = 1.00 pkgrel = 1 url = https://blitiri.com.ar/p/libfiu/ - install = libfiu-0.95.install arch = i686 arch = x86_64 license = custom - makedepends = make - makedepends = gcc - makedepends = python2 - source = https://blitiri.com.ar/p/libfiu/files/0.95/libfiu-0.95.tar.gz - source = libfiu-0.95.patch - md5sums = f420196aded3c7a60c8f92739fad54f0 - md5sums = 91b295e1fbf4bd0a2bf73bb97a6ed91b + makedepends = python + depends = sh + source = https://blitiri.com.ar/p/libfiu/files/1.00/libfiu-1.00.tar.gz + sha256sums = 0d9141d793154bb258be5eba0bba2303ee26d5abd92c3ee9baae7a6e03fdf3d3 pkgname = libfiu @@ -1,42 +1,32 @@ -# Contributor: Moritz Lipp <mlq@pwmt.org> +# Maintainer: Andrew Sun <adsun701 at gmail dot com> +# Contributor: Moritz Lipp <mlq at pwmt dot org> pkgname=libfiu -pkgver=0.95 +pkgver=1.00 pkgrel=1 pkgdesc="userspace fault injection framework" arch=('i686' 'x86_64') url="https://blitiri.com.ar/p/libfiu/" license=('custom') -depends=() -makedepends=('make' 'gcc' 'python2') -source=("https://blitiri.com.ar/p/$pkgname/files/$pkgver/$pkgname-$pkgver.tar.gz" - "$pkgname-$pkgver.patch") -md5sums=('f420196aded3c7a60c8f92739fad54f0' - '91b295e1fbf4bd0a2bf73bb97a6ed91b') -install=$pkgname-$pkgver.install - -prepare() { - cd $srcdir/$pkgname-$pkgver - - patch -p1 < $startdir/$pkgname-$pkgver.patch -} +depends=('sh') +makedepends=('python') +source=("https://blitiri.com.ar/p/${pkgname}/files/${pkgver}/${pkgname}-${pkgver}.tar.gz") +sha256sums=('0d9141d793154bb258be5eba0bba2303ee26d5abd92c3ee9baae7a6e03fdf3d3') build() { - cd $srcdir/$pkgname-$pkgver - - make PREFIX=$pkgdir/usr + cd "${srcdir}/${pkgname}-${pkgver}" + make PREFIX=${pkgdir}/usr } package() { - cd $srcdir/$pkgname-$pkgver - - make PREFIX=$pkgdir/usr install + cd "${srcdir}/${pkgname}-${pkgver}" + make PREFIX=${pkgdir}/usr install # Fix paths sed -e "s|${pkgdir}||g" \ -i $pkgdir/usr/lib/pkgconfig/libfiu.pc \ -i $pkgdir/usr/bin/fiu-run - # Install LICENSE - install -D -m664 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" + # License + install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" } diff --git a/libfiu-0.95.install b/libfiu-0.95.install deleted file mode 100644 index aff005189203..000000000000 --- a/libfiu-0.95.install +++ /dev/null @@ -1,7 +0,0 @@ -post_install() { - ldconfig -} - -post_upgrade() { - ldconfig -} diff --git a/libfiu-0.95.patch b/libfiu-0.95.patch deleted file mode 100644 index 4c0c7b1b79d0..000000000000 --- a/libfiu-0.95.patch +++ /dev/null @@ -1,18 +0,0 @@ -diff --git a/preload/posix/Makefile b/preload/posix/Makefile -index b269781..8cadde1 100644 ---- a/preload/posix/Makefile -+++ b/preload/posix/Makefile -@@ -28,11 +28,11 @@ OBJS = codegen.o $(GEN_OBJS) $(CUSTOM_OBJS) - - ifneq ($(V), 1) - NICE_CC = @echo " CC $@"; $(CC) -- NICE_GEN = @echo " GEN $@"; ./generate -+ NICE_GEN = @echo " GEN $@"; python2 ./generate - Q = @ - else - NICE_CC = $(CC) -- NICE_GEN = ./generate -+ NICE_GEN = python2 ./generate - Q = - endif - |