diff options
-rw-r--r-- | .SRCINFO | 18 | ||||
-rw-r--r-- | PKGBUILD | 38 |
2 files changed, 56 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..e566f70da908 --- /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 000000000000..84527b7c3fb2 --- /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 +} |