summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorpiotr2020-01-11 01:39:40 +0100
committerpiotr2020-01-11 01:39:40 +0100
commitcdb12740ee6a34851ad9f53072e5400f9bd8c386 (patch)
tree9a242a835e14906b56a7ed41c8d87c78e820fffe
downloadaur-cdb12740ee6a34851ad9f53072e5400f9bd8c386.tar.gz
initial commit: v0.0.1
-rw-r--r--.SRCINFO16
-rw-r--r--PKGBUILD21
2 files changed, 37 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..92dd62f6bc8
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,16 @@
+pkgbase = sgtk-menu
+ pkgdesc = GTK menu for sway and i3
+ pkgver = 0.0.1
+ pkgrel = 1
+ url = https://github.com/nwg-piotr/sgtk-menu
+ arch = x86_64
+ license = GPL3
+ depends = gtk3
+ depends = python
+ depends = python-gobject
+ optdepends = python-i3ipc: to avoid deprecation warnings
+ source = https://github.com/nwg-piotr/sgtk-menu/archive/v0.0.1.tar.gz
+ md5sums = 2b9b38af9c35b39a1063385fd70c1a6b
+
+pkgname = sgtk-menu
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..f850dd94ecb
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,21 @@
+# Maintainer: Piotr Miller <nwg.piotr@gmail.com>
+pkgname=('sgtk-menu')
+pkgver=0.0.1
+pkgrel=1
+pkgdesc="GTK menu for sway and i3"
+arch=('x86_64')
+url="https://github.com/nwg-piotr/sgtk-menu"
+license=('GPL3')
+depends=('gtk3' 'python' 'python-gobject')
+optdepends=('python-i3ipc: to avoid deprecation warnings')
+
+source=("https://github.com/nwg-piotr/sgtk-menu/archive/v$pkgver.tar.gz")
+
+md5sums=('2b9b38af9c35b39a1063385fd70c1a6b')
+
+package() {
+ install -D -m 755 "$pkgname"-"$pkgver"/dist/sgtk-menu-arch "$pkgdir"/usr/bin/sgtk-menu
+ cd "$srcdir/"$pkgname"-$pkgver"
+ /usr/bin/python setup.py install --root="$pkgdir/" --optimize=1
+}
+