summaryrefslogtreecommitdiff
path: root/user/feh/APKBUILD
diff options
context:
space:
mode:
authorMax Rees <maxcrees@me.com>2020-06-20 02:27:44 +0000
committerMax Rees <maxcrees@me.com>2020-06-20 02:27:44 +0000
commit561fb3e9d0b5b889501bc8893179add2d2afc882 (patch)
tree235b19f8010f25c39ed2b36ad4ba7586f636c7e0 /user/feh/APKBUILD
parent771eea718234d38361c22a3e26ff43810667f2e3 (diff)
downloadpackages-561fb3e9d0b5b889501bc8893179add2d2afc882.tar.gz
packages-561fb3e9d0b5b889501bc8893179add2d2afc882.tar.bz2
packages-561fb3e9d0b5b889501bc8893179add2d2afc882.tar.xz
packages-561fb3e9d0b5b889501bc8893179add2d2afc882.zip
user/feh: use libc getopt_long, not bundled one
Diffstat (limited to 'user/feh/APKBUILD')
-rw-r--r--user/feh/APKBUILD12
1 files changed, 10 insertions, 2 deletions
diff --git a/user/feh/APKBUILD b/user/feh/APKBUILD
index ecab6a37b..b95aaf01d 100644
--- a/user/feh/APKBUILD
+++ b/user/feh/APKBUILD
@@ -12,7 +12,14 @@ checkdepends="perl-test-command"
makedepends="curl-dev imlib2-dev libexif-dev libjpeg-turbo-dev libpng-dev
libxinerama-dev libxt-dev"
subpackages="$pkgname-doc"
-source="https://feh.finalrewind.org/$pkgname-$pkgver.tar.bz2"
+source="https://feh.finalrewind.org/$pkgname-$pkgver.tar.bz2
+ getopt.patch
+ "
+
+prepare() {
+ default_prepare
+ rm src/getopt.c src/getopt1.c src/getopt.h
+}
build() {
make PREFIX=/usr curl=1 exif=1 xinerama=1
@@ -31,4 +38,5 @@ package() {
install
}
-sha512sums="d674d3134819cf6731aebf8af87a2f890d54dd7f8c64071e8816a032aeeb95c31f56752bb3477be0dfb653f813872b32dc2daf4e0514fed03e3f6bba36896c66 feh-3.4.1.tar.bz2"
+sha512sums="d674d3134819cf6731aebf8af87a2f890d54dd7f8c64071e8816a032aeeb95c31f56752bb3477be0dfb653f813872b32dc2daf4e0514fed03e3f6bba36896c66 feh-3.4.1.tar.bz2
+cf02fbfcb1fd4f4e5cf899f7f94fd42521dbe8f1b805268eae5ae6222b85884c31abc3346a95ed46dfece7b89b445018e159ff8a42b799b3db18275e29eba1e3 getopt.patch"