diff options
author | pobrn | 2020-09-28 20:09:49 +0200 |
---|---|---|
committer | pobrn | 2020-09-28 20:09:49 +0200 |
commit | a190f9f16ebb99b9c00f62d04b9a65d8b9463bae (patch) | |
tree | 4df668d0b6d19a660866b5a558dd6952d0a8be37 /PKGBUILD | |
parent | eb650c5493ca6a0b8d908db06fad2d65f65d2594 (diff) | |
download | aur-a190f9f16ebb99b9c00f62d04b9a65d8b9463bae.tar.gz |
update build() add .install
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 12 |
1 files changed, 5 insertions, 7 deletions
@@ -6,11 +6,12 @@ _pkgname=touchegg pkgname=${_pkgname}-git pkgver=r322.a82d299 -pkgrel=1 +pkgrel=2 pkgdesc='Linux multi-touch gesture recognizer' arch=('x86_64') url='https://github.com/JoseExposito/touchegg' license=('GPL3') +install="${_pkgname}.install" source=("${_pkgname}::git://github.com/JoseExposito/touchegg.git" 'filesystem.h') depends=('libinput' 'cairo' 'systemd-libs' 'libx11' 'libxrandr' 'libxtst' 'pugixml') makedepends=('git' 'cmake') @@ -25,17 +26,14 @@ pkgver() { build() { cp "$srcdir/filesystem.h" "$srcdir/${_pkgname}/src/utils/filesystem.h" - cd "$srcdir/${_pkgname}" - mkdir build - cd build - cmake -DCMAKE_BUILD_TYPE=Release .. - make -j$(nproc) + cmake -B build -S "${_pkgname}" -DCMAKE_BUILD_TYPE=Release .. + make -C build -j$(nproc) } package() { #cd "$srcdir/${_pkgname}/build" #DESTDIR="$pkgdir" make install - install -D "$srcdir/${_pkgname}/build/touchegg" "$pkgdir/usr/bin/touchegg" + install -D "$srcdir/build/touchegg" "$pkgdir/usr/bin/touchegg" install -Dm 0644 "$srcdir/${_pkgname}/installation/touchegg.conf" "$pkgdir/usr/share/touchegg/touchegg.conf" install -Dm 0644 "$srcdir/${_pkgname}/installation/touchegg.service" "$pkgdir/usr/lib/systemd/system/touchegg.service" } |