diff options
author | Kuoi | 2022-08-16 14:43:02 +0100 |
---|---|---|
committer | Kuoi | 2022-08-16 14:43:02 +0100 |
commit | 39243c898ac437a2dbbd6a29527f8fa86e720d58 (patch) | |
tree | a37cd3a820d5311d2a62d22e21606f558467bf37 | |
download | aur-39243c898ac437a2dbbd6a29527f8fa86e720d58.tar.gz |
init
-rw-r--r-- | .SRCINFO | 22 | ||||
-rw-r--r-- | PKGBUILD | 34 |
2 files changed, 56 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..90a83774dddd --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,22 @@ +pkgbase = wf-extra-protos-git + pkgdesc = Extra wayland protocol support for wayfire, featuring wf-menu + pkgver = r3.8df1337 + pkgrel = 1 + url = https://github.com/soreau/wf-extra-protos + arch = x86_64 + license = MIT + makedepends = meson + makedepends = ninja + makedepends = pkg-config + makedepends = git + makedepends = cmake + makedepends = wayland-protocols + makedepends = glm + depends = wayfire + depends = gtkmm-4.0 + provides = wf-extra-protos + conflicts = wf-extra-protos + source = git+https://github.com/soreau/wf-extra-protos.git + sha256sums = SKIP + +pkgname = wf-extra-protos-git diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..961df6973c42 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,34 @@ +pkgname=wf-extra-protos-git +_pkgname=wf-extra-protos +pkgver=r3.8df1337 +pkgrel=1 +pkgdesc="Extra wayland protocol support for wayfire, featuring wf-menu" +arch=(x86_64) +url=https://github.com/soreau/wf-extra-protos +license=(MIT) +depends=(wayfire gtkmm-4.0) +makedepends=(meson ninja pkg-config git cmake wayland-protocols glm) +conflicts=("${_pkgname}") +provides=("${_pkgname}") +source=("git+https://github.com/soreau/wf-extra-protos.git") +sha256sums=('SKIP') +pkgver() { + cd $_pkgname + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +} + +build() { + rm -rf build + arch-meson "${_pkgname}" build + ninja -C build +} + +check () { + meson test -C build +} + +package() { + DESTDIR="${pkgdir}" ninja -C build install +} + + |