37 lines
858 B
Bash
37 lines
858 B
Bash
# Maintainer: Kevin Muñoz (MrHacker) <david.munozm@proton.me>
|
|
pkgname=Egyscan
|
|
pkgver=3.1
|
|
pkgrel=1
|
|
pkgdesc="Egyscan the guardian angel of your digital existence"
|
|
arch=('x86_64')
|
|
url="https://github.com/dragonked2/Egyscan"
|
|
license=('MIT')
|
|
depends=(
|
|
'python'
|
|
'nuitka'
|
|
);
|
|
optdepends=(
|
|
);
|
|
validpgpkeys=(
|
|
'2B9D22B41F2AF1042BFCE73A3CA0B9DF1BE7CE09'
|
|
)
|
|
|
|
source=("https://github.com/dragonked2/$pkgname/archive/refs/tags/Version$pkgver.tar.gz")
|
|
|
|
sha256sums=('2c51acd60634874d35d1d9378e7411ed88785d21c611643f94cc2d54632782a2')
|
|
|
|
|
|
build() {
|
|
cd "$srcdir"/$pkgname-Version$pkgver
|
|
python -m venv .venv
|
|
source .venv/bin/activate
|
|
pip install -r virtualrequirements.txt
|
|
nuitka3 --standalone egy.py
|
|
cd egy.dist
|
|
mv egy.bin ./egyscan
|
|
}
|
|
|
|
package() {
|
|
cp --recursive "$srcdir"/$pkgname-Version$pkgver/egy.dist "$pkgdir"/opt/$pkgname/
|
|
}
|