[arch-commits] Commit in libinsane/trunk (PKGBUILD)

Balló György bgyorgy at archlinux.org
Thu Jun 3 16:55:58 UTC 2021


    Date: Thursday, June 3, 2021 @ 16:55:57
  Author: bgyorgy
Revision: 955697

Minor changes

Modified:
  libinsane/trunk/PKGBUILD

----------+
 PKGBUILD |   28 +++++++++++-----------------
 1 file changed, 11 insertions(+), 17 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-06-03 16:50:49 UTC (rev 955696)
+++ PKGBUILD	2021-06-03 16:55:57 UTC (rev 955697)
@@ -3,25 +3,19 @@
 pkgname=libinsane
 pkgver=1.0.9
 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=a32ee03ca64f4069ffdb34e7e599f6e9f7aa3596
-source=("git+https://gitlab.gnome.org/World/OpenPaperwork/libinsane.git#commit=$_commit")
-md5sums=('SKIP')
+pkgdesc='Library to access scanners'
+arch=('x86_64')
+url='https://gitlab.gnome.org/World/OpenPaperwork/libinsane'
+license=('LGPL3')
+depends=('sane')
+makedepends=('gobject-introspection' 'meson' 'vala')
+checkdepends=('cunit')
+source=("https://gitlab.gnome.org/World/OpenPaperwork/$pkgname/-/archive/$pkgver/$pkgname-$pkgver.tar.gz")
+sha256sums=('cbc70ed0ebee92472f0d3655f8635e4a9c6ce3c57322fb1637fe732389937dc5')
 
-pkgver() {
-  cd $pkgname
-  git describe --tags | sed 's/-/+/g'
-}
-
 build() {
-  arch-meson $pkgname build
-  ninja -C build
+  arch-meson $pkgname-$pkgver build
+  meson compile -C build
 }
 
 check() {



More information about the arch-commits mailing list