summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMoritz Lipp2021-04-19 14:33:50 +0200
committerMoritz Lipp2021-04-19 14:33:50 +0200
commitff6062524521a6d0aa355f71c6da9edd6f5e3e2a (patch)
treeedd2a2592a994800edb7db5ff5973e0987c148b2
parentd12631feef0678acdd5d0892e3f5f4fa783bc9c1 (diff)
downloadaur-ff6062524521a6d0aa355f71c6da9edd6f5e3e2a.tar.gz
1.00
-rw-r--r--.SRCINFO9
-rw-r--r--PKGBUILD24
2 files changed, 11 insertions, 22 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 6157f04d68d..3fdb8781cd1 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,18 +1,15 @@
pkgbase = lib32-libfiu
pkgdesc = userspace fault injection framework
- pkgver = 0.94
+ pkgver = 1.00
pkgrel = 1
url = https://blitiri.com.ar/p/libfiu/
- install = lib32-libfiu-0.94.install
arch = x86_64
license = custom
makedepends = make
makedepends = gcc
depends = libfiu
- source = https://blitiri.com.ar/p/libfiu/files/0.94/libfiu-0.94.tar.gz
- source = lib32-libfiu-0.94.patch
- md5sums = b09c161c5a9c3bd888d600049549485d
- md5sums = 91b295e1fbf4bd0a2bf73bb97a6ed91b
+ source = https://blitiri.com.ar/p/libfiu/files/1.00/libfiu-1.00.tar.gz
+ sha256sums = 0d9141d793154bb258be5eba0bba2303ee26d5abd92c3ee9baae7a6e03fdf3d3
pkgname = lib32-libfiu
diff --git a/PKGBUILD b/PKGBUILD
index a1c99d03a48..e76359a3f0f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=lib32-libfiu
_pkgname=libfiu
-pkgver=0.94
+pkgver=1.00
pkgrel=1
pkgdesc="userspace fault injection framework"
arch=('x86_64')
@@ -10,17 +10,8 @@ url="https://blitiri.com.ar/p/libfiu/"
license=('custom')
depends=('libfiu')
makedepends=('make' 'gcc')
-source=("https://blitiri.com.ar/p/$_pkgname/files/$pkgver/$_pkgname-$pkgver.tar.gz"
- "$pkgname-$pkgver.patch")
-md5sums=('b09c161c5a9c3bd888d600049549485d'
- '91b295e1fbf4bd0a2bf73bb97a6ed91b')
-install=$pkgname-$pkgver.install
-
-prepare() {
- cd $srcdir/$_pkgname-$pkgver
-
- patch -p1 < $startdir/$pkgname-$pkgver.patch
-}
+source=("https://blitiri.com.ar/p/$_pkgname/files/$pkgver/$_pkgname-$pkgver.tar.gz")
+sha256sums=('0d9141d793154bb258be5eba0bba2303ee26d5abd92c3ee9baae7a6e03fdf3d3')
build() {
cd $srcdir/$_pkgname-$pkgver
@@ -33,15 +24,16 @@ package() {
cd $srcdir/$_pkgname-$pkgver
CFLAGS=-m32 LDFLAGS=-m32 \
- make PREFIX=$pkgdir/usr libfiu_install
+ make PREFIX=${pkgdir}/usr install
# Fix paths
- sed -e "s|${pkgdir}||g" -e "s|libdir\(.*\)lib|libdir\1lib32|g" -i $pkgdir/usr/lib/pkgconfig/libfiu.pc
+ sed -e "s|${pkgdir}||g" -e "s|libdir\(.*\)lib|libdir\1lib32|g" \
+ -i $pkgdir/usr/lib/pkgconfig/libfiu.pc
mv $pkgdir/usr/lib $pkgdir/usr/lib32
- # Cleanup
+ # Cleanup (satisfied by libfiu)
+ rm -r $pkgdir/usr/bin
rm -r $pkgdir/usr/include
- rm -r $pkgdir/usr/share/man
# Install LICENSE
install -D -m664 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"