summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO16
-rw-r--r--PKGBUILD22
2 files changed, 38 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..96c417de110
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,16 @@
+pkgbase = i3-workspace-groups
+ pkgdesc = Manage i3wm workspaces in groups you control
+ pkgver = 0.2.0
+ pkgrel = 1
+ url = https://github.com/infokiller/i3-workspace-groups
+ arch = any
+ license = MIT
+ makedepends = python-setuptools
+ makedepends = git
+ depends = python
+ depends = i3-wm
+ source = git+https://github.com/infokiller/i3-workspace-groups#tag=0.2.0
+ sha256sums = SKIP
+
+pkgname = i3-workspace-groups
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..72daff42eeb
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,22 @@
+# Maintainer: Tim Liou <wheatdoge at gmail dot com>
+pkgname=i3-workspace-groups
+pkgver=0.2.0
+pkgrel=1
+pkgdesc='Manage i3wm workspaces in groups you control'
+url='https://github.com/infokiller/i3-workspace-groups'
+arch=('any')
+license=('MIT')
+source=("git+https://github.com/infokiller/i3-workspace-groups#tag=$pkgver")
+sha256sums=('SKIP')
+depends=('python' 'i3-wm')
+makedepends=('python-setuptools' 'git')
+
+build() {
+ cd "$srcdir/$pkgname"
+ python setup.py build
+}
+
+package() {
+ cd "$srcdir/$pkgname"
+ python setup.py install --root="$pkgdir/" --optimize=1 --skip-build
+}