summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD31
1 files changed, 31 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..f7c7d83ecbc
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,31 @@
+# Maintainer: Razer <razer[AT]neuf[DOT]fr>
+pkgbasename=gnome-shell-extension-bubblemail
+pkgname=${pkgbasename}-git
+pkgver=1.0.r2
+pkgrel=0
+pkgdesc="Unread mail notification service: Gnome shell extension"
+pkgfolder="bubblemail-gnome-shell"
+provides=("${pkgbasename}")
+conflicts=("${pkgbasename}")
+arch=(any)
+url="https://framagit.org/razer/bubblemail-gnome-shell/"
+license=('GPL2')
+makedepends=('meson')
+depends=('dconf' 'gnome-shell' 'bubblemail-git')
+source=("git+https://framagit.org/razer/bubblemail-gnome-shell.git")
+sha256sums=('SKIP')
+
+pkgver() {
+ cd "${srcdir}/${pkgfolder}"
+ git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
+}
+
+build() {
+ cd ${srcdir}/${pkgfolder}
+ meson -Dprefix=/usr _build
+ ninja -C _build build
+}
+
+package() {
+ cp -r ${srcdir}/${pkgfolder}/_build/_package/* ${pkgdir}
+}