diff options
author | archibate | 2022-03-18 13:22:03 +0800 |
---|---|---|
committer | archibate | 2022-03-18 15:31:34 +0800 |
commit | 320c251814ccd62c8a4764ca5e5691886e94e7a6 (patch) | |
tree | e3ab76db2059959d4f417412b396b74870f34806 | |
download | aur-320c251814ccd62c8a4764ca5e5691886e94e7a6.tar.gz |
initial commit
-rw-r--r-- | .SRCINFO | 16 | ||||
-rw-r--r-- | .gitignore | 4 | ||||
-rw-r--r-- | PKGBUILD | 28 |
3 files changed, 48 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..66ace57b4419 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,16 @@ +pkgbase = zeno + pkgdesc = Open-source node system framework for simulation and others + pkgver = 0.0.1 + pkgrel = 1 + url = https://gitee.com/zenustech/zeno + arch = x86_64 + license = MPL2 + makedepends = git + makedepends = gcc + makedepends = cmake + makedepends = ninja + depends = qt5-base + source = /source::git+https://gitee.com/zenustech/zeno.git + md5sums = SKIP + +pkgname = zeno diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..e4f9ba3007cf --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +* +!.SRCINFO +!PKGBUILD +!.gitignore diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..c9b91ebffdaa --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,28 @@ +# Maintainer: Yubin Peng <1931127624@qq.com> +pkgname=zeno +pkgver=0.0.1 +pkgrel=1 +pkgdesc="Open-source node system framework for simulation and others" +arch=('x86_64') +url='https://gitee.com/zenustech/zeno' +license=('MPL2') +depends=("qt5-base") +makedepends=("git" "gcc" "cmake" "ninja") +optdepends=() +source=("${srcdir}/source::git+${url}.git") +noextract=() +md5sums=('SKIP') + +prepare() { + rm -rf ${pkgname}-${pkgver} + mkdir -p ${pkgname}-${pkgver} + mv source ${pkgname}-${pkgver} +} + +package() { + cd ${pkgname}-${pkgver} + cd source + cmake -G Ninja -B build -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX="${pkgdir}" + cmake --build build + cmake --build build --target install +} |