summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Devaine2015-06-16 00:52:34 +0200
committerMax Devaine2015-06-16 00:52:34 +0200
commit64f2d6b6b47d7b3362077ce02b2b9e7c6e5b0c9d (patch)
tree38ad6b20bd6a88b8fcb2fbf4a65fafa555910f1f
downloadaur-64f2d6b6b47d7b3362077ce02b2b9e7c6e5b0c9d.tar.gz
Initial import
-rw-r--r--.SRCINFO14
-rw-r--r--PKGBUILD46
2 files changed, 60 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..aa9e97ae0f3
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,14 @@
+pkgbase = code-eli-git
+ pkgdesc = Collection of C++ libraries that provide a variety of functionalities.
+ pkgver = 20140913
+ pkgrel = 1
+ url = https://github.com/ddmarshall/Code-Eli
+ arch = i686
+ arch = x86_64
+ license = EPL 1.0
+ makedepends = cmake
+ makedepends = git
+ provides = code-eli
+
+pkgname = code-eli-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..15646fb2f05
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,46 @@
+# Contributor: Max Devaine <max@devaine.cz>
+
+pkgname=code-eli-git
+pkgver=20140913
+pkgrel=1
+pkgdesc='Collection of C++ libraries that provide a variety of functionalities.'
+arch=(i686 x86_64)
+url='https://github.com/ddmarshall/Code-Eli'
+license=('EPL 1.0')
+makedepends=('cmake' 'git')
+depends=('')
+provides=('code-eli')
+conflicts=('')
+groups=('')
+
+_gitroot="https://github.com/ddmarshall/Code-Eli.git"
+_gitname="Code-Eli"
+
+build() {
+ cd "$srcdir"
+ msg "Connecting to GIT server...."
+
+ if [ -d "$srcdir/$_gitname" ] ; then
+ cd $_gitname && git pull origin
+ msg "The local files are updated."
+ else
+ git clone $_gitroot
+ fi
+
+ msg "GIT checkout done or server timeout"
+
+ msg "Configure Code-Eli..."
+ cd "$srcdir/$_gitname/"
+
+ cmake . -DCMAKE_PREFIX_PATH='/usr' -DCMAKE_INSTALL_PREFIX='/usr'
+
+}
+
+
+package() {
+ mkdir $pkgdir/usr
+ cp -a $srcdir/$_gitname/include $pkgdir/usr/
+ chown -R root:root $pkgdir/usr
+ chmod -R 755 $pkgdir/usr
+}
+