blob: cc1872b2259886d175da0e2416d6bb9c0964934e (
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
|
# Common information
maintainer="Evilur <andrewflame@mail.ru>"
pkgname=universal-pause
pkgver=2.0
pkgrel=1
arch=('x86_64')
license=('MIT')
url="https://github.com/Evilur/UniversalPause"
pkgdesc="Universal pause for Linux games. Allows you to pause non-pausable cutscenes and games"
# Dependencies
depends=('xdotool' 'util-linux' 'procps-ng' 'coreutils')
makedepends=('make')
optdepends=('sox: for playing sounds')
# Source
source=("https://github.com/Evilur/UniversalPause/releases/download/v$pkgver/$pkgname.tar.gz")
md5sums=('e8d9581205c48a44c528a43f5939bd5c')
sha256sums=('455a145b669b5ca7661536a77be222f2a6f0f78e9d4e384ab001ae7b3fa63f9a')
sha512sums=('b2d12c91c5f46ef78da2a312eff551b494585017bbb168fbcf079e9f3cf9c9df05667bbeed71a3c4d916388527df13de0d358a3aac4d94f001a5ca184fa5749a')
# Package
package() {
# Go to the source dir
cd $srcdir
# Init target directories
target=$pkgdir/usr/share/UniversalPause
target_bin=$pkgdir/usr/bin
# Create target directories
mkdir --parent $target
mkdir --parent $target_bin
# Install the program to the target directories
make TARGET=$target TARGET_BIN=$target_bin clean install
}
|