summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: b5835da38af4a182005e1d67dc6ecb65dbbf0717 (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
# Maintainer: revsuine <paradoor at protonmail dot com>
_pkgname=wayneko
pkgname=$_pkgname-git
pkgver=r29.c1919dc
pkgrel=3
pkgdesc="Display an animated neko cat on the bottom of a Wayland output."
arch=("x86_64")
url="https://git.sr.ht/~leon_plickat/$_pkgname"
license=('GPL-3.0-or-later')
depends=("wayland"
         "pixman")
makedepends=("git")
provides=("$_pkgname")
conflicts=("$_pkgname")
source=("git+$url")
sha256sums=('SKIP')

pkgver() {
    cd "$srcdir/$_pkgname"
    printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short=7 HEAD)"
}

package() {
    cd "$srcdir/$_pkgname"
    # Makefile's prefix is /usr/local which seems less standard
    prefix="/usr"
    
    make DESTDIR="$pkgdir" PREFIX="$prefix" install
}