blob: 5bfd88f800801a922d6ed4ab8c4518dc7e701528 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
# Maintainer: Tony G. <aur at tonyskapunk dot net>
pkgname='scaleft-client-tools'
pkgdesc='ScaleFT client tools'
pkgver=1.25.3
pkgrel=1
arch=('x86_64')
url="https://scaleft.com"
license=('custom')
makedepends=('rpmextract')
depends=('glibc')
source=("https://pkg.scaleft.com/rpm/${pkgname}-${pkgver}-${pkgrel}.${arch}.rpm")
sha256sums=('1cefc915e29218e1f6629b519e64d56e00c01e49a48c4e5514f5f9450c3dfe14')
prepare() {
rpmextract.sh ${pkgname}-${pkgver}-${pkgrel}.${arch}.rpm
}
package() {
install -Dm0755 usr/bin/sft ${pkgdir}/usr/bin/sft
install -Dm0644 usr/share/doc/scaleft-client-tools/LICENSE.txt \
${pkgdir}/share/doc/scaleft-client-tools/LICENSE.txt
}
# deb: curl -s https://pkg.scaleft.com/deb/pool/linux/main/s/scaleft-client-tools/ | grep -Po 'scale[\w-\d.]*' | sort -V | tail -1
# rpm: curl -s https://pkg.scaleft.com/rpm/ | grep -Po 'scaleft-client-tools[\w-\d.]*' | sort -V | tail -1
|