diff options
author | zxp19821005 | 2023-06-15 11:23:02 +0800 |
---|---|---|
committer | zxp19821005 | 2023-06-15 11:23:02 +0800 |
commit | f6ac68eb9c49ce09c7da37b8329b24cd581949ea (patch) | |
tree | 4401de3462f2f3f7226b6ae0cecc5d9b9aeea41a | |
download | aur-f6ac68eb9c49ce09c7da37b8329b24cd581949ea.tar.gz |
first release
-rw-r--r-- | .SRCINFO | 21 | ||||
-rw-r--r-- | PKGBUILD | 20 |
2 files changed, 41 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..7839e1572f05 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,21 @@ +pkgbase = tfiletransfer-bin + pkgdesc = Desktop application to transfer/share files, support Windows, Linux and MacOS. + pkgver = 2.2.1 + pkgrel = 1 + url = https://github.com/Tans5/tFileTransfer_desktop + arch = x86_64 + license = Apache + depends = libxext + depends = fontconfig + depends = libxi + depends = libx11 + depends = alsa-lib + depends = libglvnd + depends = glibc + depends = libxtst + depends = libxrender + depends = java-runtime + source = tfiletransfer-2.2.1.deb::https://github.com/Tans5/tFileTransfer_desktop/releases/download/v2.2.1/tfiletransfer_2.2.1_amd64.deb + sha256sums = 949d4f774f79f03ed44bdca7cf3d6a8bee3d8c1a096e367f2dfc4161dca8d3cd + +pkgname = tfiletransfer-bin diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..f04b87f631d0 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,20 @@ +# Maintainer: zxp19821005 <zxp19821005 at 163 dot com> +pkgname="tfiletransfer-bin" +_appname="tFileTransfer" +pkgver=2.2.1 +pkgrel=1 +pkgdesc="Desktop application to transfer/share files, support Windows, Linux and MacOS." +arch=('x86_64') +url="https://github.com/Tans5/tFileTransfer_desktop" +license=('Apache') +depends=('libxext' 'fontconfig' 'libxi' 'libx11' 'alsa-lib' 'libglvnd' 'glibc' 'libxtst' 'libxrender' 'java-runtime') +source=("${pkgname%-bin}-${pkgver}.deb::${url}/releases/download/v${pkgver}/${pkgname%-bin}_${pkgver}_amd64.deb") +sha256sums=('949d4f774f79f03ed44bdca7cf3d6a8bee3d8c1a096e367f2dfc4161dca8d3cd') + +package() { + bsdtar -xf "${srcdir}/data.tar.xz" -C "${pkgdir}" + install -Dm644 "${pkgdir}/opt/${pkgname%-bin}/lib/${_appname}.png" "${pkgdir}/usr/share/pixmaps" + sed "s|Icon=/opt/${pkgname%-bin}/lib/${_appname}.png|${pkgname%-bin}|g;s|未知|Utility;|g" \ + -i "${pkgdir}/opt/${pkgname%-bin}/lib/${pkgname%-bin}-${_appname}.desktop" + install -Dm644 "${pkgdir}/opt/${pkgname%-bin}/lib/${pkgname%-bin}-${_appname}.desktop" "${pkgdir}/usr/share/applications/${pkgname%-bin}.desktop" +}
\ No newline at end of file |