blob: a08e9504a3c106574e83538faaeaec39d9399afd (
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: Nicola Pagliuca <nicola.pagliuca at pm dot me>
# Co-Maintainer: Aethar <elliott.ashby88@gmail.com>
_basename='hyprfreeze'
pkgname="$_basename-git"
pkgver=1.1.1.r1.0ccbc63
pkgrel=2
pkgdesc="Utility to suspend a game process (and other programs) in Hyprland"
arch=('any')
url="https://github.com/Zerodya/hyprfreeze"
license=('GPL')
depends=('bash' 'hyprland' 'jq' 'hyprprop')
makedepends=('git')
provides=("$_basename")
conflicts=("$_basename")
source=("git+$url")
md5sums=('SKIP')
pkgver() {
cd "$_basename"
git describe --long --tags | sed -e 's/^v//' -e 's/-\([^-]*-g[^-]*\)$/-r\1/' -e 's/-/./g'
}
package() {
cd "$_basename"
install -Dm755 ./$_basename "$pkgdir/usr/bin/$_basename"
install -Dm644 ./LICENSE "$pkgdir/usr/share/licenses/$_basename/LICENSE"
}
|