Package Details: xinput_calibrator-git 0.7.5-2

Git Clone URL: https://aur.archlinux.org/xinput_calibrator-git.git (read-only, click to copy)
Package Base: xinput_calibrator-git
Description: Generic touchscreen calibration program for X.Org
Upstream URL: http://www.freedesktop.org/wiki/Software/xinput_calibrator/
Licenses: MIT
Submitter: duttondj
Maintainer: duttondj
Last Packager: duttondj
Votes: 0
Popularity: 0.000000
First Submitted: 2015-11-16 23:23
Last Updated: 2015-11-22 06:49

Dependencies (0)

Required by (0)

Sources (1)

Latest Comments

Popolon commented on 2020-11-11 14:52

Please update the package as follow: pkgver should be set (add anything you want, it is overridden by the pkgver() function), and during packaging, -$pkgver should not be given, as this is a generic git copy, without version release:

diff --git a/PKGBUILD b/PKGBUILD
index 5fceda9..fbbb58d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,8 @@

 _pkgname=xinput_calibrator
 pkgname=${_pkgname}-git
-pkgrel=2
+pkgrel=1
+pkgver=v0.7.5.r88.g03dadf5
 pkgdesc="Generic touchscreen calibration program for X.Org"
 arch=('i686' 'x86_64')
 url="http://www.freedesktop.org/wiki/Software/xinput_calibrator/"
@@ -26,7 +27,7 @@ build() {
 }

 package() {
-    cd "$srcdir/$pkgname-$pkgver"
+    cd "$srcdir/${pkgname}"
     install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
     install -Dm644 scripts/xinput_calibrator.svg "$pkgdir/usr/local/share/pixmaps/xinput_calibrator.svg"
     install -Dm644 scripts/xinput_calibrator.xpm "$pkgdir/usr/local/share/pixmaps/xinput_calibrator.xpm"