39 lines
1021 B
Bash
39 lines
1021 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'
|
|
);
|
|
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() {
|
|
cd "$srcdir/$pkgname-Version$pkgver"
|
|
install -Dm755 "egy.dist" "$pkgdir/etc/egyscan"
|
|
install -D -p -m 644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
|
|
install -D -p -m 644 README.md "${pkgdir}/usr/share/doc/${pkgname}/README.md"
|
|
}
|