diff options
Diffstat (limited to 'user/xsane/APKBUILD')
-rw-r--r-- | user/xsane/APKBUILD | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/user/xsane/APKBUILD b/user/xsane/APKBUILD new file mode 100644 index 000000000..aa18627a5 --- /dev/null +++ b/user/xsane/APKBUILD @@ -0,0 +1,37 @@ +# Contributor: A. Wilcox <awilfox@adelielinux.org> +# Maintainer: A. Wilcox <awilfox@adelielinux.org> +pkgname=xsane +pkgver=0.999 +pkgrel=0 +pkgdesc="Graphical scanning software" +url="http://xsane.org/" +arch="all" +options="!check" # No test suite. +license="GPL-2.0+" +depends="" +makedepends="gettext-dev gtk+2.0-dev lcms-dev libjpeg-turbo-dev libpng-dev + sane-dev tiff-dev" +subpackages="$pkgname-doc $pkgname-lang" +source="http://www.xsane.org/download/xsane-$pkgver.tar.gz + xsane-0.999-libpng16.patch" +builddir="$srcdir/xsane-$pkgver" + +build() { + cd "$builddir" + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --localstatedir=/var + make +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install +} + +sha512sums="73ec961fce1a86b5d6f5bac0995d222785eb4b077dc8e72492b092d2bf4500455426e80e4d27233721cd38ec84f77fb9f92190a6afe45bdaf7ffd1ee50b431ed xsane-0.999.tar.gz +6b271360b9cb7e2db165fbd67eed95fdfa9a2e52d61ce54679f5a6a0bdc6cee79be3224063da22907f6eaa6e6645d321ccddd9b37484156ba55aef8977e25738 xsane-0.999-libpng16.patch" |