diff options
author | EasyIP2023 | 2019-11-07 14:23:57 -0600 |
---|---|---|
committer | EasyIP2023 | 2019-11-07 14:23:57 -0600 |
commit | a277104ddeb45d2b9a58a36f5cf40cc91d013596 (patch) | |
tree | b43179b74513967c3a3d9d6592889c2bac5c49cf /PKGBUILD | |
download | aur-a277104ddeb45d2b9a58a36f5cf40cc91d013596.tar.gz |
add lucurious to AUR
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..d1288c80449d --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,35 @@ +# Maintainer: Vincent Davis <vdavis2495@gmail.com> +# Contributor: Vincent Davis <vdavis2495@gmail.com> +pkgname='lucurious-git' +pkgver=0.0.1 +pkgrel=1 +license=('MIT') +pkgdesc='[Desktop Engine, Library] for building and styling 2D/3D Vulkan Wayland Compositors' +url='https://github.com/EasyIP2023/lucurious' +arch=('x86_64') +depends=('shaderc' 'vulkan-driver' 'vulkan-icd-loader' 'cglm' 'wayland') +makedepends=('meson' 'ninja' 'git' 'wayland-protocols' 'vulkan-headers' 'check') +source=("${pkgname}::git+${url}") +sha512sums=('SKIP') + +pkgver () { + cd "${pkgname}" + ( + set -o pipefail + git describe --long 2>/dev/null | sed 's/\([^-]*-g\)/r\1/;s/-/./g' || + printf "${pkgver}.r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" + ) +} + +build () { + cd "${pkgname}" + rm -rf build + meson build + ninja -C build +} + +package () { + cd "${pkgname}" + DESTDIR="${pkgdir}" ninja -C build install + install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +} |