Skip to content

Instantly share code, notes, and snippets.

@RcrdBrt
Last active July 19, 2017 12:33
Show Gist options
  • Save RcrdBrt/99d4b5932b92be3258344f8df46f2f8f to your computer and use it in GitHub Desktop.
Save RcrdBrt/99d4b5932b92be3258344f8df46f2f8f to your computer and use it in GitHub Desktop.

Revisions

  1. RcrdBrt revised this gist Jul 19, 2017. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion PKGBUILD-python-django-bootstrap3
    Original file line number Diff line number Diff line change
    @@ -9,7 +9,7 @@ url="http://github.com/dyve/django-bootstrap3"
    license=('Apache')
    makedepends=('python' 'python-setuptools' 'python2' 'python2-setuptools')
    source=("https://github.com/dyve/django-bootstrap3/archive/${pkgver}.tar.gz")
    md5sums=('aeacf7cbeabb9013c04de40ba534f8b0')
    md5sums=('c516c9427f926ab903eb21cd32dc130f')

    build() {
    cp -r ${srcdir}/django-bootstrap3-${pkgver} ${srcdir}/django-bootstrap3-${pkgver}-py2
  2. RcrdBrt created this gist Jul 19, 2017.
    34 changes: 34 additions & 0 deletions PKGBUILD-python-django-bootstrap3
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,34 @@
    # Maintainer: Miguel de Val-Borro <miguel at archlinux dot net>

    pkgname=('python-django-bootstrap3' 'python2-django-bootstrap3')
    pkgver=9.0.0
    pkgrel=1
    pkgdesc="Bootstrap 3 integration with Django"
    arch=('any')
    url="http://github.com/dyve/django-bootstrap3"
    license=('Apache')
    makedepends=('python' 'python-setuptools' 'python2' 'python2-setuptools')
    source=("https://github.com/dyve/django-bootstrap3/archive/${pkgver}.tar.gz")
    md5sums=('aeacf7cbeabb9013c04de40ba534f8b0')

    build() {
    cp -r ${srcdir}/django-bootstrap3-${pkgver} ${srcdir}/django-bootstrap3-${pkgver}-py2

    cd ${srcdir}/django-bootstrap3-${pkgver}
    python setup.py build

    cd ${srcdir}/django-bootstrap3-${pkgver}-py2
    python2 setup.py build
    }

    package_python-django-bootstrap3() {
    depends=('python-django')
    cd ${srcdir}/django-bootstrap3-${pkgver}
    python setup.py install --prefix=/usr --root=${pkgdir}
    }

    package_python2-django-bootstrap3() {
    depends=('python2-django')
    cd ${srcdir}/django-bootstrap3-${pkgver}-py2
    python2 setup.py install --prefix=/usr --root=${pkgdir}
    }