-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPKGBUILD
More file actions
30 lines (25 loc) · 1.19 KB
/
PKGBUILD
File metadata and controls
30 lines (25 loc) · 1.19 KB
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
# Maintainer: txtdv <mveremeev25@gmail.com>
pkgname=cwatch
pkgver=0.7.0
pkgrel=1
<<<<<<< HEAD
pkgdesc="Similar to watch or hwatch, but supporting terminal formatting, making commands such as fastfetch properly work, along with actually proper colour support."
=======
pkgdesc="Continuously watch and display the output of a command, similar to watch or hwatch, but supporting terminal formatting, making commands such as fastfetch properly work, along with colours."
>>>>>>> origin/main
arch=('any')
url="https://www.github.com/textdev-0/cwatch"
license=('MIT')
# Dependencies: python for the interpreter, util-linux for the 'script' command
depends=('python' 'util-linux')
source=("${pkgname}.py")
sha256sums=('7e0daded6d89f97d3a528d1a241b341ffc3046ffc0f6edbd516cc4443ef9a3ea')
source+=("LICENSE")
sha256sums+=('d727d1ca3421c68d924a4c5729913cb8bf0361b7a8cf48fa6fa83053f11a6a5b')
package() {
# Install the script to /usr/bin/
# -D creates parent directories if they don't exist
# -m755 sets permissions to rwxr-xr-x (executable)
install -Dm755 "${srcdir}/${pkgname}.py" "${pkgdir}/usr/bin/${pkgname}"
install -Dm644 "${srcdir}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}