wayfire*: clean and add wf-touch

This commit is contained in:
Kuoi 2023-09-06 15:45:31 +08:00
parent ceebe38ee0
commit 9f8e227eaa
6 changed files with 39 additions and 8 deletions

View file

@ -3,9 +3,7 @@ maintainers:
email: kuoi@bioarchlinux.org
build_prefix: extra-x86_64
post_build_script: |
git_add_files('PKGBUILD')
git_pkgbuild_commit()
git_commit()
update_on:
- source: github
github: WayfireWM/wayfire

View file

@ -3,9 +3,7 @@ maintainers:
email: kuoi@bioarchlinux.org
build_prefix: extra-x86_64
post_build_script: |
git_add_files('PKGBUILD')
git_pkgbuild_commit()
git_commit()
update_on:
- source: github
github: WayfireWM/wf-config

View file

@ -3,9 +3,7 @@ maintainers:
email: kuoi@bioarchlinux.org
build_prefix: extra-x86_64
post_build_script: |
git_add_files('PKGBUILD')
git_pkgbuild_commit()
git_commit()
repo_makedepends:
- wayfire
repo_depends:

View file

@ -3,9 +3,7 @@ maintainers:
email: kuoi@bioarchlinux.org
build_prefix: extra-x86_64
post_build_script: |
git_add_files('PKGBUILD')
git_pkgbuild_commit()
git_commit()
repo_depends:
- wayfire
update_on:

View file

@ -0,0 +1,30 @@
pkgname=wf-touch
pkgver=.20210319.145639
pkgrel=1
pkgdesc="Touchscreen gesture library"
arch=(x86_64)
url=https://github.com/WayfireWM/wf-touch
license=(MIT)
makedepends=(meson ninja pkg-config git cmake wayland-protocols glm doctest)
conflicts=("${pkgname}-git")
source=("git+$url.git")
sha256sums=('SKIP')
pkgver () {
cd "$srcdir/$pkgname"
printf "$(cat meson.build | grep '^\sversion:' | sed "s/'/ /g" | awk '{print $2}').%s" "$(TZ=UTC git log -1 --pretty='%cd' --date=format-local:%Y%m%d.%H%M%S)"
}
build() {
arch-meson "${pkgname}" build
ninja -C build
}
check () {
meson test -C build
}
package() {
DESTDIR="${pkgdir}" ninja -C build install
}

View file

@ -0,0 +1,9 @@
maintainers:
- github: starsareintherose
email: kuoi@bioarchlinux.org
build_prefix: extra-x86_64
post_build_script: |
git_pkgbuild_commit()
update_on:
- source: github
github: WayfireWM/wf-touch