APKBUILD 1.18 KB
Newer Older
A. Wilcox's avatar
A. Wilcox committed
1
2
3
4
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=xsane
pkgver=0.999
5
pkgrel=2
A. Wilcox's avatar
A. Wilcox committed
6
pkgdesc="Graphical scanning software"
7
url=" "
A. Wilcox's avatar
A. Wilcox committed
8
9
10
11
arch="all"
options="!check"  # No test suite.
license="GPL-2.0+"
depends=""
12
13
makedepends="gtk+2.0-dev lcms2-dev libjpeg-turbo-dev libpng-dev sane-dev
	tiff-dev"
A. Wilcox's avatar
A. Wilcox committed
14
subpackages="$pkgname-doc $pkgname-lang"
15
source="http://distfiles.gentoo.org/distfiles/xsane-$pkgver.tar.gz
16
17
18
	xsane-0.999-lcms2.patch
	xsane-0.999-libpng16.patch
	"
A. Wilcox's avatar
A. Wilcox committed
19
20

build() {
21
	LIBS="-lintl" ./configure \
A. Wilcox's avatar
A. Wilcox committed
22
23
24
25
26
27
28
29
30
31
32
33
34
35
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var
	make
}

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

sha512sums="73ec961fce1a86b5d6f5bac0995d222785eb4b077dc8e72492b092d2bf4500455426e80e4d27233721cd38ec84f77fb9f92190a6afe45bdaf7ffd1ee50b431ed  xsane-0.999.tar.gz
36
4734fd4599e2fed7b86a94836a40725fafb70e9252885faf092495fabfbaa02a7c245b3cacea19e5e1c455a3a74b475ad8cb215fbba3fa64bc066068abddbb29  xsane-0.999-lcms2.patch
A. Wilcox's avatar
A. Wilcox committed
37
6b271360b9cb7e2db165fbd67eed95fdfa9a2e52d61ce54679f5a6a0bdc6cee79be3224063da22907f6eaa6e6645d321ccddd9b37484156ba55aef8977e25738  xsane-0.999-libpng16.patch"