blob: 5050b09bea045f4064b7dcff7ceb8b75c66f4085 (
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
35
36
37
|
# Maintainer: Zenn <mine.minefis@gmail.com>
pkgname=wl_shimeji-git
_pkgname=wl_shimeji
pkgver=0.0.2.r172.fbb2e14
pkgrel=1
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=('make' 'gcc' 'git' 'libarchive' 'libwayland-client.so' 'wayland-protocols')
source=("$_pkgname::git+https://github.com/CluelessCatBurger/wl_shimeji.git")
sha256sums=('SKIP')
pkgver() {
cd "$srcdir/$_pkgname"
printf "%s.r%s.%s" "$(git tag -l | tail -n1)" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
prepare() {
cd "$srcdir/$_pkgname"
git checkout fbb2e148981386863410f4fadecc240af6dc9e6a
git submodule update --init --recursive
}
build() {
unset CFLAGS
CFLAGS+=" -O2 "
cd "$srcdir/$_pkgname"
make all
}
package() {
cd "$srcdir/$_pkgname"
make DESTDIR="$pkgdir/" PREFIX=/usr install
make DESTDIR="$pkgdir/" PREFIX=/usr install_plugins
}
|