summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorduttondj2015-11-22 01:41:58 -0500
committerduttondj2015-11-22 01:41:58 -0500
commite3151d6aeea345f8690e59479941f014b451361c (patch)
tree8ef63eb0c954a24e96c0a0e76acbf0c0652b5a04
parent3ed6454bd4dbd6942aedcca5c3243713a749cf29 (diff)
downloadaur-e3151d6aeea345f8690e59479941f014b451361c.tar.gz
Updated PKGBUILD to exclude the `make install` and instead install files manually, new pkgrel number
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD16
2 files changed, 14 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index ef60dc42ac0..7b59dd2fb29 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = xinput_calibrator
pkgdesc = Generic touchscreen calibration program for X.Org
pkgver = 0.7.5
- pkgrel = 2
+ pkgrel = 3
url = http://www.freedesktop.org/wiki/Software/xinput_calibrator/
arch = i686
arch = x86_64
diff --git a/PKGBUILD b/PKGBUILD
index 53db22fb29d..f99ae23f0d2 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,18 +2,28 @@
pkgname=xinput_calibrator
pkgver=0.7.5
-pkgrel=2
+pkgrel=3
pkgdesc="Generic touchscreen calibration program for X.Org"
arch=('i686' 'x86_64')
url="http://www.freedesktop.org/wiki/Software/xinput_calibrator/"
license=('MIT')
source=("http://github.com/downloads/tias/${pkgname}/${pkgname}-${pkgver}.tar.gz")
-package() {
+build() {
cd "$srcdir/$pkgname-$pkgver"
./autogen.sh --with-gui=x11
make
- make DESTDIR="$pkgdir" install
+}
+
+package() {
+ 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"
}
md5sums=('20da0a2055a5a75962add8c6b44f60fa')