summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorTassos (nakano) Natsakis2019-02-22 14:56:05 +0200
committerTassos (nakano) Natsakis2019-02-22 14:56:05 +0200
commit2805476aa1293a914cd57173e0e5c483e3cd5065 (patch)
tree17a13c2b53cd9a3089c6a3416ec62b640ababc42
downloadaur-2805476aa1293a914cd57173e0e5c483e3cd5065.tar.gz
Creating the standardebooks package
-rw-r--r--.SRCINFO12
-rw-r--r--PKGBUILD19
2 files changed, 31 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..783274eb31a
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,12 @@
+pkgbase = python-standardebooks
+ pkgdesc = The toolset used to produce Standard Ebooks epub ebooks.
+ pkgver = 1.0.1
+ pkgrel = 1
+ url = https://standardebooks.org
+ arch = any
+ license = GPLv3
+ makedepends = python
+ makedepends = python-pip
+
+pkgname = python-standardebooks
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..85c9b1be2b4
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,19 @@
+# PKGBUILD generated by pipman
+# Python package author: Standard Ebooks <standardebooks@googlegroups.com>
+# Maintainer: Tassos Natsakis <7712382@eipieq.com>
+pkgname=python-standardebooks
+pkgver=1.0.1
+pkgrel=1
+pkgdesc="The toolset used to produce Standard Ebooks epub ebooks."
+arch=(any)
+url="https://standardebooks.org"
+license=(GPLv3)
+makedepends=("python" "python-pip")
+build() {
+ pip install --no-deps --target="standardebooks" standardebooks==1.0.1
+}
+package() {
+ sitepackages=$(python -c "import site; print(site.getsitepackages()[0])")
+ mkdir -p $pkgdir/"$sitepackages"
+ cp -r $srcdir/standardebooks/* $pkgdir/"$sitepackages"
+}