blob: feef4308aabf38623bc3f2428cb7d8f15d479e71 (
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
|
# Maintainer: Neolux Lee <aur.neolux@neolux.cn.eu.org>
pkgname=cjlu-exams2calendar
_pkgname=exams2calendar
pkgver=1.0
pkgrel=0
pkgdesc='Convert exams info of CJLU to calendar events'
arch=(
'x86_64'
'arm64'
)
url='https://github.com/neoluxis/CJLU_Exam2Calendar'
depends=(
'python' 'python-pytesseract' 'python-pillow'
)
source=(
"$_pkgname::git+https://github.com/neoluxis/CJLU_Exam2Calendar"
)
sha256sums=('SKIP')
prepare() {
cd $_pkgname
cp main.py $_pkgname
}
build() {
cd $_pkgname
chmod +x $_pkgname
}
package() {
install -Dm755 "$_pkgname/$_pkgname" "${pkgdir}/usr/bin/$_pkgname"
}
|