blob: 970057bbcb27d107002168a9c1aefa5c778ab6ac (
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
38
39
40
41
42
43
44
45
46
47
48
49
50
|
# Maintainer: dawfukfr <dawfukfr@gmail.com>
# Contributor: Caleb Maclennan <caleb@alerque.com>
_pkgname="aquamarine"
pkgname="${_pkgname}-git"
pkgver=0.4.0_r213.ga8eb8ae
pkgrel=1
pkgdesc='a very light linux rendering backend library'
arch=(x86_64)
url="https://github.com/hyprwm/$_pkgname"
license=(BSD-3-Clause)
depends=(gcc-libs
glibc
hyprutils
hyprwayland-scanner
libdisplay-info
libdrm
libglvnd
libinput
mesa
opengl-driver
pixman
pugixml
seatd
systemd-libs
wayland
wayland-protocols)
makedepends=('git' 'cmake' 'gcc' 'hyprwayland-scanner-git')
source=("${_pkgname}::git+https://github.com/hyprwm/aquamarine.git")
sha256sums=('SKIP')
pkgver() {
cd ${_pkgname}
_ver="$(cat VERSION)"
echo "${_ver}_r$(git rev-list --count HEAD).g$(git rev-parse --short HEAD)"
}
build() {
cd "$_pkgname"
cmake -B build \
-D CMAKE_INSTALL_PREFIX=/usr \
-D CMAKE_BUILD_TYPE=Release
cmake --build build
}
package() {
cd "$_pkgname"
DESTDIR="$pkgdir" cmake --install build
install -Dm0644 -t "$pkgdir/usr/share/licenses/$_pkgname" LICENSE
}
|