blob: 6737b2f084b16c9ad09ca1b0e819aaa6e0e6ce30 (
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
33
34
35
36
37
38
39
40
|
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer:
pkgname=py-mkdocs-bootswatch
pkgver=0.1.0
pkgrel=0
pkgdesc="MkDocs Bootswatch Themes"
url="https://github.com/mkdocs/mkdocs-bootswatch"
arch="noarch"
license="BSD"
depends=""
depends_dev=""
makedepends="$depends_dev py-setuptools"
install=""
subpackages=""
source="mkdocs-bootswatch-$pkgver.tar.gz::https://github.com/mkdocs/mkdocs-bootswatch/archive/$pkgver.tar.gz"
_builddir="$srcdir"/mkdocs-bootswatch-$pkgver
prepare() {
local i
cd "$_builddir"
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
}
build() {
cd "$_builddir"
python setup.py build || return 1
}
package() {
cd "$_builddir"
python setup.py install --prefix=/usr --root="$pkgdir" || return 1
}
md5sums="3d20297a046ec2b1fbc0134262130112 mkdocs-bootswatch-0.1.0.tar.gz"
sha256sums="82537b39ba4ccbeda19a53cc6f2e5fcb7b7700cdd27709506eb1043ff712fb04 mkdocs-bootswatch-0.1.0.tar.gz"
sha512sums="e3762d7edb4533620eae1fd0764f216be07aa49acde98b6df074bb29f80c6b3d10e97a465663adcff81f7702de976f28dbf78dbeb9a556f87b69605bd951fbb5 mkdocs-bootswatch-0.1.0.tar.gz"
|