From 729a0bb2033b82f24c84adaf776ad741452f040c Mon Sep 17 00:00:00 2001 From: Virt <41426325+VirtCode@users.noreply.github.com> Date: Sun, 9 Mar 2025 00:21:27 +0100 Subject: [PATCH] add PKGBUILD for arch linux to the repo because why not --- PKGBUILD | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 PKGBUILD diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000..d675d6c --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,31 @@ +# Maintainer: Virt +# Based on: https://aur.archlinux.org/packages/wayneko-git + +_pkgname=wayneko +pkgname=$_pkgname-phases-git +pkgver=r29.c1919dc +pkgrel=3 +pkgdesc="Display an animated neko cat on the bottom of a Wayland output. This is a fork with phase-based behaviour." +arch=("x86_64") +url="https://copeberg.org/virt/$_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 +}