summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew O'Neill2024-02-21 10:19:59 -0500
committerAndrew O'Neill2024-02-21 10:19:59 -0500
commit600e46d2cadfb4bdd07a9e96a0e59119d892e9bc (patch)
treeb4bdda47aef397f2d9b874cb02c08647b1ea1789
parentd783e69fe7a00377f9ea035c6b5956844790377a (diff)
downloadaur-600e46d2cadfb4bdd07a9e96a0e59119d892e9bc.tar.gz
Updated sha256 checksum and disabled avif & webp support due to broken lib builds
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD15
2 files changed, 14 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 2c77248ef45c..bd611aff5a28 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = fim
pkgdesc = FIM (Fbi IMproved) is a highly customizable and scriptable image viewer.
pkgver = 0.7
- pkgrel = 1
+ pkgrel = 2
url = https://www.nongnu.org/fbi-improved/
arch = i686
arch = x86_64
@@ -18,6 +18,6 @@ pkgbase = fim
optdepends = libtiff: TIFF support
optdepends = sdl: X support
source = http://download.savannah.gnu.org/releases/fbi-improved/fim-0.7-trunk.tar.gz
- sha256sums = fe9edb8de64ce3a0c9390f6c82d79b86436904f8f6449618ddd3178731e73668
+ sha256sums = f5b2442c67d0111bfefc06ee8a00c923fe9b992efd62b9c070e191f7d83c07ea
pkgname = fim
diff --git a/PKGBUILD b/PKGBUILD
index e63f611991de..144923a96207 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -7,7 +7,7 @@
pkgname=fim
_pkgver='trunk'
pkgver=0.7
-pkgrel=1
+pkgrel=2
pkgdesc='FIM (Fbi IMproved) is a highly customizable and scriptable image viewer.'
arch=('i686' 'x86_64')
url='https://www.nongnu.org/fbi-improved/'
@@ -23,12 +23,21 @@ optdepends=('aalib: ASCII art support'
'libtiff: TIFF support'
'sdl: X support')
source=("http://download.savannah.gnu.org/releases/fbi-improved/${pkgname}-${pkgver}-${_pkgver}.tar.gz")
-sha256sums=('fe9edb8de64ce3a0c9390f6c82d79b86436904f8f6449618ddd3178731e73668')
+sha256sums=('f5b2442c67d0111bfefc06ee8a00c923fe9b992efd62b9c070e191f7d83c07ea')
+
+prepare() {
+ cd "${pkgname}-${pkgver}-${_pkgver}"
+
+ sed -i 's/fim_handle_webp =no/fim_handle_webp=no/g' configure.ac
+ sed -i 's/fim_handle_webp =no/fim_handle_webp=no/g' configure
+}
build() {
cd "${pkgname}-${pkgver}-${_pkgver}"
- ./configure LIBS=-lpthread --prefix=/usr --disable-debug --enable-hardcoded-font
+ PKG_CONFIG=/usr/bin/pkg-config ./configure \
+ LIBS=-lpthread --prefix=/usr --disable-debug \
+ --enable-hardcoded-font --disable-avif --disable-webp
make
}