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-next
|
||||
pkgver=1.0
|
||||
pkgrel=1
|
||||
pkgdesc="GTD next 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=(
|
||||
"402be3fb7d0084e1cd4bedf54f0169b95191da1dfad57533df001387173d1189"
|
||||
"d243c54863e2fa793b73ff1cd789b854dacf74ed311405be72bde3289751d7d5"
|
||||
)
|
||||
|
||||
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-next.desktop
Normal file
21
gtd-next.desktop
Normal file
@@ -0,0 +1,21 @@
|
||||
[Desktop Entry]
|
||||
Comment[en_IE]=
|
||||
Comment=
|
||||
Encoding=UTF-8
|
||||
Exec=docker run todoist_next
|
||||
GenericName[en_IE]=
|
||||
GenericName=
|
||||
Icon=gtd-next
|
||||
MimeType=
|
||||
Name[en_IE]=Todoist Next
|
||||
Name=Todoist Next
|
||||
Path=
|
||||
StartupNotify=true
|
||||
Terminal=true
|
||||
TerminalOptions=
|
||||
Type=Application
|
||||
Version=1.0
|
||||
X-DBUS-ServiceName=
|
||||
X-DBUS-StartupType=
|
||||
X-KDE-SubstituteUID=false
|
||||
X-KDE-Username=
|
||||
BIN
gtd-next.png
Normal file
BIN
gtd-next.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 30 KiB |
Reference in New Issue
Block a user