summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorduttondj2015-11-22 01:49:21 -0500
committerduttondj2015-11-22 01:49:21 -0500
commitaff7cf9cdcfbda932973f84cca78b533493e3ec9 (patch)
treee0826bcb20c1c5b2eaa6c6398726837902587bce
parent5503089d5704dceb85bff1c3b5e92b779bbc449d (diff)
downloadaur-xinput_calibrator-git.tar.gz
Updated PKGBUILD to fix some issues where make install would try to install everything
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD14
2 files changed, 11 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index b2950ecfdeb..03ddd95e41d 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = xinput_calibrator-git
pkgdesc = Generic touchscreen calibration program for X.Org
pkgver = 0.7.5
- pkgrel = 1
+ pkgrel = 2
url = http://www.freedesktop.org/wiki/Software/xinput_calibrator/
arch = i686
arch = x86_64
diff --git a/PKGBUILD b/PKGBUILD
index 923e2ccff74..5fceda913d4 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
_pkgname=xinput_calibrator
pkgname=${_pkgname}-git
-pkgrel=1
+pkgrel=2
pkgdesc="Generic touchscreen calibration program for X.Org"
arch=('i686' 'x86_64')
url="http://www.freedesktop.org/wiki/Software/xinput_calibrator/"
@@ -26,7 +26,13 @@ build() {
}
package() {
- cd "$srcdir/${pkgname}"
- make DESTDIR="$pkgdir/" install
- install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
+ cd "$srcdir/$pkgname-$pkgver"
+ 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"
+ install -Dm644 scripts/xinput_calibrator.desktop "$pkgdir/usr/local/share/applications/xinput_calibrator.desktop"
+ install -Dm755 src/xinput_calibrator "$pkgdir/usr/local/bin/xinput_calibrator"
+ cd man
+ gzip xinput_calibrator.1
+ install -Dm644 xinput_calibrator.1.gz "$pkgdir/usr/share/man/man1/xinput_calibrator.1.gz"
}