summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorChocobo12017-09-15 01:54:07 +0800
committerChocobo12017-09-15 02:00:01 +0800
commit17edd1e892b72cbe2c7a70284e1353e8e4c4225d (patch)
tree9dd4187b7f86ba253fe85605e6c6cc0518f2b792
downloadaur-17edd1e892b72cbe2c7a70284e1353e8e4c4225d.tar.gz
newpkg: tslib-git 1.13.r0.g50196cb-1
-rw-r--r--.SRCINFO17
-rw-r--r--PKGBUILD36
2 files changed, 53 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..53889f2efa4
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,17 @@
+pkgbase = tslib-git
+ pkgdesc = C library for filtering touchscreen events
+ pkgver = 1.13.r0.g50196cb
+ pkgrel = 1
+ url = http://www.tslib.org/
+ arch = i686
+ arch = x86_64
+ license = LGPL
+ makedepends = git
+ depends = glibc
+ provides = tslib
+ conflicts = tslib
+ source = git+https://github.com/kergoth/tslib.git
+ sha256sums = SKIP
+
+pkgname = tslib-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..3e28cfcd133
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,36 @@
+# Maintainer: Chocobo1 <chocobo1 AT archlinux DOT net>
+
+pkgname=tslib-git
+pkgver=1.13.r0.g50196cb
+pkgrel=1
+pkgdesc="C library for filtering touchscreen events"
+arch=('i686' 'x86_64')
+url="http://www.tslib.org/"
+license=('LGPL')
+depends=('glibc')
+makedepends=('git')
+provides=('tslib')
+conflicts=('tslib')
+source=("git+https://github.com/kergoth/tslib.git")
+sha256sums=('SKIP')
+
+
+pkgver() {
+ cd "tslib"
+
+ git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
+}
+
+build() {
+ cd "tslib"
+
+ ./autogen.sh
+ ./configure --prefix="/usr" --sysconfdir="/etc"
+ make
+}
+
+package() {
+ cd "tslib"
+
+ make DESTDIR="$pkgdir" install
+}