blob: c36c552a8c64b95b352b96de64ce7606743c1d00 (
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: Joffrey <j-off@live.fr>
pkgname='python-django-statici18n'
pkgver=2.6.0
pkgrel=1
pkgdesc='A Django app that provides helper for generating JavaScript catalog to static files'
arch=('any')
url='https://github.com/zyegfryed/django-statici18n'
license=('BSD')
depends=(
'python-django'
'python-django-appconf'
)
makedepends=(
'python-build'
'python-installer'
'python-setuptools'
'python-wheel'
)
source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
sha256sums=('cd3ce81138c9ec5ae864cd0c891ea44d12b0b75cb966768c5a86ca94aea2a62d')
build() {
cd "$srcdir/django-statici18n-$pkgver"
python -m build --wheel --no-isolation
}
package() {
cd "$srcdir/django-statici18n-$pkgver"
install -Dm644 './LICENSE' "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
python -m installer --destdir="$pkgdir" dist/*.whl
}
|