summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO17
-rw-r--r--PKGBUILD35
2 files changed, 52 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..2df2b9141ee
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,17 @@
+pkgbase = silluq-git
+ pkgdesc = Tool for simply versifying markdown urtext and checking citation completion
+ pkgver = VERSION
+ pkgrel = 1
+ url = https://github.com/Beacon515L/silluq
+ arch = i686
+ arch = x86_64
+ license = GPL
+ makedepends = git
+ makedepends = cmake
+ provides = silluq-git
+ conflicts = silluq
+ source = git+https://github.com/Beacon515L/silluq.git
+ md5sums = SKIP
+
+pkgname = silluq-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..33bf90942ee
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,35 @@
+# Maintainer: Liam Greenough <beacon515@gmail.com>
+pkgname=silluq-git
+pkgver=VERSION
+pkgrel=1
+pkgdesc="Tool for simply versifying markdown urtext and checking citation completion"
+arch=('i686' 'x86_64')
+url="https://github.com/Beacon515L/silluq"
+license=('GPL')
+groups=()
+depends=()
+makedepends=('git' 'cmake')
+provides=("silluq-git")
+conflicts=("silluq")
+source=('git+https://github.com/Beacon515L/silluq.git')
+md5sums=('SKIP')
+
+pkgver() {
+ cd "$srcdir/silluq"
+
+ printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+}
+
+build() {
+ cd "$srcdir/silluq"
+ cmake .
+ make
+ chmod +x silluq
+}
+
+package() {
+ cd "$srcdir/silluq"
+ mkdir "$pkgdir/usr"
+ mkdir "$pkgdir/usr/bin/"
+ cp silluq "$pkgdir/usr/bin/"
+}