aboutsummaryrefslogtreecommitdiffstats
path: root/testing/xsane/APKBUILD
blob: b93929b49888b24f4f17c2ebceadad8ed65382a7 (plain) (blame)
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
31
32
33
34
35
36
# Contributor: Patrycja Rosa <alpine@ptrcnull.me>
# Maintainer: Patrycja Rosa <alpine@ptrcnull.me>
pkgname=xsane
pkgver=0.999
pkgrel=0
pkgdesc="Graphical SANE frontend"
url="http://www.xsane.org/"
arch="all"
license="GPL-2.0-or-later"
makedepends="sane-dev libpng-dev gtk+2.0-dev"
subpackages="$pkgname-doc $pkgname-lang"
source="
	https://gitlab.com/sane-project/frontend/xsane/-/archive/$pkgver/xsane-$pkgver.tar.gz
	0001-libpng15.patch
"
options="!check" # no test suite provided

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var
	make
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="
7f993dc941ea5347e94ed84021de5fce32af924a10e749f517aae45b5e9623127967ad4b8bbd12d064601b9d6ea4142c5e3fe2410405b785bfb8508badeee6fe  xsane-0.999.tar.gz
e1a92665fddd744b18841b510155cd3369976f8738d2e644ce91b202b5e51d4d62e5d06fabebbad01d61b3e725f339885678d5126b3af01a834d50ecd8303e98  0001-libpng15.patch
"