diff options
author | Vinícius dos Santos Oliveira | 2015-06-14 02:20:02 -0300 |
---|---|---|
committer | Vinícius dos Santos Oliveira | 2015-06-14 02:20:02 -0300 |
commit | 98118262b39dddc91c0813b56d115d324571d094 (patch) | |
tree | 54bab97cb07d82b493842ff42f936c9a87c3d792 | |
download | aur-98118262b39dddc91c0813b56d115d324571d094.tar.gz |
Genesis commit
-rw-r--r-- | .SRCINFO | 15 | ||||
-rw-r--r-- | PKGBUILD | 34 |
2 files changed, 49 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..c8a8675df924 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,15 @@ +pkgbase = tufao + pkgdesc = An asynchronous web framework for C++ built on top of Qt + pkgver = 1.2.2 + pkgrel = 1 + url = https://github.com/vinipsmaker/tufao + arch = i686 + arch = x86_64 + license = LGPL2 + makedepends = cmake + depends = qt5-base + source = https://github.com/vinipsmaker/tufao/archive/1.2.2.tar.gz + md5sums = a47d6a37cd1e858e7270eb2d692e7323 + +pkgname = tufao + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..c7d062b9d72c --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,34 @@ +# Maintainer: Vinícius dos Santos Oliveira <vini.ipsmaker@gmail.com> +pkgname=tufao +pkgver=1.2.2 +pkgrel=1 +pkgdesc="An asynchronous web framework for C++ built on top of Qt" +arch=('i686' 'x86_64') +url="https://github.com/vinipsmaker/tufao" +license=('LGPL2') +depends=('qt5-base') +makedepends=('cmake') +source=("https://github.com/vinipsmaker/tufao/archive/${pkgver}.tar.gz") +md5sums=('a47d6a37cd1e858e7270eb2d692e7323') + +build() { + mkdir -p "${srcdir}/tufao-${pkgver}/build" + cd "${srcdir}/tufao-${pkgver}/build" + cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release \ + -DENABLE_TESTS=ON .. + make +} + +check() { + cd "${srcdir}/tufao-${pkgver}/build" + make tests + + # Uncomment the following line to help Tufão development by sending info + # about build status + #make Experimental +} + +package() { + cd "${srcdir}/tufao-${pkgver}/build" + make DESTDIR="$pkgdir" install +} |