diff options
author | Iamnotagenius | 2021-10-10 22:07:53 +0300 |
---|---|---|
committer | Iamnotagenius | 2021-10-10 22:07:53 +0300 |
commit | ab6ddffc70afb6d787ad87b157875b53ffb30265 (patch) | |
tree | 989f5bfe227efb5101d730940299e6b9b6162dc3 | |
download | aur-ab6ddffc70afb6d787ad87b157875b53ffb30265.tar.gz |
God's bevm on the AUR!
-rw-r--r-- | .SRCINFO | 17 | ||||
-rw-r--r-- | PKGBUILD | 23 |
2 files changed, 40 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..fa37351c7d7f --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,17 @@ +pkgbase = bevm + pkgdesc = A God's basic evm + pkgver = 1.3 + pkgrel = 1 + url = https://github.com/JustAGod1/bevm + arch = any + license = GPL + makedepends = git + makedepends = rust + depends = glibc + depends = sdl2 + depends = gtk3 + depends = gcc-libs + source = bevm-1.3::git+https://github.com/JustAGod1/bevm + md5sums = SKIP + +pkgname = bevm diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..4f91730472ef --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,23 @@ +# Maintainer: JustAGod <JustAGod1@github.com> +pkgname=bevm +pkgver=1.3 # Версия проги +pkgrel=1 # Номер релиза +pkgdesc="A God's basic evm" +arch=('any') +url="https://github.com/JustAGod1/bevm" +license=('GPL') +depends=('glibc' 'sdl2' 'gtk3' 'gcc-libs') +makedepends=('git' 'rust') +source=("$pkgname-$pkgver"::"git+https://github.com/JustAGod1/bevm") +md5sums=('SKIP') #autofill using updpkgsums + +build() { + cd "$pkgname-$pkgver" + cargo build --release + tar -czf artifacts/Linux-BasePC2.tar.gz -C target/release evm +} + +package() { + mkdir -p "$pkgdir/usr/bin" + cp "$srcdir/$pkgname-$pkgver/target/release/evm" "$pkgdir/usr/bin/" +} |