summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorransome12021-04-18 19:25:40 +0200
committerransome12021-04-18 19:25:40 +0200
commit43738ffd752261f9966b74fbdf258b61caa4568b (patch)
tree0ba999d26a0778f2395d4e7b56867b1529f4e00a
parentcda7da3388e7c13c6691a06ceac0055c1c75b803 (diff)
downloadaur-43738ffd752261f9966b74fbdf258b61caa4568b.tar.gz
Fixed permission issue with sleek.sh and added new checksums
-rw-r--r--.gitignore4
-rw-r--r--PKGBUILD11
-rw-r--r--sleek.desktop2
3 files changed, 12 insertions, 5 deletions
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..3f0843f2171
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,4 @@
+*.zip
+*.pkg.tar.zst
+/src
+/pkg
diff --git a/PKGBUILD b/PKGBUILD
index 3a79c0c07d5..17e031c0437 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -9,8 +9,10 @@ license=("MIT")
options=(!strip)
makedepends=("npm")
depends=("electron")
-source=("${url}archive/refs/tags/v${pkgver}.zip" "${$pkgname}.desktop" "${$pkgname}.sh")
-sha512sums=("5640346112e259d48df4c2f3e60fdf070a262438612fddcf35bc36dea47710a987def1e816ca839cf5cc195599ce0526d322d371b43339e14ba2aadf43d2a86c" "605f49606eb0656846ac5dc3b97eca0acb3a781b07c71aff1e027935d5e8ea569d290c95d67bd7347ddd133c1643e6f3c6fe36bd1b52f49e528b34a458afe316" "13d651476d302af9d013c04c396c9b8f53114cf05adaf9cd80c0f452a6da8da45751e971cc2a6d2621d1480d04d6ba717aadf52982922ef9bfde867221b51845")
+source=("${url}archive/refs/tags/v${pkgver}.zip" "sleek.desktop" "sleek.sh")
+sha512sums=('5640346112e259d48df4c2f3e60fdf070a262438612fddcf35bc36dea47710a987def1e816ca839cf5cc195599ce0526d322d371b43339e14ba2aadf43d2a86c'
+ '60777dbda8202e5a265a274d126d30269fb8fba67641d22a83be19b353b4805cbed2a3c80bbc0e6ed7c0fe7ae21c3cde59b784d42d3ba941bb0fdf022c1375e8'
+ '13d651476d302af9d013c04c396c9b8f53114cf05adaf9cd80c0f452a6da8da45751e971cc2a6d2621d1480d04d6ba717aadf52982922ef9bfde867221b51845')
build() {
unzip -o "v${pkgver}.zip"
@@ -20,10 +22,11 @@ build() {
package() {
cd "$srcdir/$pkgname-${pkgver}"
+ ls
npm run pack
install -Dm644 "dist/linux-unpacked/resources/app.asar" "$pkgdir/usr/lib/$pkgname.asar"
install -d -Dm644 "${pkgdir}/usr/share"
cp -r "dist/linux-unpacked/${pkgname}" "${pkgdir}/usr/share"
- install -Dm755 "aur/${pkgname}.sh" -t "$pkgdir/usr/bin/${pkgname}"
- install -Dm644 "aur/${pkgname}.desktop" -t "$pkgdir/usr/share/applications/"
+ install -Dm755 "../${pkgname}.sh" -t "$pkgdir/usr/bin/"
+ install -Dm644 "../${pkgname}.desktop" -t "$pkgdir/usr/share/applications/"
}
diff --git a/sleek.desktop b/sleek.desktop
index d82eeedf42e..0e8999e8e45 100644
--- a/sleek.desktop
+++ b/sleek.desktop
@@ -1,6 +1,6 @@
[Desktop Entry]
Name=sleek
-Exec=/usr/bin/sleek
+Exec=/usr/bin/sleek.sh
Terminal=false
Type=Application
Icon=sleek