summarylogtreecommitdiffstats
diff options
context:
space:
mode:
author派了个萌2023-03-06 22:41:37 +0800
committer派了个萌2023-03-06 22:41:37 +0800
commitab5df45618613ec1cdc17066faf006315cc9db85 (patch)
tree62a563204bd9101ff9d00b61ce6c6a18793468ff
downloadaur-ab5df45618613ec1cdc17066faf006315cc9db85.tar.gz
init
-rw-r--r--.SRCINFO16
-rw-r--r--PKGBUILD19
2 files changed, 35 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 000000000000..ad89f6af7f40
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,16 @@
+pkgbase = pot-translation-bin
+ pkgdesc = 一个跨平台的划词翻译软件
+ pkgver = 0.0.2
+ pkgrel = 0
+ url = https://github.com/Pylogmon/pot
+ arch = x86_64
+ license = GPL3
+ depends = libappindicator-gtk3
+ depends = webkit2gtk
+ depends = gtk3
+ depends = libayatana-appindicator
+ depends = xsel
+ source = pot-0.0.2-x86_64.deb::https://github.com/Pylogmon/pot/releases/download/0.0.2/pot_0.0.2_amd64.deb
+ sha512sums = 0bcd316e7e180b5b6e3a1596e117b6d45675c6d53878c5b0cc5849a6d19d3327be2d2111eb1503f01dcd391cc4892927b7af00ac58b5e6904082b2974a2a0fba
+
+pkgname = pot-translation-bin
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 000000000000..958a6ae88cfc
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,19 @@
+# Maintainer: Pylogmon <pylogmon@outlook.com>
+
+pkgname=pot-translation-bin
+prjname=pot
+pkgver=0.0.2
+pkgrel=0
+pkgdesc="一个跨平台的划词翻译软件"
+arch=('x86_64')
+url="https://github.com/Pylogmon/pot"
+license=('GPL3')
+depends=('libappindicator-gtk3' 'webkit2gtk' 'gtk3' 'libayatana-appindicator' 'xsel')
+
+source=("${prjname}-${pkgver}-${arch}.deb::https://github.com/Pylogmon/pot/releases/download/${pkgver}/${prjname}_${pkgver}_amd64.deb")
+
+sha512sums=('0bcd316e7e180b5b6e3a1596e117b6d45675c6d53878c5b0cc5849a6d19d3327be2d2111eb1503f01dcd391cc4892927b7af00ac58b5e6904082b2974a2a0fba')
+
+package() {
+ tar xpf data.tar.gz -C ${pkgdir}
+}