aboutsummaryrefslogtreecommitdiffstats
path: root/testing/xsane/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'testing/xsane/APKBUILD')
-rw-r--r--testing/xsane/APKBUILD36
1 files changed, 36 insertions, 0 deletions
diff --git a/testing/xsane/APKBUILD b/testing/xsane/APKBUILD
new file mode 100644
index 0000000000..b93929b498
--- /dev/null
+++ b/testing/xsane/APKBUILD
@@ -0,0 +1,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
+"