summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: e86cb9507967f7e67e5fd58fb270beef104eb959 (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: Anthony Ruhier <Anthony Ruhier>
#
# Thanks to nosada <ngsksdt@gmail.com> for his PKGBUILD

pkgname=python2-py-gfm
_pkgname=py-gfm
pkgver=0.1.4
pkgrel=1
pkgdesc="Github-Flavored Markdown for Python-Markdown"
url="https://github.com/Zopieux/py-gfm"
arch=(any)
license=('custom')
depends=('python2' 'python2-markdown')
source=("https://github.com/Zopieux/${_pkgname}/archive/${pkgver}.tar.gz")
sha1sums=('c3461883c65d3fa0d97f7bf938507e99dd64b6dd')

build() {
  cd ${srcdir}/${_pkgname}-${pkgver}
  python2 setup.py build
}

package() {
  cd ${srcdir}/${_pkgname}-${pkgver}
  python2 setup.py install --root=${pkgdir}
  install -Dm644 LICENSE \
            ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
}

# vim:set ts=2 sw=2 et: