summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorSte742018-02-02 19:27:52 +0100
committerSte742018-02-02 19:27:52 +0100
commit20b14cfc2cb74d8b0f1c0ee5bec5cc69b38efe0c (patch)
tree1def18e286ea0aff4b9dbe9cee95d78159b273df
downloadaur-20b14cfc2cb74d8b0f1c0ee5bec5cc69b38efe0c.tar.gz
slingswarm first commit
-rw-r--r--.SRCINFO19
-rw-r--r--PKGBUILD34
-rw-r--r--slingswarm.install35
3 files changed, 88 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..a8218c47a71
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,19 @@
+pkgbase = slingswarm
+ pkgdesc = GTK3 application launcher similar to Mac OS launchpad and Wayland compatible.
+ pkgver = 1.0
+ pkgrel = 1
+ url = https://github.com/echo-devim/slingswarm
+ install = slingswarm.install
+ arch = x86_64
+ license = GPL3
+ makedepends = cmake
+ makedepends = vala
+ depends = libgee
+ depends = gnome-menus
+ depends = glib2
+ depends = gtk3
+ source = https://github.com/echo-devim/slingswarm/archive/34e2e0446381ffbbcac7ba530286b6d10010f2a5.tar.gz
+ sha256sums = fcf9c41aa0dfcc68f9dc09d600b801c501c40d7e993154834357bbdf58745504
+
+pkgname = slingswarm
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..13ad508f84a
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,34 @@
+#
+# Maintainer: Ste74 <capitani74atgmaildotcom>
+# Author: echo-devim <devimatoutlook.it>
+
+pkgname=slingswarm
+pkgver=1.0
+pkgrel=1
+pkgdesc="GTK3 application launcher similar to Mac OS launchpad and Wayland compatible. "
+arch=('x86_64')
+url="https://github.com/echo-devim/$pkgname"
+_commit=34e2e0446381ffbbcac7ba530286b6d10010f2a5
+license=('GPL3')
+depends=('libgee' 'gnome-menus' 'glib2' 'gtk3')
+makedepends=('cmake' 'vala')
+install=$pkgname.install
+source=("$url/archive/$_commit.tar.gz")
+sha256sums=('fcf9c41aa0dfcc68f9dc09d600b801c501c40d7e993154834357bbdf58745504')
+
+prepare() {
+ mv $pkgname-$_commit $pkgname-$pkgver
+}
+
+build() {
+ cd $pkgname-$pkgver/build
+ cmake .. \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_INSTALL_PREFIX=/usr
+ make
+}
+
+package() {
+ cd $pkgname-$pkgver/build
+ make DESTDIR="$pkgdir" install
+}
diff --git a/slingswarm.install b/slingswarm.install
new file mode 100644
index 00000000000..89009750e26
--- /dev/null
+++ b/slingswarm.install
@@ -0,0 +1,35 @@
+post_install() {
+
+ cat << _EOF
+
+==> Once installed set shortcut key to access Slingswarm.
+
+=> System -> Preferences -> Hardware -> Keyboard Shortcuts > click Add
+=> Name: Slingswarm
+=> Command: slingswarm-launcher
+
+==> Now assign it a shortcut key, such as CTRL+SPACE.
+
+==> Note: Some themes don't have the 'application-default-icon'. Slingswarm needs to have this icon, so please download it from the FlatWoken icon pack and execute the following commands:
+
+=> # cp application-default-icon.svg /usr/share/icons/hicolor/scalable/apps/
+=> # gtk-update-icon-cache /usr/share/icons/hicolor
+
+_EOF
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+
+ cat << _EOF
+
+==> Remove application-default-icon.svg if installed by you:
+
+=> # rm /usr/share/icons/hicolor/scalable/apps/application-default-icon.svg
+=> # gtk-update-icon-cache /usr/share/icons/hicolor
+
+_EOF
+}