diff options
author | justforlxz | 2024-06-19 15:14:39 +0800 |
---|---|---|
committer | justforlxz | 2024-06-19 15:14:39 +0800 |
commit | 1c084e960e8ac8895d91e86763e8efde4bf4e3f9 (patch) | |
tree | 7f2978a55c4b9981727f780f201817eab9f94e45 /PKGBUILD | |
parent | 99655516069eb7e2db9a0bbe8ee8d3134401c9b0 (diff) | |
download | aur-1c084e960e8ac8895d91e86763e8efde4bf4e3f9.tar.gz |
update
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -1,7 +1,7 @@ # Maintainer: justforlxz <justforlxz@gmail.com> pkgname=waylib-git -pkgver=r287.fca3d43 +pkgver=0.2.0.alpha1.r24.g06aaad1 pkgrel=1 pkgdesc='A wrapper for wlroots based on Qt.' arch=('x86_64' 'aarch64') @@ -15,16 +15,16 @@ sha512sums=('SKIP') pkgver() { cd waylib - printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short=7 HEAD)" + git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g' } build() { cd waylib - cmake -B . -G Ninja -DCMAKE_INSTALL_PREFIX=/usr - cmake --build . + cmake -B build -G Ninja -DCMAKE_INSTALL_PREFIX=/usr + cmake --build build } package() { - cd waylib + cd waylib/build DESTDIR="$pkgdir" ninja install } |