blob: a6c433e478665f277f9f22aa88cd8f383e601409 (
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
# Maintainer: Frederik “Freso” S. Olesen <archlinux@freso.dk>
_pkgname=AHK_X11
pkgname="${_pkgname,,}"
pkgver=1.0.4
pkgrel=1
pkgdesc='AutoHotkey for Linux (X11-based systems)'
arch=('x86_64' 'x86_64_v3')
url="https://github.com/phil294/$_pkgname"
license=('GPL-2.0-or-later')
depends=(
gtk3
libnotify
libxkbcommon
libxinerama
libxtst
gc
)
makedepends=(
crystal
shards
gcc
)
_xdotool_commit='7b63eb46631815fd4a10e1fd78a37213250d1193'
source=("$_pkgname-$pkgver.tar.gz::${url}/archive/refs/tags/${pkgver}.tar.gz"
"$_pkgname-$pkgver-xdotool-${_xdotool_commit}.tar.gz::https://github.com/jordansissel/xdotool/archive/${_xdotool_commit}.tar.gz")
sha256sums=('9bf8f8d5e114550f699d75a5ed05befcacc3463618ff0d75ef5721a4824cd4e8'
'0315b2d13a39c0c203e6685bb359006f74386f54ccda9e7b24ac2a7131d77827')
prepare() {
cd "${_pkgname}-${pkgver}"
mv --no-target-directory "${srcdir}/xdotool-${_xdotool_commit}" ./xdotool
}
build() {
cd "${_pkgname}-${pkgver}"
# Don’t pollute $HOME
export SHARDS_CACHE_PATH="$srcdir/.cache/shards"
make bin/ahk_x11
}
#check() {
# cd "${_pkgname}-${pkgver}"
# make test-dev
#}
package() {
cd "${_pkgname}-${pkgver}"
DESTDIR="$pkgdir" make install
}
|