mirror of
https://github.com/archlinux/aur.git
synced 2026-02-17 09:43:48 +01:00
Update to 0.2.8
This commit is contained in:
parent
3eebdffe5a
commit
2c1b5177a5
2 changed files with 12 additions and 21 deletions
7
.SRCINFO
7
.SRCINFO
|
|
@ -1,6 +1,6 @@
|
|||
pkgbase = terx-bin
|
||||
pkgdesc = Cross-platform SSH client with GPU-accelerated terminal rendering
|
||||
pkgver = 0.2.7
|
||||
pkgver = 0.2.8
|
||||
pkgrel = 1
|
||||
url = https://github.com/OutrageLabs/terX
|
||||
arch = x86_64
|
||||
|
|
@ -18,9 +18,10 @@ pkgbase = terx-bin
|
|||
optdepends = gst-plugins-good: video/audio support
|
||||
provides = terx
|
||||
conflicts = terx
|
||||
noextract = terx-bin-0.2.8.pkg.tar.zst
|
||||
options = !strip
|
||||
options = !debug
|
||||
source = terx-bin-0.2.7.deb::https://github.com/OutrageLabs/terX/releases/download/v0.2.7/terX_0.2.7_amd64.deb
|
||||
sha256sums = SKIP
|
||||
source = terx-bin-0.2.8.pkg.tar.zst::https://github.com/OutrageLabs/terX/releases/download/v0.2.8/terx-bin-0.2.8-1-x86_64.pkg.tar.zst
|
||||
sha256sums = cbed804206596255ca2e796a29671d11555e83d68a1016b6b9a78fe43700fd83
|
||||
|
||||
pkgname = terx-bin
|
||||
|
|
|
|||
26
PKGBUILD
26
PKGBUILD
|
|
@ -1,6 +1,6 @@
|
|||
# Maintainer: kofany <j@dabrowski.biz>
|
||||
pkgname=terx-bin
|
||||
pkgver=0.2.7
|
||||
pkgver=0.2.8
|
||||
pkgrel=1
|
||||
pkgdesc="Cross-platform SSH client with GPU-accelerated terminal rendering"
|
||||
arch=('x86_64')
|
||||
|
|
@ -24,24 +24,14 @@ optdepends=(
|
|||
provides=('terx')
|
||||
conflicts=('terx')
|
||||
options=('!strip' '!debug')
|
||||
source=("${pkgname}-${pkgver}.deb::https://github.com/OutrageLabs/terX/releases/download/v${pkgver}/terX_${pkgver}_amd64.deb")
|
||||
sha256sums=('SKIP')
|
||||
source=("terx-bin-${pkgver}.pkg.tar.zst::https://github.com/OutrageLabs/terX/releases/download/v${pkgver}/terx-bin-${pkgver}-1-x86_64.pkg.tar.zst")
|
||||
sha256sums=('cbed804206596255ca2e796a29671d11555e83d68a1016b6b9a78fe43700fd83')
|
||||
noextract=("terx-bin-${pkgver}.pkg.tar.zst")
|
||||
|
||||
package() {
|
||||
cd "${srcdir}"
|
||||
|
||||
# Extract deb
|
||||
bsdtar -xf data.tar.* -C "${pkgdir}/"
|
||||
|
||||
# Ensure binary is executable
|
||||
if [[ -f "${pkgdir}/usr/bin/terx" ]]; then
|
||||
chmod 755 "${pkgdir}/usr/bin/terx"
|
||||
elif [[ -f "${pkgdir}/usr/bin/ter-x" ]]; then
|
||||
chmod 755 "${pkgdir}/usr/bin/ter-x"
|
||||
ln -sf ter-x "${pkgdir}/usr/bin/terx"
|
||||
fi
|
||||
|
||||
# Install license
|
||||
install -Dm644 /dev/null "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
|
||||
echo "terX is proprietary software. See https://github.com/OutrageLabs/terX" > "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
|
||||
# Extract the pre-built Arch package directly
|
||||
bsdtar -xf "terx-bin-${pkgver}.pkg.tar.zst" -C "${pkgdir}/"
|
||||
# Remove package metadata (we're repackaging)
|
||||
rm -f "${pkgdir}/.PKGINFO" "${pkgdir}/.BUILDINFO" "${pkgdir}/.MTREE" 2>/dev/null || true
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue