Skip to content
Snippets Groups Projects
Verified Commit 832f55e3 authored by Lukas Fleischer's avatar Lukas Fleischer
Browse files

upgpkg: 0.3.5-2: initial import

parents
No related branches found
No related tags found
No related merge requests found
.SRCINFO 0 → 100644
pkgbase = hyprwayland-scanner
pkgdesc = A Hyprland implementation of wayland-scanner, in and for C++
pkgver = 0.3.5
pkgrel = 2
url = https://github.com/hyprwm/hyprwayland-scanner
arch = x86_64
license = BSD-3-Clause
makedepends = git
makedepends = cmake
makedepends = gcc
depends = pugixml
provides = hyprwayland-scaner
source = hyprwayland-scanner-0.3.5.tar.gz::https://github.com/hyprwm/hyprwayland-scanner/archive/refs/tags/v0.3.5.tar.gz
sha256sums = 7d8df3b96f9101eb6a301c3f29447001cafd9e6021b17daf94f014c0856808ac
pkgname = hyprwayland-scanner
PKGBUILD 0 → 100644
# Maintainer: Lukas Fleischer <lfleischer@archlinux.org>
# Contributor: alba4k <blaskoazzolaaaron@gmail.com>
pkgname="hyprwayland-scanner"
pkgver=0.3.5
pkgrel=2
pkgdesc="A Hyprland implementation of wayland-scanner, in and for C++"
arch=(x86_64)
url="https://github.com/hyprwm/hyprwayland-scanner"
license=('BSD-3-Clause')
depends=('pugixml')
makedepends=('git' 'cmake' 'gcc')
_archive="${pkgname}-$pkgver"
source=("$_archive.tar.gz::$url/archive/refs/tags/v$pkgver.tar.gz")
provides=(hyprwayland-scaner)
sha256sums=('7d8df3b96f9101eb6a301c3f29447001cafd9e6021b17daf94f014c0856808ac')
build() {
cd "$_archive"
cmake -DCMAKE_BUILD_TYPE:STRING=Release -DCMAKE_INSTALL_PREFIX=/usr -B build
cmake --build build --config Release
}
package() {
cd "$_archive"
DESTDIR="${pkgdir}" cmake --install build
install -Dm644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment