[arch-commits] Commit in sane-airscan/repos (extra-x86_64 extra-x86_64/PKGBUILD)

Andreas Radke andyrtr at archlinux.org
Sun Jul 12 10:06:44 UTC 2020


    Date: Sunday, July 12, 2020 @ 10:06:44
  Author: andyrtr
Revision: 391743

archrelease: copy trunk to extra-x86_64

Added:
  sane-airscan/repos/extra-x86_64/
  sane-airscan/repos/extra-x86_64/PKGBUILD
    (from rev 391742, sane-airscan/trunk/PKGBUILD)

----------+
 PKGBUILD |   36 ++++++++++++++++++++++++++++++++++++
 1 file changed, 36 insertions(+)

Copied: sane-airscan/repos/extra-x86_64/PKGBUILD (from rev 391742, sane-airscan/trunk/PKGBUILD)
===================================================================
--- extra-x86_64/PKGBUILD	                        (rev 0)
+++ extra-x86_64/PKGBUILD	2020-07-12 10:06:44 UTC (rev 391743)
@@ -0,0 +1,36 @@
+# Maintainer: Andreas Radke <andyrtr at archlinux.org>
+# Contributor: Thomas Kiss <thokis at gmail.com>
+
+pkgname=sane-airscan
+pkgver=0.99.9
+pkgrel=1
+pkgdesc="SANE - SANE backend for AirScan (eSCL) and WSD document scanners"
+url="https://github.com/alexpevzner/sane-airscan"
+arch=('x86_64')
+license=('GPL2')
+depends=('sane' 'libsoup')
+#makedepends=('meson')
+source=("$pkgname-$pkgver.tar.gz"::"https://github.com/alexpevzner/${pkgname}/archive/${pkgver}.tar.gz")
+sha256sums=('2773a18007eb7b191fe02b30a82a20cf196f567fb32d4601a007f48ee6f34e21')
+
+# https://github.com/alexpevzner/sane-airscan/issues/53
+
+build() {
+#    arch-meson $pkgname-$pkgver build
+#    ninja -C build
+
+    cd ${pkgname}-${pkgver}
+    make
+}
+
+package() {
+#    DESTDIR="${pkgdir}" ninja -C build install
+#    install -Dm644 ${pkgname}-${pkgver}/README.md "${pkgdir}/usr/share/doc/${pkgname}/README"
+
+    cd ${pkgname}-${pkgver}
+    make DESTDIR="${pkgdir}" install
+    install -Dm644 README.md "${pkgdir}/usr/share/doc/${pkgname}/README"
+    # add missing .so symlink
+    cd "${pkgdir}"/usr/lib/sane
+    ln -vsf libsane-airscan.so.1 libsane-airscan.so
+}


More information about the arch-commits mailing list