summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJuliette Monsel2018-07-13 17:04:31 +0200
committerJuliette Monsel2018-07-13 17:04:31 +0200
commit70f7ecac6c28f2a56df221664405d9148c9d4d8d (patch)
tree5a9e478976fcdea7e3a5c9da6542e779f0cb170d
downloadaur-70f7ecac6c28f2a56df221664405d9148c9d4d8d.tar.gz
Initial commit
-rw-r--r--.SRCINFO20
-rw-r--r--PKGBUILD29
2 files changed, 49 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..02060ae8942
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,20 @@
+pkgbase = python-ttkwidgets
+ pkgdesc = Collection of widgets for Tkinter's ttk extensions
+ pkgver = 0.9.0
+ pkgrel = 1
+ url = https://github.com/RedFantom/ttkwidgets
+ arch = any
+ license = GPL3
+ makedepends = python-setuptools
+ makedepends = python2-setuptools
+ source = python-ttkwidgets-0.9.0.tar.gz::https://github.com/RedFantom/ttkwidgets/archive/0.9.0.tar.gz
+ sha512sums = dfa18ba4b18954ec213900afba37fded3a9a5f16b58ded4236fa8e0087bf7dd21ecf436dbd89cf00b62fbf02c46da5bc7a50ae51f9a90e3b1d25442f6557a3a7
+
+pkgname = python-ttkwidgets
+ depends = tk
+ depends = python-pillow
+
+pkgname = python2-ttkwidgets
+ depends = tk
+ depends = python2-pillow
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..c4894d11c80
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,29 @@
+# Maintainer: Juliette Monsel <j_4321 at protonmail dot com>
+pkgname=('python-ttkwidgets' 'python2-ttkwidgets')
+pkgver=0.9.0
+pkgrel=1
+pkgdesc="Collection of widgets for Tkinter's ttk extensions"
+_name=ttkwidgets
+arch=('any')
+url="https://github.com/RedFantom/ttkwidgets"
+license=('GPL3')
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/RedFantom/$_name/archive/${pkgver}.tar.gz")
+sha512sums=('dfa18ba4b18954ec213900afba37fded3a9a5f16b58ded4236fa8e0087bf7dd21ecf436dbd89cf00b62fbf02c46da5bc7a50ae51f9a90e3b1d25442f6557a3a7')
+makedepends=('python-setuptools' 'python2-setuptools')
+
+build() {
+ cd "$srcdir/$_name-${pkgver}"
+ python setup.py build
+}
+
+package_python-ttkwidgets() {
+ depends=('tk' 'python-pillow')
+ cd "$srcdir/$_name-${pkgver}"
+ python setup.py install --root="$pkgdir/" --prefix=/usr --optimize=1 --skip-build
+}
+
+package_python2-ttkwidgets() {
+ depends=('tk' 'python2-pillow')
+ cd "$srcdir/$_name-${pkgver}"
+ python2 setup.py install --root="$pkgdir/" --prefix=/usr --optimize=1 --skip-build
+}