summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: f50cc00c3b4726c24ce47fadc1d744293a5a90d2 (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
# Maintainer: xtexecute <none@none>

pkgname=fleshfetch
pkgver=1.2
pkgrel=1
pkgdesc="Very early development clicker game based on GTK4, written in Python with modding support. This is a complete joke, if you couldn't tell."
arch=('x86_64')
url="https://github.com/xtexecute/fleshfetch-aur"
license=('MIT')
depends=('python' 'python-gobject' 'gtk4' 'python-requests' 'python-pygame')
source=("git+https://github.com/xtexecute/fleshfetch-aur.git#branch=main")
sha256sums=('SKIP')

package() {
    cd "$srcdir/fleshfetch-aur"

    # Main app
    install -Dm644 fleshfetch.py "$pkgdir/usr/share/fleshfetch/fleshfetch.py"
    install -Dm755 fleshfetch "$pkgdir/usr/bin/fleshfetch"

    # Default config
    install -Dm644 default.conf "$pkgdir/usr/share/fleshfetch/default.conf"

    # Assets
    install -Dm644 flesh.png "$pkgdir/usr/share/fleshfetch/flesh.png"
    install -Dm644 click.wav "$pkgdir/usr/share/fleshfetch/click.wav"

    # Desktop entry
    install -Dm644 dev.xtexecute.fleshfetch.desktop \
        "$pkgdir/usr/share/applications/dev.xtexecute.fleshfetch.desktop"

    # License
    install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}