summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDacoda Strack2017-02-27 23:14:06 -0800
committerDacoda Strack2017-02-27 23:14:06 -0800
commit054ef13912c5388d97fc782df905f851a2b054cc (patch)
treeefb233b7720d6ded182a86859ea62316b0e7773d
downloadaur-054ef13912c5388d97fc782df905f851a2b054cc.tar.gz
initial commit
-rw-r--r--.SRCINFO11
-rw-r--r--PKGBUILD37
2 files changed, 48 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..86d54b8c33b
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,11 @@
+pkgbase = cl-zpb-ttf
+ pkgdesc = Use truetype fonts in common lisp
+ pkgver = 1.0.3
+ pkgrel = 1
+ arch = any
+ license = custom:unknown
+ source = git+https://github.com/xach/zpb-ttf.git#commit=6c791440ea9eae584f3f98caeda0ea011fdde132
+ md5sums = SKIP
+
+pkgname = cl-zpb-ttf
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..9564a8aec12
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,37 @@
+# Maintainer: Dacoda Strack <dacoda.strack@gmail.com>
+
+pkgname=cl-zpb-ttf
+pkgver=1.0.3
+pkgrel=1
+pkgdesc="Use truetype fonts in common lisp"
+arch=('any')
+url=""
+license=('custom:unknown')
+source=("git+https://github.com/xach/zpb-ttf.git#commit=6c791440ea9eae584f3f98caeda0ea011fdde132")
+md5sums=('SKIP')
+
+pkgver() {
+ cd ${pkgname#cl-}
+ echo $(cat zpb-ttf.asd | grep version | sed -e 's/ :version \"\(.*\)\"/\1/')
+}
+
+package() {
+ cd ${pkgname#cl-}
+
+ # Install documentation
+ install -d ${pkgdir}/usr/share/doc/$pkgname/
+ install -m644 doc/index.html ${pkgdir}/usr/share/doc/$pkgname/
+ install -m644 doc/lambda.png ${pkgdir}/usr/share/doc/$pkgname/
+
+ # Install source and *.asd files
+ install -d ${pkgdir}/usr/share/common-lisp/source/${pkgname}
+
+ install -m 644 -t ${pkgdir}/usr/share/common-lisp/source/${pkgname} *.lisp
+ install -m 644 -t ${pkgdir}/usr/share/common-lisp/source/${pkgname} *.asd
+
+ # Link *.asd files appropriately
+ install -d ${pkgdir}/usr/share/common-lisp/systems
+
+ cd ${pkgdir}/usr/share/common-lisp/systems
+ ln -s ../source/${pkgname}/*.asd
+}