blob: c371b6c567181646ab27d6b1715593dfeba2c785 (
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
|
# Maintainer: Zenn <mine.minefis@gmail.com>
pkgname=wl_shimeji-git
_pkgname=wl_shimeji
pkgver=0.0.1.r66.0ddf102
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' 'wayland' 'wayland-protocols' 'wlr-protocols' 'libspng')
makedepends=('make' 'gcc' 'git')
source=("$_pkgname::git+https://github.com/CluelessCatBurger/wl_shimeji.git")
sha256sums=('SKIP')
pkgver() {
cd "$srcdir/$_pkgname"
printf "0.0.1.r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
prepare() {
cd "$srcdir/$_pkgname"
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
}
|