diff options
author | Joffrey | 2020-02-23 15:19:23 +0000 |
---|---|---|
committer | Joffrey | 2020-02-23 15:19:23 +0000 |
commit | f161bb4c9f71ce2c49639934c7838ccdf9971757 (patch) | |
tree | 9faddfb8122fba3f14bbbc5a55f2ab32623b2483 /PKGBUILD | |
parent | 85d27f7df292940fc19093eae75848cdf7610a72 (diff) | |
download | aur-f161bb4c9f71ce2c49639934c7838ccdf9971757.tar.gz |
updpkg: 1.9.0
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 33 |
1 files changed, 11 insertions, 22 deletions
@@ -1,33 +1,22 @@ # Maintainer: Joffrey <j-off@live.fr> -pkgbase='python-django-statici18n' -pkgname=('python-django-statici18n' 'python2-django-statici18n') -pkgver='1.8.3' -pkgrel=2 +pkgname='python-django-statici18n' +pkgver=1.9.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') -makedepends=('python-setuptools' 'python2-setuptools') -source=("https://github.com/zyegfryed/django-statici18n/archive/$pkgver.tar.gz") -sha256sums=('035d5ff092074e7fafbace7b51a94c90e0fc0292a867d5a82654dd4bb7bbdbd2') +depends=( + 'python-django' + 'python-django-appconf' +) +makedepends=('python-setuptools') +source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz") +sha256sums=('5dfad9c3c6c75fcf4f90941aeb4745517da8ec16e8da7eeecb42d05dbe26155c') -package_python-django-statici18n() { - depends=( - 'python-django' - 'python-django-appconf' - ) +package() { cd "$srcdir/django-statici18n-$pkgver" install -Dm644 './LICENSE' "$pkgdir/usr/share/licenses/$pkgname/LICENSE" python './setup.py' install --root="$pkgdir" --optimize=1 } - -package_python2-django-statici18n() { - depends=( - 'python2-django' - 'python2-django-appconf' - ) - cd "$srcdir/django-statici18n-$pkgver" - install -Dm644 './LICENSE' "$pkgdir/usr/share/licenses/$pkgname/LICENSE" - python2 './setup.py' install --root="$pkgdir" --optimize=1 -} |