blob: 5bdb2b5c07d5c285d0f9ecf57b425ca8eae668db (
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: Noel Jacob
# Contributor: neodiX (original PKGBUILD)
pkgname=ton
pkgver=2023.06
pkgrel=1
pkgdesc="Ultra-scalable blockchain, designed by Telegram to onboard billions of users."
arch=('x86_64')
url="https://github.com/ton-blockchain/ton"
license=('LGPL2')
provides=('ton')
conflicts=('ton-bin')
source=("${pkgname}.tar.gz::https://github.com/ton-blockchain/packages/releases/latest/download/ton-linux-x86-64.tar.gz")
sha256sums=('SKIP')
package() {
cd "$srcdir"
mkdir -p ${pkgdir}/usr/bin
cp -a bin/* ${pkgdir}/usr/bin
if [ -d lib ]; then
mkdir -p ${pkgdir}/usr/lib
cp -a lib/* ${pkgdir}/usr/lib;
fi
# Fix permissions
chmod -R go-w "${pkgdir}"
}
|