blob: 5396699c8af313cc2ad925b8bbfd8e7cd4cb731c (
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
|
# Maintainer: The3DmaN <the3dman dot appdev at protonmail dot com>
pkgname=abv-calc-git
pkgver=r136.5c54c8e
pkgrel=1
pkgdesc="ABV Calculator for Refractometers"
arch=("any")
url="https://gitlab.com/The3DmaN/${pkgname%-git}"
license=("GPL3")
makedepends=("git")
depends=("python>=3.8" "python-setuptools" "python-pyqt5" "qt5-svg" "python-requests")
provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}")
source=("git+https://gitlab.com/The3DmaN/${pkgname%-git}.git")
md5sums=("SKIP")
pkgver()
{
cd "${pkgname%-git}"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
package()
{
cd "${pkgname%-git}"
python setup.py install --optimize="1" --root="$pkgdir"
}
|