-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPKGBUILD
More file actions
21 lines (20 loc) · 761 Bytes
/
Copy pathPKGBUILD
File metadata and controls
21 lines (20 loc) · 761 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Maintainer: Your Name <your@email.com>
pkgname=pyfetch
pkgver=1.0.0
pkgrel=1
pkgdesc="A FastFetch-like system information tool written in Python with customizable ASCII art"
arch=('any')
url="https://github.com/binarylinuxx/pyfetch"
license=('GPL3')
depends=('python' 'python-psutil' 'python-colorama')
makedepends=('git')
source=("git+$url.git")
sha256sums=('SKIP')
package() {
cd "$srcdir/$pkgname"
install -Dm755 pyfetch "$pkgdir/usr/bin/pyfetch"
install -Dm644 config.ini "$pkgdir/etc/pyfetch/config.ini"
install -Dm644 config.ini "$pkgdir/usr/share/doc/pyfetch/config.ini.example"
install -dm755 "$pkgdir/usr/share/licenses/$pkgname"
echo "Place your custom config in ~/.config/pyfetch/config.ini" > "$pkgdir/usr/share/doc/pyfetch/README"
}