diff options
author | littzhch | 2022-11-19 23:05:33 +0800 |
---|---|---|
committer | littzhch | 2022-11-19 23:05:33 +0800 |
commit | 32e9baad68703845057cc82bf2c199b3f1003404 (patch) | |
tree | a858d598d7d94a224843ec8a9061bbb9d1405b3d | |
download | aur-32e9baad68703845057cc82bf2c199b3f1003404.tar.gz |
first version
-rw-r--r-- | .SRCINFO | 19 | ||||
-rw-r--r-- | .gitignore | 6 | ||||
-rw-r--r-- | PKGBUILD | 30 |
3 files changed, 55 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..d889bc18d110 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,19 @@ +pkgbase = kuro-electron + pkgdesc = An Electron wrapper for Microsoft To-Do, use system electron18 + pkgver = 8.1.6 + pkgrel = 1 + url = https://github.com/davidsmorais/kuro + arch = any + license = MIT + depends = libnotify + depends = libxtst + depends = libxss + depends = electron18 + provides = ao + provides = kuro + conflicts = ao + conflicts = kuro + source = https://github.com/davidsmorais/kuro/releases/download/v8.1.6/kuro-8.1.6.pacman + sha256sums = 57bd2bd2fd0af37761426bf635eb280afe7091444800085dc7315806d677e824 + +pkgname = kuro-electron diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..6f947647c92e --- /dev/null +++ b/.gitignore @@ -0,0 +1,6 @@ +src +pkg +*.src.tar.gz +*.pkg.tar.xz +*.pkg.tar.zst +*.pacman
\ No newline at end of file diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..a3e90aabdd09 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,30 @@ +# Maintainer: littzhch <2371050115@qq.com> +# Contributor: 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"-electron +pkgver=8.1.6 +pkgrel=1 +pkgdesc="An Electron wrapper for Microsoft To-Do, use system electron18" +arch=('any') +url="https://github.com/davidsmorais/kuro" +license=('MIT') +depends=('libnotify' 'libxtst' 'libxss' 'electron18') +provides=('ao' 'kuro') +conflicts=('ao' 'kuro') +source=("$url/releases/download/v$pkgver/kuro-$pkgver.pacman") +sha256sums=('57bd2bd2fd0af37761426bf635eb280afe7091444800085dc7315806d677e824') + +package() { + install -Dm644 "$srcdir/opt/Kuro/resources/app.asar" "$pkgdir/usr/share/kuro/app.asar" + + install -d "$pkgdir/usr/bin" + echo "#!/bin/sh +exec electron18 /usr/share/kuro/app.asar \"\$@\"" > "$pkgdir/usr/bin/kuro" + chmod 755 "$pkgdir/usr/bin/kuro" + + sed -i "s/\/opt\/Kuro\///" "$srcdir/usr/share/applications/$_pkgname.desktop" + cp -R "$srcdir/usr/share" "$pkgdir/usr/" +}
\ No newline at end of file |