summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD28
1 files changed, 28 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..b83fbff8d24
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,28 @@
+# Maintainer: Adrian Perez de Castro <aperez@igalia.com>
+pkgname=wayfire-plugins-extra
+pkgver=0.5.0
+pkgrel=1
+pkgdesc='Additional plugins for Wayfire'
+url=https://wayfire.org
+arch=(x86_64)
+license=(custom:MIT)
+conflicts=("${pkgname}-git")
+depends=('wayfire>=0.5' cairo glibmm)
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/WayfireWM/${pkgname}/archive/v${pkgver}.tar.gz")
+sha256sums=(64c56ffa66df26a7cbee1af41c34ae123abe8252deeaf02687237688a8281a9e)
+
+build () {
+ rm -rf build
+ arch-meson "${pkgname}-${pkgver}" build
+ ninja -C build
+}
+
+check () {
+ meson test -C build
+}
+
+package () {
+ DESTDIR="${pkgdir}" ninja -C build install
+ cd "${pkgname}-${pkgver}"
+ install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}