blob: db4a8d46f2ba4d7f1e5fd89884f1dc69bb0021c2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
# Maintainer: Nima Fanniasl <nma.fanniasl@gmail.com>
pkgname=araste-git
pkgver=3.2
pkgrel=2
pkgdesc="Making ascii-art out of Persian/Arabic text"
arch=('any')
url="https://github.com/ekm507/araste/"
license=('AGPLv3')
depends=("python" "python-setuptools" "python-pip" "python-installer" "python-build" "python-wheel")
makedepends=("git")
source=("araste-git::git+https://github.com/ekm507/araste.git")
md5sums=('SKIP')
pkgver() {
cd "${srcdir}/${pkgname}"
git describe --tags main | cut -d- -f1 | sed 's/v//g'
}
prepare() {
cat <<'EOF'
██████
████ ██ ██
████ ██ ██
████ ██ ██ ██ ██ ██ ██ ██
██████████████████████ ██ ██ ██
██
██
EOF
}
build() {
cd "${srcdir}/${pkgname}"
python -m build --wheel --no-isolation
}
package() {
cd "${srcdir}/${pkgname}"
python -m installer --destdir="$pkgdir" dist/*.whl
}
|