Initial commit
This commit is contained in:
commit
2fb4d77676
33
PKGBUILD
Normal file
33
PKGBUILD
Normal 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
7
README.md
Normal 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
13
tomate-gtk.install
Normal 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
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user