summaryrefslogtreecommitdiff
path: root/user/lesscpy/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'user/lesscpy/APKBUILD')
-rw-r--r--user/lesscpy/APKBUILD30
1 files changed, 30 insertions, 0 deletions
diff --git a/user/lesscpy/APKBUILD b/user/lesscpy/APKBUILD
new file mode 100644
index 000000000..dba0fced1
--- /dev/null
+++ b/user/lesscpy/APKBUILD
@@ -0,0 +1,30 @@
+# Contributor: A. Wilcox <awilfox@adelielinux.org>
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=lesscpy
+pkgver=0.13.0
+pkgrel=0
+pkgdesc="LESS language compiler, written in Python"
+url=" "
+arch="noarch"
+license="MIT"
+depends="python3 py3-ply py3-six"
+makedepends="python3-dev"
+subpackages=""
+source="lesscpy-$pkgver.tar.gz::https://github.com/lesscpy/lesscpy/archive/$pkgver.tar.gz"
+
+build() {
+ cd "$builddir"
+ python3 setup.py build
+}
+
+check() {
+ cd "$builddir"
+ python3 setup.py check
+}
+
+package() {
+ cd "$builddir"
+ python3 setup.py install --prefix=/usr --root="$pkgdir"
+}
+
+sha512sums="fc540e792dd5b094e284d23257ee48aef7c72cd1733a3d5ffa1ab87821db694c6ab3f2afc0d3b39b82bc5b8a8d52b496e5b413186c4190b6fd59eb687cd38014 lesscpy-0.13.0.tar.gz"