new bblfs: dev-libs/hyprgraphics-0.1.5
This commit is contained in:
@@ -0,0 +1,38 @@
|
|||||||
|
pkgname=hyprgraphics
|
||||||
|
pkgver=0.1.5
|
||||||
|
pkgdesc='hyprland graphics resources and utilities'
|
||||||
|
arch=(x86_64 aarch64)
|
||||||
|
homepage="https://github.com/hyprwm/$pkgname"
|
||||||
|
license=(BSD-3-Clause)
|
||||||
|
depends=(cairo
|
||||||
|
file
|
||||||
|
gcc
|
||||||
|
glibc
|
||||||
|
hyprutils
|
||||||
|
libjpeg-turbo
|
||||||
|
libjxl
|
||||||
|
libspng
|
||||||
|
libwebp
|
||||||
|
)
|
||||||
|
makedepends=(cmake)
|
||||||
|
sources=("${pkgname}-${pkgver}.tar.gz")
|
||||||
|
urls=("https://github.com/hyprwm/${pkgname}/archive/v${pkgver}.tar.gz")
|
||||||
|
md5sums=("8486fce2df355ab74da456a7a46ceb8f")
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
tar -xf ${distdir}/${sources[0]} --strip-components=1
|
||||||
|
}
|
||||||
|
|
||||||
|
src_build() {
|
||||||
|
cmake -B build \
|
||||||
|
-D CMAKE_INSTALL_PREFIX=/usr \
|
||||||
|
-D CMAKE_BUILD_TYPE=Release
|
||||||
|
cmake --build build
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
DESTDIR="$pkgdir" cmake --install build
|
||||||
|
install -Dm0644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE
|
||||||
|
}
|
||||||
|
|
||||||
|
# vim:ft=sh syn=sh et sw=2:
|
||||||
Reference in New Issue
Block a user