[arch-commits] Commit in libinsane (3 files)
Balló György
bgyorgy at archlinux.org
Thu Aug 29 16:23:39 UTC 2019
Date: Thursday, August 29, 2019 @ 16:23:39
Author: bgyorgy
Revision: 504973
archrelease: copy trunk to community-x86_64
Added:
libinsane/repos/
libinsane/repos/community-x86_64/
libinsane/repos/community-x86_64/PKGBUILD
(from rev 504972, libinsane/trunk/PKGBUILD)
----------+
PKGBUILD | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)
Copied: libinsane/repos/community-x86_64/PKGBUILD (from rev 504972, libinsane/trunk/PKGBUILD)
===================================================================
--- repos/community-x86_64/PKGBUILD (rev 0)
+++ repos/community-x86_64/PKGBUILD 2019-08-29 16:23:39 UTC (rev 504973)
@@ -0,0 +1,33 @@
+# Maintainer: Balló György <ballogyor+arch at gmail dot com>
+
+pkgname=libinsane
+pkgver=1.0.1
+pkgrel=1
+pkgdesc="Library to access scanners"
+arch=(x86_64)
+url="https://gitlab.gnome.org/World/OpenPaperwork/libinsane"
+license=(LGPL3)
+depends=(sane)
+makedepends=(git gobject-introspection meson vala)
+checkdepends=(cunit)
+_commit=586e4e20eed1f53608ac2ce7da4358f9bb444481 # tags/1.0.1^0
+source=("git+https://gitlab.gnome.org/World/OpenPaperwork/libinsane.git#commit=$_commit")
+md5sums=('SKIP')
+
+pkgver() {
+ cd $pkgname
+ git describe --tags | sed 's/-/+/g'
+}
+
+build() {
+ arch-meson $pkgname build
+ ninja -C build
+}
+
+check() {
+ meson test -C build --print-errorlogs
+}
+
+package() {
+ DESTDIR="$pkgdir" meson install -C build
+}
More information about the arch-commits
mailing list