Initial commit

This commit is contained in:
Philipp Matthias Schäfer 2023-08-19 13:25:40 +02:00
commit 2fb4d77676
3 changed files with 53 additions and 0 deletions

33
PKGBUILD Normal file
View File

@ -0,0 +1,33 @@
pkgname=tomate-gtk
pkgver=0.25.0
pkgrel=1
pkgdesc="A timer for the Pomodoro Technique"
arch=("any")
url="https://github.com/eliostvs/tomate-gtk"
license=("GPL")
depends=("desktop-file-utils"
"gnome-icon-theme"
"gtk-update-icon-cache"
"gtk3"
"hicolor-icon-theme"
"playerctl"
"python"
"python-blinker"
"python-dbus"
"python-gobject"
"python-pyxdg"
"python-venusian"
"python-wiring"
"python-wrapt"
"python-yapsy")
makedepends=("python-setuptools")
options=(!emptydirs)
source=("https://github.com/eliostvs/$pkgname/archive/$pkgver.tar.gz")
md5sums=('8ade6ca500e3776fc226700b207fa785')
install=tomate-gtk.install
package() {
cd "$srcdir/$pkgname-$pkgver"
python setup.py install --root="$pkgdir/" --optimize=1
install -D -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgbase}/LICENSE"
}

7
README.md Normal file
View File

@ -0,0 +1,7 @@
This is a, hopefully temporary, replacement for the AUR package [tomate-gtk](https://aur.archlinux.org/packages/tomate-gtk).
I adapted the package published in AUR to install the [newest version](https://github.com/eliostvs/tomate-gtk/tags).
# Changes relative to original
- Update to 0.25.0
- Add playerctl to dependencies

13
tomate-gtk.install Normal file
View File

@ -0,0 +1,13 @@
post_install() {
gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor
update-desktop-database -q
update-mime-database /usr/share/mime &> /dev/null
}
post_upgrade() {
post_install
}
post_remove() {
post_install
}