summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorSkykey2020-07-07 16:47:14 +0800
committerSkykey2020-07-07 16:47:14 +0800
commitf8c3898d5443ae8f6a3a9f6a12259b8675a468c5 (patch)
treea00247b98aef3e067fca26387c9e2e22c9c387e9
downloadaur-f8c3898d5443ae8f6a3a9f6a12259b8675a468c5.tar.gz
first commit
-rw-r--r--.SRCINFO21
-rw-r--r--PKGBUILD28
2 files changed, 49 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..9b3b1a9125e
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,21 @@
+pkgbase = clashy-bin
+ pkgdesc = A GUI proxy client for Windows / Mac / Ubuntu Desktop based on Clash and Electron. Windows / Mac / Ubuntu 适用的Clash客户端.
+ pkgver = 0.1.16
+ pkgrel = 1
+ url = https://github.com/SpongeNobody/Clashy
+ arch = x86_64
+ depends = libnotify
+ depends = nss
+ depends = libxss
+ depends = xdg-utils
+ depends = libutil-linux
+ depends = libappindicator-gtk3
+ depends = libsecret
+ depends = gobject-introspection-runtime
+ depends = ffmpeg
+ provides = clashy
+ source = https://github.com/SpongeNobody/Clashy/releases/download/v0.1.16/Clashy_0.1.16_amd64.deb
+ md5sums = 5fd3bccf1ebd5b11f6c0a9b7e9c13519
+
+pkgname = clashy-bin
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..5214ef0581e
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,28 @@
+#Maintainer: Skykey <zcxzxlc@163.com>
+
+pkgname=('clashy-bin')
+pkgver=0.1.16
+pkgrel=1
+pkgdesc="A GUI proxy client for Windows / Mac / Ubuntu Desktop based on Clash and Electron. Windows / Mac / Ubuntu 适用的Clash客户端."
+provides=("clashy")
+url='https://github.com/SpongeNobody/Clashy'
+arch=('x86_64')
+depends=('libnotify' 'nss' 'libxss' 'xdg-utils' 'libutil-linux' 'libappindicator-gtk3' 'libsecret' 'gobject-introspection-runtime' 'ffmpeg')
+source=("https://github.com/SpongeNobody/Clashy/releases/download/v0.1.16/Clashy_0.1.16_amd64.deb"
+)
+md5sums=('5fd3bccf1ebd5b11f6c0a9b7e9c13519'
+)
+license=()
+
+package(){
+ cd ${srcdir}
+ tar -xJvf data.tar.xz -C "${pkgdir}"
+
+ install -Dm644 "${pkgdir}"/usr/share/icons/hicolor/0x0/apps/clashy.png "${pkgdir}"/usr/share/icons/clashy.png
+
+ rm -rf "${pkgdir}"/opt/Clashy/libEGL.so
+ rm -rf "${pkgdir}"/opt/Clashy/libGLESv2.so
+
+ mkdir -p "${pkgdir}"/usr/bin
+ ln -s /opt/Clashy/clashy "${pkgdir}"/usr/bin/clashy
+}