blob: 9dd62992529ca033a1144800e222fa4ff78d590d (
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
|
# Maintainer: Lorian Coltof <loriancoltof@gmail.com>
pkgname=python-codegrade-fs
pkgver=1.1.2
pkgrel=1
pkgdesc="Python module for the CodeGrade filesystem"
arch=('x86_64')
license=('AGPL3')
url="https://codegrade.com"
depends=('python' 'python-fusepy' 'python-requests')
makedepends=('python-setuptools' 'git')
source=("$pkgname-$pkgver::git+https://github.com/CodeGra-de/CodeGra.fs.git#commit=50d99b53fe6043382ed514377394f73d6335191f")
sha256sums=('SKIP')
build() {
cd $pkgname-$pkgver
python setup.py build
}
package() {
cd $pkgname-$pkgver
python setup.py install --prefix=/usr --root="${pkgdir}" --optimize=1
install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
install -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/"
}
|