Package Details: wl_shimeji-git 0.0.2.r30.gb8525b2-1

Git Clone URL: https://aur.archlinux.org/wl_shimeji-git.git (read-only, click to copy)
Package Base: wl_shimeji-git
Description: Shimeji reimplementation for Wayland in C
Upstream URL: https://github.com/CluelessCatBurger/wl_shimeji
Keywords: desktop shimeji wayland
Licenses: GPL-2.0
Submitter: Zenn
Maintainer: Zenn
Last Packager: Zenn
Votes: 3
Popularity: 0.53
First Submitted: 2025-01-18 00:29 (UTC)
Last Updated: 2025-05-24 18:34 (UTC)

Latest Comments

Zenn commented on 2025-05-12 23:28 (UTC)

Thanks! Updated PKGBUILD to your version. I'm new to maintaining packages so feel free to correct if something is wrong.

aelius commented on 2025-04-30 06:55 (UTC) (edited on 2025-05-01 01:53 (UTC) by aelius)

This failed to build for me, had weird errant things, and many PKGBUILD conventions weren't followed besides, so I rewrote this to be more "proper". Feel free to upstream the changes... notably, a -git package is meant to be used for automatically following git commits via aur helpers, not be fixed to a specific commit. Versioned releases would be done by creating a second package named wl_shimeji.

# Maintainer: Zenn <mine.minefis@gmail.com>
pkgname=wl_shimeji-git
pkgver=0.0.2.r27.gfbb2e14
pkgrel=2
pkgdesc="Shimeji reimplementation for Wayland in C"
arch=('x86_64')
url="https://github.com/CluelessCatBurger/wl_shimeji"
license=('GPL-2.0')
depends=('python>=3.10' 'python-pillow' 'wayland-compositor')
makedepends=('git' 'libarchive' 'wayland')
source=("$pkgname::git+https://github.com/CluelessCatBurger/wl_shimeji.git"
        "jsonh::git+https://github.com/sheredom/json.h"
        "qoi::git+https://github.com/phoboslab/qoi"
        "py-qoi::git+https://github.com/mathpn/py-qoi")
sha256sums=('SKIP'
            'SKIP'
            'SKIP'
            'SKIP')

pkgver() {
  cd "$srcdir/$pkgname"
  git describe --long --tags --abbrev=7 | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}

prepare() {
  cd "$srcdir/$pkgname"
  git submodule init
  git config submodule.src/third_party/json.h.url "$srcdir/jsonh"
  git config submodule.src/third_party/qoi.url "$srcdir/qoi"
  git config submodule.src/shimejictl/qoi.url "$srcdir/py-qoi"
  git -c protocol.file.allow=always submodule update
}

build() {
  cd "$srcdir/$pkgname"
  make
}

package() {
  cd "$srcdir/$pkgname"
  make DESTDIR="$pkgdir/" PREFIX=/usr install
}