commit 2fb4d77676e2ab450e0dc5d10ed188697f1dba77 Author: Philipp Matthias Schäfer Date: Sat Aug 19 13:25:40 2023 +0200 Initial commit diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000..bc81ee3 --- /dev/null +++ b/PKGBUILD @@ -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" +} diff --git a/README.md b/README.md new file mode 100644 index 0000000..24dc682 --- /dev/null +++ b/README.md @@ -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 diff --git a/tomate-gtk.install b/tomate-gtk.install new file mode 100644 index 0000000..12c553d --- /dev/null +++ b/tomate-gtk.install @@ -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 + }