Archlinux pkgbuild

This commit is contained in:
Hanh 2023-03-09 16:12:56 +10:00
parent 01568fd506
commit 70aebff12d
2 changed files with 40 additions and 1 deletions

View File

@ -196,7 +196,7 @@ you'd probably be better installing an IDE and the dependencies (Flutter & Rust)
- Install the discsize & scp plugins
- Use the `Vagrantfile` & `vagrant-install.sh` from `misc`
- Edit `Vagrantfile` if you want to change:
- # of CPU
- Number of CPU
- VM memory
- Zwallet branch
- vagrant up

39
misc/PKGBUILD Normal file
View File

@ -0,0 +1,39 @@
# Maintainer: Hanh Huynh Huu <hanh425@gmail.com>
pkgname=ywallet-bin
pkgver=1.3.5
pkgrel=398
pkgdesc='Ycash/Zcash wallet'
arch=('x86_64')
url='https://ywallet.app'
license=('MIT')
groups=()
depends=('gtk3' 'gst-plugins-base-libs')
makedepends=()
checkdepends=()
optdepends=()
provides=()
conflicts=()
replaces=()
backup=()
options=()
install=
changelog=
source=(zwallet.tgz::https://github.com/hhanh00/zwallet/releases/download/v${pkgver}%2B${pkgrel}/zwallet.tgz
libwarp_api_ffi.so::https://github.com/hhanh00/zwallet/releases/download/v${pkgver}%2B${pkgrel}/libwarp_api_ffi.so)
noextract=('zwallet.tgz')
sha256sums=('69d28179d6dc7706737aa2fe122e0f55865c8e936ef5c7901193f706c3fc498f'
'9ad22794ab965be36abb1bfb2a885c2d7cde3340bc0a3cbbc014f94376eba612')
prepare() {
mkdir -p ywallet
tar xv -f zwallet.tgz -C ywallet
}
build() {
cp libwarp_api_ffi.so ywallet/lib
}
package() {
mkdir -p $pkgdir/usr/bin
cp -ra $srcdir/ywallet/* $pkgdir/usr/bin
}