initial commit
This commit is contained in:
42
PKGBUILD
Normal file
42
PKGBUILD
Normal file
@@ -0,0 +1,42 @@
|
|||||||
|
# Maintainer: Fredy García <frealgagu at gmail dot com>
|
||||||
|
|
||||||
|
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
|
||||||
|
}
|
||||||
|
|
||||||
21
gtd-process.desktop
Normal file
21
gtd-process.desktop
Normal file
@@ -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=
|
||||||
BIN
gtd-process.png
Normal file
BIN
gtd-process.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 29 KiB |
Reference in New Issue
Block a user