commit e880f0a68165ef3c32e17f6422c3ecfd0500c7ec Author: Sebastian Rust Date: Sun Jul 10 16:16:33 2022 +0200 initial commit diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000..97b35da --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,42 @@ +# Maintainer: Fredy GarcĂ­a + +pkgname=gtd-process +pkgver=1.0 +pkgrel=1 +pkgdesc="GTD Workflow for Todoist" +arch=("armv7l" "i686" "x86_64") +# url="https://focusmate.com" +license=("custom") +depends=("docker") +# optdepends=("libindicator-gtk3") +# makedepends=("imagemagick" "nodejs-nativefier" "unzip") +source=( + "${pkgname}.png" + "${pkgname}.desktop" +) +sha256sums=( + "b54c1a82a8ca7585bb99c300682e871d678ccffced06d0ede391f87adb65c9b1" + "5a99f92a4431075353dc746ea1e0d94f4743044fa170ac44219d76f1cb1536bd" +) + +build() { + cd "${srcdir}" + +} + +package() { +# install -dm755 "${pkgdir}/"{opt,usr/{bin,share/{applications,licenses/${pkgname}}}} +# +# _folder=$(ls "${srcdir}" | grep "[Ff]ocusmate-linux-") +# _binary=$(ls "${srcdir}/${_folder}" | grep "[Ff]ocusmate") +# +# cp -rL "${srcdir}/${_folder}" "${pkgdir}/opt/${pkgname}" +# ln -s "/opt/${pkgname}/${_binary}" "${pkgdir}/usr/bin/${pkgname}" + install -Dm644 "${srcdir}/${pkgname}.desktop" "${pkgdir}/usr/share/applications/${pkgname}.desktop" + + for _size in "192x192" "128x128" "96x96" "64x64" "48x48" "32x32" "24x24" "22x22" "20x20" "16x16" "8x8"; do + install -dm755 "${pkgdir}/usr/share/icons/hicolor/${_size}/apps" + convert "${srcdir}/${pkgname}.png" -strip -resize "${_size}" "${pkgdir}/usr/share/icons/hicolor/${_size}/apps/${pkgname}.png" + done +} + diff --git a/gtd-process.desktop b/gtd-process.desktop new file mode 100644 index 0000000..60ff8a4 --- /dev/null +++ b/gtd-process.desktop @@ -0,0 +1,21 @@ +[Desktop Entry] +Comment[en_IE]= +Comment= +Encoding=UTF-8 +Exec=docker run -it gtd-workflow +GenericName[en_IE]= +GenericName= +Icon=gtd-process +MimeType= +Name[en_IE]=Inbox Processing +Name=Inbox Processing +Path= +StartupNotify=true +Terminal=true +TerminalOptions=\s--noclose +Type=Application +Version=1.0 +X-DBUS-ServiceName= +X-DBUS-StartupType= +X-KDE-SubstituteUID=false +X-KDE-Username= diff --git a/gtd-process.png b/gtd-process.png new file mode 100644 index 0000000..11d46fa Binary files /dev/null and b/gtd-process.png differ