upg wlr-randr

This commit is contained in:
joborun linux 2024-05-09 02:11:27 +03:00
parent 5e1bb16c45
commit f5b9426e42
2 changed files with 31 additions and 2 deletions

View file

@ -7,7 +7,7 @@
pkgname=wlr-randr
pkgver=0.4.1
pkgrel=02
pkgrel=04
pkgdesc='Utility to manage outputs of a Wayland compositors'
url='https://sr.ht/~emersion/wlr-randr'
_url='https://git.sr.ht/~emersion/wlr-randr'
@ -43,5 +43,5 @@ sha256sums=(fd5783002c13d37267898e571f03b618363d13952a264cf3d61a35383869d631 #
# 8af085aeed3132f7442a05bafeadfd0ea30e9a4818af1a91e161f7d560f2cd93 # wlr-randr-0.4.1.tar.gz # see note on source
bc38e1d1e68ea6632b72c909ab2d56af725894ac798f24561e83ea4276db5386) # wlr-randr-0.4.1.tar.gz.sig
## d41804295862c2c9905dc26b8163212c11ca45ca7110133060c4f9569322c6bf wlr-randr-0.4.1-02-x86_64.pkg.tar.lz
## b0f497f552ff7e0e7af1a5111009de52ca5c5dc5b0422495a9df943a70b72fe1 wlr-randr-0.4.1-04-x86_64.pkg.tar.lz

29
wlr-randr/PKGBUILD-arch Normal file
View file

@ -0,0 +1,29 @@
# Maintainer: Robin Candau <antiz@archlinux.org>
# Contributor: Sergey A. <murlakatamenka@disroot.org>
# Contributor: Robert Cegliński <rob.ceglinski@gmail.com>
# Contributor: Christopher Snowhill <chris@kode54.net>
# Contributor: Denis Zheleztsov <difrex.punk@gmail.com>
pkgname=wlr-randr
pkgver=0.4.1
pkgrel=4
pkgdesc="Utility to manage outputs of a Wayland compositor"
url='https://git.sr.ht/~emersion/wlr-randr'
arch=('x86_64')
license=('MIT')
depends=('wayland' 'glibc')
makedepends=('meson')
source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz")
sha256sums=('8af085aeed3132f7442a05bafeadfd0ea30e9a4818af1a91e161f7d560f2cd93')
build() {
cd "${pkgname}-v${pkgver}"
arch-meson build
meson compile -C build
}
package() {
cd "${pkgname}-v${pkgver}"
meson install -C build --destdir "${pkgdir}"
install -Dm 644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}