summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichał Walenciak2015-06-08 17:41:14 +0200
committerMichał Walenciak2015-06-08 17:41:14 +0200
commit47e4b0828b559513e2c542afbe4b51fd04a7478a (patch)
treedb284c526547855d1480b10bef28dcb3ca292338
downloadaur-47e4b0828b559513e2c542afbe4b51fd04a7478a.tar.gz
Initial import
-rw-r--r--.SRCINFO18
-rw-r--r--PKGBUILD38
2 files changed, 56 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..e566f70da90
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,18 @@
+pkgbase = openlibrary
+ pkgdesc = Set of various toolkits
+ pkgver = 2.0.0
+ pkgrel = 3
+ url = https://github.com/Kicer86/openlibrary
+ arch = i686
+ arch = x86_64
+ license = LGPL3
+ makedepends = flex
+ makedepends = bison
+ makedepends = boost
+ makedepends = cmake
+ depends = qt5-base
+ source = https://codeload.github.com/Kicer86/openlibrary/tar.gz/v2.0.0
+ md5sums = e4a0572c2c65504876e5a77bead87f4e
+
+pkgname = openlibrary
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..84527b7c3fb
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,38 @@
+# Maintainer: Michał Walenciak <kicer86@gmail.com>
+pkgname=openlibrary
+pkgver=2.0.0
+pkgrel=3
+pkgdesc="Set of various toolkits"
+arch=('i686' 'x86_64')
+url="https://github.com/Kicer86/openlibrary"
+license=('LGPL3')
+groups=()
+depends=('qt5-base')
+makedepends=('flex' 'bison' 'boost' 'cmake')
+optdepends=()
+provides=()
+conflicts=()
+replaces=()
+backup=()
+options=()
+install=
+changelog=
+source=(https://codeload.github.com/Kicer86/$pkgname/tar.gz/v$pkgver)
+noextract=()
+md5sums=('e4a0572c2c65504876e5a77bead87f4e')
+
+build()
+{
+ cd "$pkgname-$pkgver"
+ mkdir -p build
+ cd build
+ cmake .. -DCMAKE_INSTALL_PREFIX=/usr
+ make
+}
+
+package()
+{
+ cd "$pkgname-$pkgver"
+ cd build
+ make DESTDIR="$pkgdir/" install
+}