summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO17
-rw-r--r--PKGBUILD24
2 files changed, 41 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..bf310b5a47d
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,17 @@
+pkgbase = gnome-shell-extension-shadowsocks-git
+ pkgdesc = Manage shadowsocks from panel menu. Support Surge subscription.
+ pkgver = r88.853af0b
+ pkgrel = 1
+ url = https://github.com/ylxdzsw/gnome-shell-extension-shadowsocks
+ arch = any
+ license = GPL3
+ makedepends = git
+ depends = gnome-shell
+ depends = curl
+ optdepends = shadowsocks: provides sslocal
+ optdepends = shadowsocks-libev: provides ss-local
+ source = git+https://github.com/ylxdzsw/gnome-shell-extension-shadowsocks.git
+ md5sums = SKIP
+
+pkgname = gnome-shell-extension-shadowsocks-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..522073052ed
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,24 @@
+# Maintainer: Zhang Shiwei <ylxdzsw@gmail.com>
+
+pkgname=gnome-shell-extension-shadowsocks-git
+pkgdesc="Manage shadowsocks from panel menu. Support Surge subscription."
+pkgver=r88.853af0b
+pkgrel=1
+arch=(any)
+url='https://github.com/ylxdzsw/gnome-shell-extension-shadowsocks'
+license=(GPL3)
+depends=('gnome-shell' 'curl')
+makedepends=('git')
+optdepends=('shadowsocks: provides sslocal' 'shadowsocks-libev: provides ss-local')
+source=('git+https://github.com/ylxdzsw/gnome-shell-extension-shadowsocks.git')
+md5sums=('SKIP')
+
+pkgver() {
+ cd "$srcdir"/gnome-shell-extension-shadowsocks
+ echo r$(git rev-list --count master).$(git rev-parse --short master)
+}
+
+package() {
+ mkdir -p "$pkgdir/usr/share/gnome-shell/extensions/"
+ cp -r "$srcdir/gnome-shell-extension-shadowsocks/shadowsocks@ylxdzsw.com" "$pkgdir/usr/share/gnome-shell/extensions"
+} \ No newline at end of file