aboutsummaryrefslogtreecommitdiffstats
path: root/main/feh/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/feh/APKBUILD')
-rw-r--r--main/feh/APKBUILD14
1 files changed, 8 insertions, 6 deletions
diff --git a/main/feh/APKBUILD b/main/feh/APKBUILD
index 1bba4e931c..51df947c8d 100644
--- a/main/feh/APKBUILD
+++ b/main/feh/APKBUILD
@@ -5,25 +5,27 @@ pkgrel=0
pkgdesc="Fast, lightweight image viewer which uses imlib2"
url="https://feh.finalrewind.org"
arch="all"
-license="MIT"
+license="MIT-feh"
subpackages="$pkgname-doc"
-makedepends="libxt-dev libpng-dev giblib-dev imlib2-dev libjpeg-turbo-dev
- libxinerama-dev curl-dev"
+makedepends="curl-dev giblib-dev imlib2-dev libjpeg-turbo-dev libpng-dev
+ libxinerama-dev libxt-dev"
source="https://feh.finalrewind.org/$pkgname-$pkgver.tar.bz2"
-builddir="$srcdir/$pkgname-$pkgver"
+builddir="$srcdir"/$pkgname-$pkgver
build() {
- make PREFIX=/usr -C "$builddir"
+ cd "$builddir"
+ make PREFIX=/usr
}
package() {
+ cd "$builddir"
make PREFIX=/usr DESTDIR="$pkgdir" \
bin_dir="$pkgdir"/usr/bin \
man_dir="$pkgdir"/usr/share/man \
doc_dir="$pkgdir"/usr/share/doc/$pkgname \
example_dir="$pkgdir"/usr/share/doc/$pkgname/examples \
- -C "$builddir" install
+ install
}
sha512sums="4fe21f2292e7433a459e9df2b23725cd487be562190747f849efa0fa4bc72f034d70e9b8c26e3be65cc254a815f09ac313ff428e442aa230ceb94c4b6499d335 feh-2.26.tar.bz2"