diff options
author | tablet-mode | 2015-06-28 20:50:20 +0000 |
---|---|---|
committer | tablet-mode | 2015-06-28 20:50:20 +0000 |
commit | 6f353e07f8abaef76ae487af91ebbaa0af855b0a (patch) | |
tree | 2079263403505fa382257d1a3912d9d4361e266e | |
download | aur-6f353e07f8abaef76ae487af91ebbaa0af855b0a.tar.gz |
Initial import
-rw-r--r-- | .SRCINFO | 21 | ||||
-rw-r--r-- | PKGBUILD | 34 |
2 files changed, 55 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..30fbfdc4b525 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,21 @@ +pkgbase = py3status-modules + pkgdesc = Collection of modules for py3status + pkgver = 0.2.0 + pkgrel = 1 + url = https://github.com/tablet-mode/py3status-modules + arch = i686 + arch = x86_64 + license = GPL3 + depends = python>=3.2 + depends = py3status>=1.1 + optdepends = python-mpd2>=0.4.6: MPD status module + optdepends = upower>=0.99.0: battery status module + optdepends = python-dbus>=1.2.0: battery status module + conflicts = py3status-modules + source = https://github.com/tablet-mode/py3status-modules/archive/0.2.0.tar.gz + md5sums = cd2355ef8627b567104dba739040b448 + sha256sums = a4058f805d96898a947b8e470480e12586c09d83c61ed6f11f4adbceb76fae37 + sha512sums = 4c3fe5416e9654b49064090564e7ee0dcce06d4fd69d644fd35bb945c5dea1d92bc3860096fa05836e5010d9ceeba41cbe1f17b2d75797dceee09aace8f5c7e3 + +pkgname = py3status-modules + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..25d2fa349d21 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,34 @@ +# Maintainer: Tablet Mode <tablet-mode@monochromatic.cc> +pkgname=py3status-modules +pkgver=0.2.0 +pkgrel=1 +pkgdesc="Collection of modules for py3status" +arch=('i686' 'x86_64') +url="https://github.com/tablet-mode/py3status-modules" +license=('GPL3') +depends=('python>=3.2' 'py3status>=1.1') +optdepends=( + 'python-mpd2>=0.4.6: MPD status module' + 'upower>=0.99.0: battery status module' + 'python-dbus>=1.2.0: battery status module' +) +conflicts=("$pkgname") +source=(https://github.com/tablet-mode/$pkgname/archive/$pkgver.tar.gz) +sha512sums=('4c3fe5416e9654b49064090564e7ee0dcce06d4fd69d644fd35bb945c5dea1d92bc3860096fa05836e5010d9ceeba41cbe1f17b2d75797dceee09aace8f5c7e3') +sha256sums=('a4058f805d96898a947b8e470480e12586c09d83c61ed6f11f4adbceb76fae37') +md5sums=('cd2355ef8627b567104dba739040b448') + +package() { + cd py3status-modules-$pkgver + + install -d "$pkgdir"/usr/share/"$pkgname" + install mailstatus/mailstatus.py "$pkgdir"/usr/share/"$pkgname" + install batterystatus/batterystatus.py "$pkgdir"/usr/share/"$pkgname" + install taskstatus/taskstatus.py "$pkgdir"/usr/share/"$pkgname" + install mpdstatus/mpdstatus.py "$pkgdir"/usr/share/"$pkgname" + # doc + install -d "$pkgdir"/usr/share/doc/"$pkgname-$pkgver" + install -m644 README.rst "$pkgdir"/usr/share/doc/"$pkgname-$pkgver" + # license + install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/"$pkgname"/LICENSE +} |