diff options
author | zxp19821005 | 2023-10-19 15:22:22 +0800 |
---|---|---|
committer | zxp19821005 | 2023-10-19 15:22:22 +0800 |
commit | f3a3068575789193a428cb34099deb29e7bba7ff (patch) | |
tree | c17cc0c32be95ad689ea3ee36e3cf59a1811b1fa | |
download | aur-f3a3068575789193a428cb34099deb29e7bba7ff.tar.gz |
update to 0.3.1
-rw-r--r-- | .SRCINFO | 24 | ||||
-rw-r--r-- | PKGBUILD | 25 |
2 files changed, 49 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..2f8704f7ebab --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,24 @@ +pkgbase = sub-trans-bin + pkgdesc = A GUI tool swap subtitle between tchinese and schinese + pkgver = 0.3.1 + pkgrel = 1 + url = https://github.com/dreamfliper/subTrans + arch = x86_64 + license = unknown + depends = cairo + depends = dbus + depends = pango + depends = glibc + depends = gcc-libs + depends = gtk3 + depends = openssl + depends = glib2 + depends = webkit2gtk + depends = gdk-pixbuf2 + depends = hicolor-icon-theme + provides = sub-trans=0.3.1 + conflicts = sub-trans + source = sub-trans-0.3.1.deb::https://github.com/dreamfliper/subTrans/releases/download/v0.3.1/sub-trans_0.3.1_amd64.deb + sha256sums = 14cb85606b6a01cf7a4bae02dc646fc0947bc9aada5debbfac5e07977d320a56 + +pkgname = sub-trans-bin diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..a8ffa92a7575 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,25 @@ +# Maintainer: zxp19821005 <zxp19821005 at 163 dot com> +pkgname=sub-trans-bin +_pkgname="Panfu Desktop" +pkgver=0.3.1 +pkgrel=1 +pkgdesc="A GUI tool swap subtitle between tchinese and schinese" +arch=("x86_64") +url="https://github.com/dreamfliper/subTrans" +license=('unknown') +provides=("${pkgname%-bin}=${pkgver}") +conflicts=("${pkgname%-bin}") +depends=('cairo' 'dbus' 'pango' 'glibc' 'gcc-libs' 'gtk3' 'openssl' 'glib2' 'webkit2gtk' 'gdk-pixbuf2' 'hicolor-icon-theme') +source=("${pkgname%-bin}-${pkgver}.deb::${url}/releases/download/v${pkgver}/${pkgname%-bin}_${pkgver}_amd64.deb") +sha256sums=('14cb85606b6a01cf7a4bae02dc646fc0947bc9aada5debbfac5e07977d320a56') +build() { + bsdtar -xf "${srcdir}/data.tar.gz" +} +package() { + install -Dm755 "${srcdir}/usr/bin/${pkgname%-bin}" -t "${pkgdir}/usr/bin" + install -Dm644 "${srcdir}/usr/share/applications/${pkgname%-bin}.desktop" -t "${pkgdir}/usr/share/applications" + for _icons in 16x16 32x32 128x128 256x256 512x512;do + install -Dm644 "${srcdir}/usr/share/icons/hicolor/${_icons}/apps/${pkgname%-bin}.png" \ + -t "${pkgdir}/usr/share/icons/hicolor/${_icons}/apps" + done +}
\ No newline at end of file |