summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO14
-rw-r--r--PKGBUILD28
2 files changed, 42 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..bf3c7903951
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,14 @@
+pkgbase = python-alabaster
+ pkgdesc = A configurable sidebar-enabled Sphinx theme.
+ pkgver = 0.7.12
+ pkgrel = 1
+ url = https://alabaster.readthedocs.io/
+ arch = any
+ license = BSD
+ makedepends = python-setuptools
+ depends = python
+ source = python-alabaster-0.7.12.tar.gz::https://github.com/bitprophet/alabaster/archive/0.7.12.tar.gz
+ sha256sums = 2f413c2a7e16f6b18d38f86a236b89e50e5f6ca79094ff948e5e58828f95c430
+
+pkgname = python-alabaster
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..0d0fdc29feb
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,28 @@
+# python-alabaster
+
+# Maintainer: Andrea Feletto <andrea@andreafeletto.com>
+
+pkgname=python-alabaster
+_pkgname=${pkgname#*-}
+pkgver=0.7.12
+pkgrel=1
+pkgdesc='A configurable sidebar-enabled Sphinx theme.'
+arch=('any')
+url='https://alabaster.readthedocs.io/'
+license=('BSD')
+depends=('python')
+makedepends=('python-setuptools')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/bitprophet/alabaster/archive/$pkgver.tar.gz")
+sha256sums=('2f413c2a7e16f6b18d38f86a236b89e50e5f6ca79094ff948e5e58828f95c430')
+
+build() {
+ cd "$srcdir/$_pkgname-$pkgver"
+ python setup.py build
+}
+
+package() {
+ cd "$srcdir/$_pkgname-$pkgver"
+ python setup.py install --optimize=1 --prefix=/usr --root="$pkgdir" --skip-build
+ install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
+