summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Bermond2021-04-08 00:37:03 +0000
committerDaniel Bermond2021-04-08 00:37:03 +0000
commitb6bba3c446f92a8e3e7c60221a38c046433f9498 (patch)
treeb85f59bbc3a3736959f9cd5b6af15a243acd7ed2
downloadaur-gromit-mpx.tar.gz
Initial commit
-rw-r--r--.SRCINFO24
-rw-r--r--PKGBUILD35
2 files changed, 59 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..c861f801f02
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,24 @@
+pkgbase = gromit-mpx
+ pkgdesc = On-screen annotation tool
+ pkgver = 1.4
+ pkgrel = 1
+ url = https://github.com/bk138/gromit-mpx/
+ arch = x86_64
+ license = GPL
+ makedepends = git
+ makedepends = cmake
+ depends = cairo
+ depends = gdk-pixbuf2
+ depends = glib2
+ depends = gtk3
+ depends = libappindicator-gtk3
+ depends = libx11
+ depends = libxi
+ backup = etc/gromit-mpx/gromit-mpx.cfg
+ source = git+https://github.com/bk138/gromit-mpx.git#tag=1.4
+ source = flatpak-shared-modules::git+https://github.com/flathub/shared-modules.git
+ sha256sums = SKIP
+ sha256sums = SKIP
+
+pkgname = gromit-mpx
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..a527abc1ba3
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,35 @@
+# Maintainer: Daniel Bermond <dbermond@archlinux.org>
+
+pkgname=gromit-mpx
+pkgver=1.4
+pkgrel=1
+pkgdesc='On-screen annotation tool'
+arch=('x86_64')
+url='https://github.com/bk138/gromit-mpx/'
+license=('GPL')
+depends=('cairo' 'gdk-pixbuf2' 'glib2' 'gtk3' 'libappindicator-gtk3' 'libx11' 'libxi')
+makedepends=('git' 'cmake')
+backup=('etc/gromit-mpx/gromit-mpx.cfg')
+source=("git+https://github.com/bk138/gromit-mpx.git#tag=${pkgver}"
+ 'flatpak-shared-modules'::'git+https://github.com/flathub/shared-modules.git')
+sha256sums=('SKIP'
+ 'SKIP')
+
+prepare() {
+ git -C gromit-mpx submodule init
+ git -C gromit-mpx config --local submodule.flatpak/shared-modules.url "${srcdir}/flatpak-shared-modules"
+ git -C gromit-mpx submodule update
+}
+
+build() {
+ cmake -B build -S gromit-mpx \
+ -DCMAKE_BUILD_TYPE:STRING='None' \
+ -DCMAKE_INSTALL_PREFIX:PATH='/usr' \
+ -DCMAKE_INSTALL_SYSCONFDIR:PATH='/etc' \
+ -Wno-dev
+ make -C build
+}
+
+package() {
+ make -C build DESTDIR="$pkgdir" install
+}