summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: ca8eca82586380c2103aea62cb83bf3939be9fbc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Maintainer: robiot <me@robiot.dev>

pkgname=xclicker
pkgver=1.5.1
pkgrel=1
pkgdesc='A blazing fast gui autoclicker for linux'
arch=('x86_64' 'aarch64')
url='https://github.com/robiot/xclicker'
license=('GPL-3.0')
makedepends=('meson' 'libx11' 'libxi' 'libxtst' 'pkgconf')
depends=('gtk3')
sha512sums=('SKIP')
source=("${url}/archive/refs/tags/v${pkgver}.tar.gz")

build() {
  cd $pkgname-$pkgver

  make release
}

package() {
  cd $pkgname-$pkgver

  install -Dm 644 assets/icon.png ${pkgdir}/usr/share/icons/hicolor/256x256/apps/${pkgname}.png
  install -Dm 755 build/release/src/${pkgname} ${pkgdir}/usr/bin/${pkgname}
  install -Dm 755 assets/xclicker.desktop ${pkgdir}/usr/share/applications/xclicker.desktop
}