summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--.build.yml2
-rw-r--r--build.zig18
-rw-r--r--src/main.zig18
3 files changed, 37 insertions, 1 deletions
diff --git a/.build.yml b/.build.yml
index 799b832..11b6b8a 100644
--- a/.build.yml
+++ b/.build.yml
@@ -3,7 +3,7 @@ packages:
   - openal
   - zig
 sources:
-  - https://git.sr.ht/~cnx/zig
+  - https://git.sr.ht/~cnx/zeal
 tasks:
   - build: |
       cd zeal
diff --git a/build.zig b/build.zig
index 7acf2a6..6a92ebe 100644
--- a/build.zig
+++ b/build.zig
@@ -1,3 +1,21 @@
+// Build recipe
+// Copyright (C) 2021  Nguyễn Gia Phong
+//
+// This file is part of zeal.
+//
+// Zeal is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Lesser General Public License as published
+// by the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// Zeal is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+// GNU Lesser General Public License for more details.
+//
+// You should have received a copy of the GNU Lesser General Public License
+// along with zeal.  If not, see <https://www.gnu.org/licenses/>.
+
 const std = @import("std");
 
 pub fn build(b: *std.build.Builder) void {
diff --git a/src/main.zig b/src/main.zig
index 61986ba..159ab24 100644
--- a/src/main.zig
+++ b/src/main.zig
@@ -1,3 +1,21 @@
+// Zig easy audio library
+// Copyright (C) 2021  Nguyễn Gia Phong
+//
+// This file is part of zeal.
+//
+// Zeal is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Lesser General Public License as published
+// by the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// Zeal is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+// GNU Lesser General Public License for more details.
+//
+// You should have received a copy of the GNU Lesser General Public License
+// along with zeal.  If not, see <https://www.gnu.org/licenses/>.
+
 const alc = @import("alc.zig");
 
 pub fn init() !void {