aboutsummaryrefslogtreecommitdiffstats
path: root/main/feh
diff options
context:
space:
mode:
authorprspkt <prspkt@protonmail.com>2018-04-20 07:31:11 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2018-04-23 19:08:48 +0000
commit2b52e7f75fd86ae76ea7303f901c685a1ed4ffcf (patch)
treedff40cfa5efee3ff51c48ca1eafaaa40e2cfccb4 /main/feh
parent0d0e0ab6ee34895c9f2640d399e5ea10b4ddd6c4 (diff)
downloadaports-2b52e7f75fd86ae76ea7303f901c685a1ed4ffcf.tar.bz2
aports-2b52e7f75fd86ae76ea7303f901c685a1ed4ffcf.tar.xz
main/feh: clarify license, improve abuild
Diffstat (limited to 'main/feh')
-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"