diff options
author | ghactions | 2023-05-10 23:23:29 +0200 |
---|---|---|
committer | ghactions | 2023-05-10 23:23:29 +0200 |
commit | a71e8af8a21d5c7b9971e6214f9dc665986678e4 (patch) | |
tree | 6eaf3c5c8c7278c99265201c21a0c487db71d788 | |
download | aur-a71e8af8a21d5c7b9971e6214f9dc665986678e4.tar.gz |
create AUR TON release v2023.04
-rwxr-xr-x | .SRCINFO | 13 | ||||
-rwxr-xr-x | PKGBUILD | 25 |
2 files changed, 38 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100755 index 000000000000..5a6033a22d78 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,13 @@ +pkgbase = ton + pkgdesc = The Open Network + pkgver = 0 + pkgrel = 2 + url = https://github.com/ton-blockchain/ton + arch = x86_64 + license = LGPL2 + depends = pacman>5 + source = ton.zip::https://github.com/ton-blockchain/ton/releases/latest/download/ton-linux-x86_64.zip + sha256sums = SKIP + +pkgname = ton + diff --git a/PKGBUILD b/PKGBUILD new file mode 100755 index 000000000000..d4d9c6b580a0 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,25 @@ +pkgname=ton +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}.zip::https://github.com/ton-blockchain/ton/releases/latest/download/ton-linux-x86_64.zip") +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}" +} |