pkgbuilds/egyscan/PKGBUILD

40 lines
1.0 KiB
Bash
Raw Permalink Normal View History

2023-11-21 10:09:57 -06:00
# Maintainer: Kevin Muñoz (MrHacker) <david.munozm@proton.me>
2024-03-31 12:25:32 -06:00
pkgname=egyscan
_pkgname=Egyscan
pkgver=3.2
2023-11-21 10:09:57 -06:00
pkgrel=1
2024-03-31 12:25:32 -06:00
pkgdesc="egyscan the guardian angel of your digital existence"
2023-11-21 10:09:57 -06:00
arch=('x86_64')
url="https://github.com/dragonked2/Egyscan"
license=('MIT')
depends=(
'python'
);
optdepends=(
);
validpgpkeys=(
'2B9D22B41F2AF1042BFCE73A3CA0B9DF1BE7CE09'
)
2024-03-31 12:25:32 -06:00
source=(
"https://github.com/dragonked2/${_pkgname}/archive/refs/tags/Version${pkgver}.tar.gz"
"Version$pkgver.tar.gz.sig"
)
2023-11-21 10:09:57 -06:00
2024-03-31 12:25:32 -06:00
sha256sums=('62e0f55be8312a44a256460aefb3f1750a2c1eebabc021567b59bd39d13b7ad9'
'SKIP')
2023-11-21 10:09:57 -06:00
2024-03-31 12:25:32 -06:00
package() {
mkdir -p "$pkgdir/opt"
tar xf "Version${pkgver}.tar.gz" -C "$pkgdir/opt/"
mv "$pkgdir/opt/$_pkgname-Version$pkgver" "$pkgdir/opt/$pkgname"
cd "$pkgdir/opt/$pkgname"
2023-11-21 10:09:57 -06:00
python -m venv .venv
source .venv/bin/activate
pip install -r virtualrequirements.txt
2024-03-31 12:25:32 -06:00
deactivate
2023-11-21 10:09:57 -06:00
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"
}