diff options
author | AwesomeHaircut | 2020-10-06 08:37:06 -0700 |
---|---|---|
committer | AwesomeHaircut | 2020-10-06 08:37:06 -0700 |
commit | f617b1adca522dfd16bd2ee60bc5c284ed5e4155 (patch) | |
tree | 6ebb37e805876cee6306c0268519c16c0029b7f3 | |
parent | 05c200cfb0b4bdea39f0cdb316ec54d465aa73ba (diff) | |
download | aur-f617b1adca522dfd16bd2ee60bc5c284ed5e4155.tar.gz |
updated
-rw-r--r-- | .SRCINFO | 20 | ||||
-rw-r--r-- | PKGBUILD | 39 |
2 files changed, 31 insertions, 28 deletions
@@ -1,15 +1,21 @@ pkgbase = touchegg pkgdesc = Multitouch gesture recognizer - pkgver = 1.1.1 - pkgrel = 3 - url = https://code.google.com/p/touchegg/ + pkgver = 2.0.1 + pkgrel = 1 + url = https://github.com/JoseExposito/touchegg/ arch = i686 arch = x86_64 license = GPL - depends = qt4 - depends = geis - source = https://github.com/JoseExposito/touchegg/archive/1.1.1.tar.gz - sha512sums = 99d934b1c5e161a19499ecce54ac3efd92b739937ff0844d68d0af73a4fcd4b6b2ab39e7e3780f6372486d6dd3433aec3e8e011e240df87ff42e912a4d50222f + makedepends = cmake + depends = libinput + depends = cairo + depends = systemd-libs + depends = libx11 + depends = libxrandr + depends = libxtst + depends = pugixml + source = touchegg-2.0.1.tar.gz::https://github.com/JoseExposito/touchegg//archive/2.0.1.tar.gz + sha512sums = SKIP pkgname = touchegg @@ -1,29 +1,26 @@ -# Maintainer: Xiao-Long Chen <chenxiaolong@cxl.epac.to> +# Maintainer: AwesomeHaircut <jesusbalbastro@gmail.com> pkgname=touchegg -pkgver=1.1.1 -pkgrel=3 +pkgver=2.0.1 +pkgrel=1 pkgdesc="Multitouch gesture recognizer" -arch=(i686 x86_64) -url="https://code.google.com/p/touchegg/" -license=(GPL) -depends=(qt4 geis) -source=("https://github.com/JoseExposito/${pkgname}/archive/${pkgver}.tar.gz") -sha512sums=('99d934b1c5e161a19499ecce54ac3efd92b739937ff0844d68d0af73a4fcd4b6b2ab39e7e3780f6372486d6dd3433aec3e8e011e240df87ff42e912a4d50222f') - +arch=('i686' 'x86_64') +url="https://github.com/JoseExposito/touchegg/" +license=('GPL') +depends=('libinput' 'cairo' 'systemd-libs' 'libx11' 'libxrandr' 'libxtst' 'pugixml') +makedepends=('cmake') +source=("$pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz") +sha512sums=(SKIP) build() { - cd "$srcdir/${pkgname}-${pkgver}/touchegg" - qmake-qt4 - make - - cd "$srcdir/${pkgname}-${pkgver}/touchegg-gui" - qmake-qt4 - make + cmake -B build -S "$pkgname-$pkgver" \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -Wno-dev + make -j$(nproc) -c build } package() { - cd "$srcdir/${pkgname}-${pkgver}/touchegg" - make INSTALL_ROOT="${pkgdir}" install - cd "$srcdir/${pkgname}-${pkgver}/touchegg-gui" - make INSTALL_ROOT="${pkgdir}" install + + make -C build DESTDIR="$pkgdir" install + + [ -d "$pkgdir/lib" ] && mv "$pkgdir/lib" "$pkgdir/usr/lib" } |