From 2b52e7f75fd86ae76ea7303f901c685a1ed4ffcf Mon Sep 17 00:00:00 2001 From: prspkt Date: Fri, 20 Apr 2018 07:31:11 +0000 Subject: main/feh: clarify license, improve abuild --- main/feh/APKBUILD | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'main/feh') 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" -- cgit v1.2.3