blob: 8df9d380b8d0604bae4810da5ef296095dc01f8d (
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: tonthemoon <tonthemoon at mailbox.org>
pkgname=ton-git-bin
pkgver=0
pkgrel=2
pkgdesc="The Open Network"
arch=('x86_64')
url="https://github.com/ton-blockchain/ton"
license=('LGPL2')
depends=(
'pacman>5'
)
source=("${pkgname}.tar.gz::https://github.com/tonthemoon/ton/releases/download/nightly-linux-${arch}/ton-${arch}.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}"
}
|