summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorrazer2020-06-05 10:15:06 +0200
committerrazer2020-06-05 10:15:06 +0200
commit8fb64f474ce2ec24d11e7795e1db0f28bdecc0ff (patch)
tree7e37e35b637a9cea8e5414050412c41f2afae0f3
downloadaur-8fb64f474ce2ec24d11e7795e1db0f28bdecc0ff.tar.gz
Rename from bubblemail-gnome-shell-git following correct name scheme
-rw-r--r--.SRCINFO18
-rw-r--r--PKGBUILD31
2 files changed, 49 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..7ce134f6bd5
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,18 @@
+pkgbase = gnome-shell-extension-bubblemail-git
+ pkgdesc = Unread mail notification service: Gnome shell extension
+ pkgver = 1.0.r2
+ pkgrel = 0
+ url = https://framagit.org/razer/bubblemail-gnome-shell/
+ arch = any
+ license = GPL2
+ makedepends = meson
+ depends = dconf
+ depends = gnome-shell
+ depends = bubblemail-git
+ provides = gnome-shell-extension-bubblemail
+ conflicts = gnome-shell-extension-bubblemail
+ source = git+https://framagit.org/razer/bubblemail-gnome-shell.git
+ sha256sums = SKIP
+
+pkgname = gnome-shell-extension-bubblemail-git
+
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}
+}