diff options
-rw-r--r-- | .SRCINFO | 16 | ||||
-rw-r--r-- | PKGBUILD | 21 |
2 files changed, 37 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..92dd62f6bc83 --- /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 000000000000..f850dd94ecbf --- /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 +} + |