File tree Expand file tree Collapse file tree 2 files changed +54
-0
lines changed
Expand file tree Collapse file tree 2 files changed +54
-0
lines changed Original file line number Diff line number Diff line change 1+ # Maintainer: Integral <[email protected] >2+
3+ pkgname=hyprwire-git
4+ _pkgname=${pkgname% -git}
5+ pkgver=0.2.0
6+ pkgrel=1
7+ pkgdesc=" A fast and consistent wire protocol for IPC"
8+ arch=(' x86_64' )
9+ url=" https://github.com/hyprwm/${_pkgname} "
10+ license=(' BSD-3-Clause' )
11+ depends=(' gcc-libs' ' hyprutils-git' ' libffi' ' pugixml' )
12+ makedepends=(' git' ' cmake' )
13+ conflicts=(" ${_pkgname} " )
14+ provides=(" ${_pkgname} " " lib${_pkgname} .so" )
15+ source=(" git+${url} .git" )
16+ sha256sums=(' SKIP' )
17+
18+ pkgver () {
19+ cd " ${_pkgname} /"
20+ git describe --long --tags --abbrev=7 | sed ' s/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
21+ }
22+
23+ build () {
24+ local cmake_options=(
25+ -B build
26+ -S " ${_pkgname} "
27+ -D CMAKE_BUILD_TYPE=None
28+ -D CMAKE_INSTALL_PREFIX=/usr
29+ )
30+
31+ cmake " ${cmake_options[@]} "
32+ cmake --build build
33+ }
34+
35+ package () {
36+ DESTDIR=" ${pkgdir} " cmake --install build
37+ install -Dm644 " ${_pkgname} /LICENSE" -t " ${pkgdir} /usr/share/licenses/${pkgname} /"
38+ }
Original file line number Diff line number Diff line change 1+ maintainers :
2+ - github : Integral-Tech
3+ 4+
5+ pre_build_script : |
6+ update_pkgrel()
7+ vcs_update()
8+
9+ post_build_script : git_pkgbuild_commit()
10+
11+ repo_depends :
12+ - hyprutils-git
13+
14+ update_on :
15+ - source : github
16+ github : hyprwm/hyprwire
You can’t perform that action at this time.
0 commit comments