blob: b214e2495411cf69a7e5c7eb76717444a82eaa40 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=feh
pkgver=3.1.2
pkgrel=0
pkgdesc="Fast, lightweight image viewer which uses imlib2"
url="https://feh.finalrewind.org"
arch="all"
license="MIT-feh"
subpackages="$pkgname-doc"
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
build() {
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 \
install
}
sha512sums="a81ee5d8d0ac3ce13cfc5af6e1f5854235755ea54dd92a1019ff206617f1c46196a5e3a0794bbc886e89854b221f99b6e3fe387fa7d50bb0cbc3a2d9e834bbbc feh-3.1.2.tar.bz2"
|