summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorkokkiemouse2020-10-18 14:45:18 +0900
committerkokkiemouse2020-10-18 14:45:18 +0900
commite72c4011de343262fe2668275cdd4bd5e82553b0 (patch)
tree80f6fb614bd9469e1ffa2b77e5c2fc17ba4fcb92 /PKGBUILD
downloadaur-libworld.tar.gz
1st
Signed-off-by: kokkiemouse <kokkiemouse@gmail.com>
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD15
1 files changed, 15 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..5de3b0d6c5f
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,15 @@
+pkgname=libworld
+pkgdesc="NEUTRINO WORLD Library"
+pkgver=1.0.0
+arch=(any)
+pkgrel=0
+depends=(clang)
+makedepends=(cmake ninja)
+source=("git+https://github.com/kokkiemouse/World.git")
+md5sums=(SKIP)
+package() {
+ cd "$srcdir/World/"
+ cd build
+ cmake .. -GNinja -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_INSTALL_PREFIX="$pkgdir/usr"
+ ninja install
+}