summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Thurstenson2016-09-21 19:16:33 -0500
committerDavid Thurstenson2016-09-21 19:16:33 -0500
commit05c200cfb0b4bdea39f0cdb316ec54d465aa73ba (patch)
tree81f273278bd911e4290e49c28d9147b24fffe16a
parentb05bc8188feca619320cb1e2b85dc48038f9b49c (diff)
downloadaur-05c200cfb0b4bdea39f0cdb316ec54d465aa73ba.tar.gz
Use Github upstream. Properly build bundled GUI.
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD19
2 files changed, 13 insertions, 12 deletions
diff --git a/.SRCINFO b/.SRCINFO
index ef036cd4d48..31943c00226 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,5 +1,3 @@
-# Generated by makepkg 4.2.0
-# Thu Jan 1 01:23:31 UTC 2015
pkgbase = touchegg
pkgdesc = Multitouch gesture recognizer
pkgver = 1.1.1
@@ -10,8 +8,8 @@ pkgbase = touchegg
license = GPL
depends = qt4
depends = geis
- source = http://touchegg.googlecode.com/files/touchegg-1.1.1.tar.gz
- sha512sums = 9a7e89946f2c5fc9be9eff0fef3d79151a6fbc89dbb964bf52f8a67123cecd2549723f8f90e1c06c1a1cb3bfd76551524d812d00317945466091538563072551
+ source = https://github.com/JoseExposito/touchegg/archive/1.1.1.tar.gz
+ sha512sums = 99d934b1c5e161a19499ecce54ac3efd92b739937ff0844d68d0af73a4fcd4b6b2ab39e7e3780f6372486d6dd3433aec3e8e011e240df87ff42e912a4d50222f
pkgname = touchegg
diff --git a/PKGBUILD b/PKGBUILD
index 18529845ebc..e488718bb39 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -8,19 +8,22 @@ arch=(i686 x86_64)
url="https://code.google.com/p/touchegg/"
license=(GPL)
depends=(qt4 geis)
-source=("http://${pkgname}.googlecode.com/files/${pkgname}-${pkgver}.tar.gz")
-sha512sums=('9a7e89946f2c5fc9be9eff0fef3d79151a6fbc89dbb964bf52f8a67123cecd2549723f8f90e1c06c1a1cb3bfd76551524d812d00317945466091538563072551')
+source=("https://github.com/JoseExposito/${pkgname}/archive/${pkgver}.tar.gz")
+sha512sums=('99d934b1c5e161a19499ecce54ac3efd92b739937ff0844d68d0af73a4fcd4b6b2ab39e7e3780f6372486d6dd3433aec3e8e011e240df87ff42e912a4d50222f')
build() {
- cd "${pkgname}-${pkgver}"
-
- # Cannot build with default compiler/linker flags
- unset CXXFLAGS CFLAGS LDFLAGS
+ cd "$srcdir/${pkgname}-${pkgver}/touchegg"
+ qmake-qt4
+ make
+
+ cd "$srcdir/${pkgname}-${pkgver}/touchegg-gui"
qmake-qt4
- make -j1
+ make
}
package() {
- cd "${pkgname}-${pkgver}"
+ cd "$srcdir/${pkgname}-${pkgver}/touchegg"
+ make INSTALL_ROOT="${pkgdir}" install
+ cd "$srcdir/${pkgname}-${pkgver}/touchegg-gui"
make INSTALL_ROOT="${pkgdir}" install
}