summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDimitris Kiziridis2020-06-18 16:20:26 +0300
committerDimitris Kiziridis2020-06-18 16:20:26 +0300
commit530eaa9ab1abd5d977382940b1142ff2f500f214 (patch)
tree347ed4eee77475c27ca95d1a22abd5bcdb8bff45
downloadaur-530eaa9ab1abd5d977382940b1142ff2f500f214.tar.gz
Initial commit
-rw-r--r--.SRCINFO18
-rw-r--r--PKGBUILD30
2 files changed, 48 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..57250bfae42
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,18 @@
+pkgbase = clip
+ pkgdesc = Create charts and diagrams using a CSS-like language
+ pkgver = 0.7
+ pkgrel = 1
+ url = https://clip-lang.org
+ arch = x86_64
+ license = Apache
+ makedepends = cmake
+ makedepends = freetype2
+ makedepends = harfbuzz
+ depends = fmt
+ depends = cairo
+ depends = fribidi
+ source = clip-0.7.tar.gz::https://github.com/asmuth/clip/archive/v0.7.tar.gz
+ sha256sums = f38f455cf3e9201614ac71d8a871e4ff94a6e4cf461fd5bf81bdf457ba2e6b3e
+
+pkgname = clip
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..9d009351b03
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,30 @@
+# Maintainer: Dimitris Kiziridis <ragouel at outlook dot com>
+
+pkgname=clip
+pkgver=0.7
+pkgrel=1
+pkgdesc='Create charts and diagrams using a CSS-like language'
+arch=('x86_64')
+url='https://clip-lang.org'
+license=('Apache')
+depends=('fmt'
+ 'cairo'
+ 'fribidi')
+makedepends=('cmake' 'freetype2' 'harfbuzz')
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/asmuth/clip/archive/v${pkgver}.tar.gz")
+sha256sums=('f38f455cf3e9201614ac71d8a871e4ff94a6e4cf461fd5bf81bdf457ba2e6b3e')
+
+build() {
+ cd "${pkgname}-${pkgver}"
+ rm -rf build
+ mkdir build
+ cd build
+ cmake -DCMAKE_INSTALL_PREFIX=/usr ..
+ make
+}
+
+package() {
+ cd "${pkgname}-${pkgver}/build"
+ make DESTDIR="${pkgdir}" install
+}
+# vim:set ts=2 sw=2 et: \ No newline at end of file