diff options
author | Joffrey | 2018-06-15 14:21:25 +0000 |
---|---|---|
committer | Joffrey | 2018-06-15 14:21:25 +0000 |
commit | a31dc1f560c7da2150cbe1f47bf8c625d49e470a (patch) | |
tree | 4d067a8ecb0d936f372c22c68584bd760fd364da | |
download | aur-a31dc1f560c7da2150cbe1f47bf8c625d49e470a.tar.gz |
Initial commit
-rw-r--r-- | .SRCINFO | 24 | ||||
-rw-r--r-- | PKGBUILD | 37 |
2 files changed, 61 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..d79267925091 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,24 @@ +pkgbase = python-django-webpack-loader + pkgdesc = Transparently use webpack with django + pkgver = 0.6.0 + pkgrel = 1 + url = https://github.com/owais/django-webpack-loader + arch = any + license = MIT + makedepends = python-setuptools + makedepends = python2-setuptools + source = https://github.com/owais/django-webpack-loader/archive/0.6.0.tar.gz + sha256sums = 5859d1794a08a02d2453b29a4a5c847bb2e16e415c4b9b13979f7cd90e209005 + +pkgname = python-django-webpack-loader + depends = python-django + depends = python-lxml + depends = python-six + depends = python-requests + +pkgname = python2-django-webpack-loader + depends = python2-django + depends = python2-lxml + depends = python2-six + depends = python2-requests + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..371111b948f9 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,37 @@ +# Maintainer: Joffrey <j-off@live.fr> + +pkgbase='python-django-webpack-loader' +pkgname=('python-django-webpack-loader' 'python2-django-webpack-loader') +pkgver='0.6.0' +pkgrel=1 +pkgdesc='Transparently use webpack with django' +arch=('any') +url='https://github.com/owais/django-webpack-loader' +license=('MIT') +makedepends=('python-setuptools' 'python2-setuptools') +source=("https://github.com/owais/django-webpack-loader/archive/$pkgver.tar.gz") +sha256sums=('5859d1794a08a02d2453b29a4a5c847bb2e16e415c4b9b13979f7cd90e209005') + +package_python-django-webpack-loader() { + depends=( + 'python-django' + 'python-lxml' + 'python-six' + 'python-requests' + ) + cd "$srcdir/django-webpack-loader-$pkgver" + install -Dm644 './LICENSE' "$pkgdir/usr/share/licenses/$pkgname/LICENSE" + python './setup.py' install --root="$pkgdir" --optimize=1 +} + +package_python2-django-webpack-loader() { + depends=( + 'python2-django' + 'python2-lxml' + 'python2-six' + 'python2-requests' + ) + cd "$srcdir/django-webpack-loader-$pkgver" + install -Dm644 './LICENSE' "$pkgdir/usr/share/licenses/$pkgname/LICENSE" + python2 './setup.py' install --root="$pkgdir" --optimize=1 +} |