diff options
author | Bilal Taşdelen | 2022-12-02 09:42:45 -0800 |
---|---|---|
committer | Bilal Taşdelen | 2022-12-02 09:42:45 -0800 |
commit | 4f5427daf1e02e0963c8d0b0f8fde2d447d3c60e (patch) | |
tree | c297756c59f846646e9be31d3ddfbcf9f209efeb | |
download | aur-4f5427daf1e02e0963c8d0b0f8fde2d447d3c60e.tar.gz |
Init pkg.
-rw-r--r-- | .SRCINFO | 20 | ||||
-rw-r--r-- | PKGBUILD | 36 |
2 files changed, 56 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..dfb0ee952936 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,20 @@ +pkgbase = kuro-bin + pkgdesc = An Electron wrapper for Microsoft To-Do + pkgver = 8.1.6 + pkgrel = 1 + url = https://github.com/davidsmorais/kuro + arch = x86_64 + license = MIT + depends = libnotify + depends = libxtst + depends = nss + depends = libxss + provides = ao + provides = kuro + conflicts = ao + conflicts = ao-git + conflicts = kuro-appimage + source = https://github.com/davidsmorais/kuro/releases/download/v8.1.6/kuro-8.1.6.pacman + sha256sums = 57bd2bd2fd0af37761426bf635eb280afe7091444800085dc7315806d677e824 + +pkgname = kuro-bin diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..c0b09d17f53a --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,36 @@ +# Maintainer: tugyan <bilaltasdelen AT windowslive DOT com> +# Contributor: peeweep <peeweep at 0x0 dot ee> +# Contributor: David Naramski <david.naramski AT gmail.com> +# Contributor: Paul Oppenheimer <redg3ar@airmail.cc> +_pkgname=kuro +pkgname=${_pkgname}-bin +pkgver=8.1.6 +pkgrel=1 +pkgdesc="An Electron wrapper for Microsoft To-Do" +arch=('x86_64') +url="https://github.com/davidsmorais/kuro" +license=('MIT') +depends=('libnotify' 'libxtst' 'nss' 'libxss') +provides=('ao' 'kuro') +conflicts=('ao' 'ao-git' 'kuro-appimage') +source=("${url}/releases/download/v${pkgver}/kuro-${pkgver}.pacman") +sha256sums=('57bd2bd2fd0af37761426bf635eb280afe7091444800085dc7315806d677e824') + +package() { + # Install the application files in /opt + install -d "${pkgdir}/opt" + cp -R "${srcdir}/opt/Kuro" "${pkgdir}/opt/" + # Link the binary + install -d ${pkgdir}/usr/bin/ + ln -s /opt/Kuro/kuro ${pkgdir}/usr/bin/kuro + # Install the .desktop file + install -D -m644 "${srcdir}/usr/share/applications/${_pkgname}.desktop" "${pkgdir}/usr/share/applications/${pkgname}.desktop" + # Install the icons + for icon_size in 16 24 32 48 64 128 256 512 1024; do + icons_dir="/usr/share/icons/hicolor/${icon_size}x${icon_size}/apps" + install -d "${pkgdir}/${icons_dir}" + install -m644 "${srcdir}${icons_dir}/${_pkgname}.png" \ + "${pkgdir}${icons_dir}/${_pkgname}.png" + done + +} |