summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorCaleb Maclennan2021-05-18 10:43:19 +0300
committerCaleb Maclennan2021-05-18 10:43:19 +0300
commit2df62ddd1ddb8301dade13e7c30a57eb8b8d81c5 (patch)
tree80dcecd1f7a71dbf88cad9516e6b835fdc155d40 /PKGBUILD
downloadaur-2df62ddd1ddb8301dade13e7c30a57eb8b8d81c5.tar.gz
Initial upload: ftcli 0.1.1-1
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD31
1 files changed, 31 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..54b8e0ee932
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,31 @@
+# Maintainer: Caleb Maclennan <caleb@alerque.com>
+
+_upname=ftCLI
+pkgname=ftcli
+pkgver=0.1.1
+pkgrel=1
+pkgdesc='A command line font editor'
+arch=(any)
+url="https://github.com/$_upname/$_upname"
+license=('MIT')
+_py_deps=('colorama'
+ 'click'
+ 'brotli'
+ 'fonttools>=4.21.1'
+ 'skia-pathops'
+ 'zopfli')
+depends=('python'
+ "${_py_deps[@]/#/python-}")
+makedepends=('python-setuptools')
+source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
+sha256sums=('b3a21832df0ad169076acc12372fe918794f3465a682bbb6019b93d57889dd25')
+
+build() {
+ cd "$_upname-$pkgver"
+ python setup.py build
+}
+
+package() {
+ cd "$_upname-$pkgver"
+ python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+}